{
  "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": "topsoil-calculator",
  "category": "landscaping-outdoor",
  "title": "Topsoil Calculator",
  "description": "Estimate the topsoil needed for a garden bed or lawn area at a given fill depth, in cubic yards or cubic metres.",
  "url": "https://craftquantities.com/calculators/landscaping-outdoor/topsoil-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/topsoil-calculator.json",
  "inputCount": 3,
  "testCaseCount": 2,
  "sourceCount": 1,
  "lastVerified": "2026-09-05",
  "translations": {
    "es-US": "https://craftquantities.com/es/calculators/landscaping-outdoor/topsoil-calculator/"
  },
  "citation": {
    "author": "Craft Quantities",
    "title": "Topsoil Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-05",
    "url": "https://craftquantities.com/calculators/landscaping-outdoor/topsoil-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. Topsoil Calculator. Version 1.0.1. Sources checked 2026-09-05. https://craftquantities.com/calculators/landscaping-outdoor/topsoil-calculator/",
      "apa": "Craft Quantities. (2026). Topsoil Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/landscaping-outdoor/topsoil-calculator/",
      "harvard": "Craft Quantities (2026) Topsoil Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/landscaping-outdoor/topsoil-calculator/",
      "bibtex": "@misc{craftquantities-calculators-landscaping-outdoor-topsoil-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Topsoil Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/landscaping-outdoor/topsoil-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "areaLength",
      "label": "Area Length",
      "type": "number",
      "dimension": "length",
      "defaultValue": 3,
      "min": 0.01,
      "max": 50,
      "step": 0.1,
      "help": "The length of the garden bed or area."
    },
    {
      "id": "areaWidth",
      "label": "Area Width",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.2,
      "min": 0.01,
      "max": 50,
      "step": 0.1,
      "help": "The width of the garden bed or area."
    },
    {
      "id": "depth",
      "label": "Fill Depth",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.2032,
      "min": 0.01,
      "max": 0.6096,
      "step": 0.0127,
      "help": "6-12 in (15-30 cm) is typical for a new garden bed; shallower for topping up an existing lawn."
    }
  ],
  "sources": [
    {
      "label": "Garden beds commonly use 6-12 in of topsoil depth, deeper than typical mulch (2-4 in) or gravel base applications"
    }
  ],
  "testCases": [
    {
      "name": "3x1.2m bed, 8in depth",
      "inputs": {
        "areaLength": 3,
        "areaWidth": 1.2,
        "depth": 0.2032
      },
      "expected": 0.96,
      "toleranceDecimalPlaces": 1,
      "unit": "yd³",
      "confidence": "high",
      "steps": [
        {
          "label": "Area",
          "value": 3.5999999999999996,
          "unit": "m²"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "5x5m bed, 6in depth",
      "inputs": {
        "areaLength": 5,
        "areaWidth": 5,
        "depth": 0.1524
      },
      "expected": 4.98,
      "toleranceDecimalPlaces": 1,
      "unit": "yd³",
      "confidence": "high",
      "steps": [
        {
          "label": "Area",
          "value": 25,
          "unit": "m²"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ],
  "usedByAssemblies": [
    {
      "id": "landscape-bed",
      "name": "Landscape bed"
    }
  ]
}
