{
  "slug": "area",
  "title": "Area Calculator",
  "heading": "Area Calculator",
  "category": "math",
  "url": "https://www.revenuelab.fyi/toolbox/area",
  "summary": "Area of a rectangle, triangle, or circle.",
  "description": "Compute area for the most common shapes — pick one and enter dimensions.",
  "formula": null,
  "dateModified": "2026-10-03",
  "run_url": "https://www.revenuelab.fyi/api/public/calc?tool=area",
  "inputs": [
    {
      "id": "shape",
      "label": "Shape",
      "kind": "select",
      "hint": null,
      "default": "rectangle",
      "options": [
        {
          "value": "rectangle",
          "label": "Rectangle"
        },
        {
          "value": "triangle",
          "label": "Triangle"
        },
        {
          "value": "circle",
          "label": "Circle"
        }
      ]
    },
    {
      "id": "a",
      "label": "Dimension 1 (w / base / radius)",
      "kind": "number",
      "hint": null,
      "default": 5,
      "unit": null,
      "min": null,
      "max": null
    },
    {
      "id": "b",
      "label": "Dimension 2 (h / height, ignored for circle)",
      "kind": "number",
      "hint": null,
      "default": 3,
      "unit": null,
      "min": null,
      "max": null
    }
  ],
  "outputs": [
    {
      "id": "area",
      "label": "Area",
      "format": "decimal",
      "hint": null,
      "primary": true
    }
  ],
  "worked_example": {
    "inputs": [
      "Shape: Rectangle",
      "Dimension 1 (w / base / radius): 5",
      "Dimension 2 (h / height, ignored for circle): 3"
    ],
    "outputs": [
      "Area: 15"
    ]
  },
  "how_to": {
    "title": "How to use this",
    "steps": [
      "Enter shape.",
      "Enter dimension 1 (w / base / radius).",
      "Enter dimension 2 (h / height, ignored for circle).",
      "Read your area on the right — it updates as you type.",
      "Hit Share to keep the scenario or send it to someone."
    ]
  },
  "scenarios": [
    {
      "name": "Conservative",
      "description": "Lower-end numbers — what if things land soft?",
      "values": {
        "shape": "rectangle",
        "a": 3,
        "b": 1.7999999999999998
      }
    },
    {
      "name": "Typical",
      "description": "Defaults — the most common real-world setup.",
      "values": {
        "shape": "rectangle",
        "a": 5,
        "b": 3
      }
    },
    {
      "name": "Ambitious",
      "description": "Higher-end numbers — what if things really pop?",
      "values": {
        "shape": "rectangle",
        "a": 8,
        "b": 4.800000000000001
      }
    }
  ],
  "limitations": [
    "Results are rounded for display; the underlying calculation keeps full precision.",
    "Very large or very small inputs may hit floating-point limits in the browser.",
    "Inputs outside the accepted range are clamped rather than rejected."
  ],
  "faq": [
    {
      "q": "How does the area calculator work?",
      "a": "Compute area for the most common shapes — pick one and enter dimensions."
    },
    {
      "q": "What do I need to enter?",
      "a": "3 values: shape, dimension 1 (w / base / radius), and dimension 2 (h / height, ignored for circle). Each field starts with a sensible default, so you can change one number at a time and watch the result move."
    },
    {
      "q": "What does the area result mean?",
      "a": "It is returned as a decimal number and updates live as you edit the inputs, so you can compare two or three versions of a scenario in a few seconds."
    },
    {
      "q": "Is this calculator free, and do I need an account?",
      "a": "Yes, it's free, and no account is required. Nothing you type is stored on our servers — the maths runs entirely in your browser."
    },
    {
      "q": "How accurate is the result?",
      "a": "It applies the standard formula exactly, so the arithmetic is precise. Results are rounded for display; the underlying calculation keeps full precision."
    },
    {
      "q": "Who is this tool for?",
      "a": "It's built for students, developers, and anyone who needs the answer right now without setting up a spreadsheet."
    }
  ],
  "related": [
    "https://www.revenuelab.fyi/toolbox/volume",
    "https://www.revenuelab.fyi/toolbox/slope"
  ],
  "license": "CC-BY-4.0",
  "citation": "RevenueLab — Area Calculator (https://www.revenuelab.fyi/toolbox/area)"
}