{
  "version": "v1",
  "source": "https://craftquantities.com",
  "licence": "CC BY 4.0",
  "licenceUrl": "https://creativecommons.org/licenses/by/4.0/",
  "attribution": "Craft Quantities — craftquantities.com",
  "documentation": "https://craftquantities.com/api/",
  "versioning": "Fields are added, never removed or repurposed, within a version. A breaking change becomes /api/v2/ and v1 keeps being built.",
  "slug": "square-footage-calculator",
  "category": "measurements-conversions",
  "title": "Square Footage Calculator",
  "description": "Calculate the area of a rectangle, circle, or triangle, shown simultaneously in square feet, square meters, square yards, and acres.",
  "url": "https://craftquantities.com/calculators/measurements-conversions/square-footage-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/square-footage-calculator.json",
  "inputCount": 6,
  "testCaseCount": 3,
  "sourceCount": 1,
  "lastVerified": "2026-09-05",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/measurements-conversions/square-footage-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "Square Footage Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-05",
    "url": "https://craftquantities.com/calculators/measurements-conversions/square-footage-calculator/",
    "accessDate": null,
    "accessDateNote": "Add the date you retrieved this. It is deliberately absent: a static file cannot know when you read it, and the build date would be wrong.",
    "permanentVersionedUrl": null,
    "permanentVersionedUrlNote": "Not offered. This site keeps no archive of previous builds, so any such URL would resolve to the current page or to nothing. The version and sourcesChecked fields identify the calculation instead.",
    "formats": {
      "plain": "Craft Quantities. Square Footage Calculator. Version 1.0.1. Sources checked 2026-09-05. https://craftquantities.com/calculators/measurements-conversions/square-footage-calculator/",
      "apa": "Craft Quantities. (2026). Square Footage Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/measurements-conversions/square-footage-calculator/",
      "harvard": "Craft Quantities (2026) Square Footage Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/measurements-conversions/square-footage-calculator/",
      "bibtex": "@misc{craftquantities-calculators-measurements-conversions-square-footage-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Square Footage Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/measurements-conversions/square-footage-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "shape",
      "label": "Shape",
      "type": "select",
      "defaultValue": "rectangle",
      "options": [
        {
          "value": "rectangle",
          "label": "Rectangle"
        },
        {
          "value": "circle",
          "label": "Circle"
        },
        {
          "value": "triangle",
          "label": "Triangle"
        }
      ],
      "help": "Pick the shape that best matches your area."
    },
    {
      "id": "length",
      "label": "Length",
      "type": "number",
      "dimension": "length",
      "defaultValue": 4,
      "min": 0.01,
      "max": 100,
      "step": 0.1,
      "help": "The longer side of the rectangle."
    },
    {
      "id": "width",
      "label": "Width",
      "type": "number",
      "dimension": "length",
      "defaultValue": 3.5,
      "min": 0.01,
      "max": 100,
      "step": 0.1,
      "help": "The shorter side of the rectangle."
    },
    {
      "id": "diameter",
      "label": "Diameter",
      "type": "number",
      "dimension": "length",
      "defaultValue": 6,
      "min": 0.01,
      "max": 100,
      "step": 0.1,
      "help": "The full width across the circle through its center."
    },
    {
      "id": "base",
      "label": "Base",
      "type": "number",
      "dimension": "length",
      "defaultValue": 5,
      "min": 0.01,
      "max": 100,
      "step": 0.1,
      "help": "The bottom edge of the triangle."
    },
    {
      "id": "triangleHeight",
      "label": "Height",
      "type": "number",
      "dimension": "length",
      "defaultValue": 4,
      "min": 0.01,
      "max": 100,
      "step": 0.1,
      "help": "The perpendicular distance from the base to the opposite corner."
    }
  ],
  "sources": [
    {
      "label": "Standard geometry formulas: rectangle = L x W, circle = pi x r², triangle = 1/2 x base x height"
    }
  ],
  "testCases": [
    {
      "name": "Rectangle 4x3.5m",
      "inputs": {
        "shape": "rectangle",
        "length": 4,
        "width": 3.5,
        "diameter": 6,
        "base": 5,
        "triangleHeight": 4
      },
      "expected": 14,
      "toleranceDecimalPlaces": 2,
      "unit": "m²",
      "confidence": "high",
      "steps": [
        {
          "label": "Square feet",
          "value": 150.6947458339361,
          "unit": "sq ft"
        },
        {
          "label": "Square yards",
          "value": 16.743860648215122,
          "unit": "sq yd"
        },
        {
          "label": "Acres",
          "value": 0.00345947,
          "unit": "ac"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "Circle, 6m diameter",
      "inputs": {
        "shape": "circle",
        "length": 4,
        "width": 3.5,
        "diameter": 6,
        "base": 5,
        "triangleHeight": 4
      },
      "expected": 28.27,
      "toleranceDecimalPlaces": 1,
      "unit": "m²",
      "confidence": "high",
      "steps": [
        {
          "label": "Square feet",
          "value": 304.3423970013052,
          "unit": "sq ft"
        },
        {
          "label": "Square yards",
          "value": 33.81582188903391,
          "unit": "sq yd"
        },
        {
          "label": "Acres",
          "value": 0.006986729273987753,
          "unit": "ac"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "Triangle, base 5m height 4m",
      "inputs": {
        "shape": "triangle",
        "length": 4,
        "width": 3.5,
        "diameter": 6,
        "base": 5,
        "triangleHeight": 4
      },
      "expected": 10,
      "toleranceDecimalPlaces": 2,
      "unit": "m²",
      "confidence": "high",
      "steps": [
        {
          "label": "Square feet",
          "value": 107.63910416709722,
          "unit": "sq ft"
        },
        {
          "label": "Square yards",
          "value": 11.959900463010802,
          "unit": "sq yd"
        },
        {
          "label": "Acres",
          "value": 0.0024710500000000002,
          "unit": "ac"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ]
}
