Raised Bed & Garden Soil Calculator
Calculate garden-bed soil volume, estimate how many bags to buy, and optionally divide the volume into a soil blend.
Quick Answer
For a rectangular bed, multiply the internal length by width by the soil-fill depth using the same units, then convert the result to cubic feet or cubic yards. For a circular bed, multiply π by the radius squared and by the fill depth. One cubic yard equals 27 cubic feet. Bag counts are rounded up to whole bags.
Enter your details
Enter your details below to generate a custom recommendation.
Recommended Output
Rounded up to next whole bag
1 cubic yard = 27 cubic feet
The Problem
Gardeners need to estimate how much soil a raised bed or garden box holds, compare the volume with retail bag sizes, and optionally plan ingredient quantities for a chosen soil blend.
When to Use This Tool
When filling a new raised bed or garden box.,When topping up a bed after measuring the remaining depth to fill.,When converting bed dimensions into cubic feet or cubic yards.,When estimating the number of soil bags using a selected bag volume.,When dividing a planned soil volume among the ingredients in a selected blend.
Who is this for?
- US home gardeners filling raised beds and garden boxes
- Vegetable gardeners planning soil purchases
- Gardeners comparing bagged soil with bulk soil volume
- Gardeners preparing a soil blend from multiple ingredients
How to calculate soil volume for a raised bed
Measure the usable internal dimensions of the bed and the depth you intend to fill with soil. Use internal dimensions because the soil occupies the space inside the bed walls.
- Choose the bed shape: Select rectangular/square or circular.
- Enter the dimensions: For a rectangular bed, enter internal length, width, and soil-fill depth. For a circular bed, enter the internal diameter and depth.
- Review geometric volume: This is the volume of the space to be filled before any optional purchase allowance.
- Choose a bag size: Select a listed bag volume or enter a custom bag size. Actual product sizes vary, so check the bag label.
- Optionally add extra material: A user-selected allowance increases the estimated purchase quantity. It is a planning choice, not a universal settling factor.
- Choose a soil blend: If using a preset recipe, the calculator allocates the planned volume among its ingredients by relative parts.
Soil volume formulas
For a rectangular or square bed, volume equals internal length × internal width × soil-fill depth. For a circular bed, volume equals π × radius² × soil-fill depth, where radius is half the internal diameter. Keep all dimensions in the same unit before calculating.
One cubic yard equals 27 cubic feet. A bag count is calculated by dividing the purchase-planning volume by the selected bag volume and rounding up to the next whole bag.
Choosing a bag size
Bag sizes vary by material, product, and retailer. Use the volume printed on the bag rather than assuming every topsoil, compost, or raised-bed mix uses the same size. If your bag size is not listed, select Custom and enter its volume in cubic feet.
Optional extra-material allowance
The allowance is an optional purchase-planning buffer for factors such as spillage, uneven filling, or a planned top-up. It is separate from the geometric volume and should not be interpreted as a universal recommendation for soil settlement or compaction.
Using a soil blend
Recipe presets divide the planned volume by relative ingredient parts. For example, a 60/30/10 blend allocates 60% to topsoil, 30% to compost, and 10% to an aeration material. These are planning ratios, not guaranteed growing-media prescriptions; select ingredients based on the plants, local materials, drainage, and soil guidance appropriate to your garden.
Bagged soil or bulk delivery?
Compare the total cost of the required bag volume with a local bulk quote that includes delivery and any minimum order. There is no universal volume at which bulk soil is always cheaper; the break-even point depends on local prices, delivery charges, and the product being purchased.
Calculating topsoil, fill dirt, and garden soil
Whether calculating bulk topsoil, specialized garden blends, or fill dirt, the volume formula is identical: multiply internal length by width by depth. One cubic yard always equals 27 cubic feet. For standard bed sizes such as a 4 × 8 ft bed (32 ft³ or ~1.19 yd³) or a 4 × 4 ft bed (16 ft³ or ~0.59 yd³), use our quick presets above.
Need guidance on soil depth, settling allowances, or bag count tables? Read our companion guide on How Much Soil Do I Need for a Raised Bed. If you are blending topsoil, compost, and aeration amendments, explore our guide to the Best Soil Mix for Raised Beds.
What this calculator does not estimate
The calculator estimates volume, not weight. Soil and compost weight vary substantially with composition, particle size, and moisture content, so a reliable weight estimate requires material-specific density information.
Recommended next actions
Next Best Actions
Use the result in a real care workflow with plant profiles, guides, and personalized quizzes.
Calculator
Potting Mix Calculator: Build the Perfect Soil Blend
Calculate the ideal potting mix ratios for any plant type — from moisture-loving tropicals to drought-tolerant succulents.
Calculator
Mulch Calculator: How Much Bark or Chips Do You Need?
Know exactly how many bags or cubic yards of mulch to buy. Save money and time with precise calculations for any garden shape.
Calculator
Compost Calculator: How Much Do You Need?
Get the perfect compost volume for your garden in seconds. No more excess bags or weak amendments – tailored for your soil type (sand, clay, loam).
Troubleshooting & Diagnostics Guide
1 The result seems too large
Diagnosis: The entered depth may include the full outside bed height or space that will not be filled with soil.
Treatment: Use internal dimensions and enter only the depth that will actually contain soil.
2 The bag count differs from a store estimate
Diagnosis: The product may use a different bag volume, or the estimate may include an optional extra-material allowance.
Treatment: Check the volume printed on the product bag, select the matching bag size or enter a custom size, and review the allowance field.
3 A circular bed result seems incorrect
Diagnosis: The diameter may have been entered as the radius, or dimensions may have been entered in mixed units.
Treatment: Enter the full internal diameter and keep length and depth units consistent with the selected unit system.
Glossary of Terms
- Cubic Foot
- A volume unit equal to a cube measuring one foot on each side.
- Cubic Yard
- A volume unit equal to 27 cubic feet.
- Purchase Allowance
- An optional additional quantity chosen for planning. It is not the same as geometric volume and is not a universal settlement factor.
- Soil Blend
- A growing-medium mixture made from ingredients in selected relative proportions. The suitability of a blend depends on ingredient properties and the plants being grown.