{
  "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": "raised-garden-bed-soil-calculator",
  "category": "materials-quantities",
  "title": "Raised Garden Bed Soil Calculator",
  "description": "Estimate how many bags of soil you need to fill a raised garden bed.",
  "url": "https://craftquantities.com/calculators/materials-quantities/raised-garden-bed-soil-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/raised-garden-bed-soil-calculator.json",
  "inputCount": 3,
  "testCaseCount": 2,
  "sourceCount": 1,
  "lastVerified": "2026-09-02",
  "citation": {
    "author": "Craft Quantities",
    "title": "Raised Garden Bed Soil Calculator",
    "version": "1.0.1",
    "sourcesChecked": "2026-09-02",
    "url": "https://craftquantities.com/calculators/materials-quantities/raised-garden-bed-soil-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. Raised Garden Bed Soil Calculator. Version 1.0.1. Sources checked 2026-09-02. https://craftquantities.com/calculators/materials-quantities/raised-garden-bed-soil-calculator/",
      "apa": "Craft Quantities. (2026). Raised Garden Bed Soil Calculator (Version 1.0.1) [Web calculator]. Retrieved from https://craftquantities.com/calculators/materials-quantities/raised-garden-bed-soil-calculator/",
      "harvard": "Craft Quantities (2026) Raised Garden Bed Soil Calculator (Version 1.0.1). Available at: https://craftquantities.com/calculators/materials-quantities/raised-garden-bed-soil-calculator/",
      "bibtex": "@misc{craftquantities-calculators-materials-quantities-raised-garden-bed-soil-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Raised Garden Bed Soil Calculator},\n  version      = {1.0.1},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/materials-quantities/raised-garden-bed-soil-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "bedLength",
      "label": "Bed Length",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.2,
      "min": 0.01,
      "max": 10,
      "step": 0.05,
      "help": "The length of the raised bed."
    },
    {
      "id": "bedWidth",
      "label": "Bed Width",
      "type": "number",
      "dimension": "length",
      "defaultValue": 1.2,
      "min": 0.01,
      "max": 10,
      "step": 0.05,
      "help": "The width of the raised bed."
    },
    {
      "id": "bedHeight",
      "label": "Bed Height (Fill Depth)",
      "type": "number",
      "dimension": "length",
      "defaultValue": 0.3,
      "min": 0.01,
      "max": 1,
      "step": 0.01,
      "help": "The depth of soil you're filling, which may be less than the full bed wall height."
    }
  ],
  "sources": [
    {
      "label": "Soil volume = bed length x width x height; a standard bagged garden soil or potting mix bag holds about 1.5 cubic ft in North America, while metric markets sell compost and topsoil in 50 litre bags (40 L and 60 L are also common)"
    }
  ],
  "testCases": [
    {
      "name": "1.2x1.2m bed, 0.3m deep",
      "inputs": {
        "bedLength": 1.2,
        "bedWidth": 1.2,
        "bedHeight": 0.3
      },
      "expected": 11,
      "toleranceDecimalPlaces": 0,
      "unit": "x 1.5 ft³ bags",
      "confidence": "high",
      "steps": [
        {
          "label": "Soil volume",
          "value": 15.255936023683068,
          "unit": "ft³"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    },
    {
      "name": "2.4x1.2m bed, 0.3m deep",
      "inputs": {
        "bedLength": 2.4,
        "bedWidth": 1.2,
        "bedHeight": 0.3
      },
      "expected": 21,
      "toleranceDecimalPlaces": 0,
      "unit": "x 1.5 ft³ bags",
      "confidence": "high",
      "steps": [
        {
          "label": "Soil volume",
          "value": 30.511872047366136,
          "unit": "ft³"
        }
      ],
      "basis": "sole-source",
      "sourceIndex": 0
    }
  ]
}
