Home & DIY / calculator
Soil calculator
Estimate soil for multiple raised beds or planters using internal dimensions, unfilled depth, allowances and bag sizes. Compare bagged and bulk material costs.
Calculator
Calculator
Plan soil for beds and planters.
Measure internal dimensions. Choose unfilled depth or subtract existing fill once. Bag and bulk prices use your currency.
Your result
Enter details to see the result.
Complete the inputs and calculate to see the main result and its supporting breakdown.
Example
Worked example
Example inputs
- Dimensions unit
- m
- Depth unit
- cm
- Depth calculation
- Direct unfilled depth
- Section name
- Section
- Internal length (m)
- 2
- Internal width (m)
- 1
- Unfilled depth (cm)
- 20
- Bag-volume preset
- 50 L
- Package volume unit
- L
- Bag/package volume (L)
- 50
- Bulk price volume unit
- m³
Calculation breakdown
Each bed volume = internal length × internal width × unfilled depth. Remaining depth = target depth − existing fill only in subtraction mode. Purchasing volume = summed volume × (1 + allowance/100). Bags = ceil(purchasing volume / bag volume).
- Geometric soil volume
- 400 L / 0.4 m³ / 14.1259 ft³ / 0.5232 yd³
- Allowance added
- 0 L / 0 m³ / 0 ft³ / 0 yd³
- Purchasing soil volume
- 400 L / 0.4 m³ / 14.1259 ft³ / 0.5232 yd³
- Surplus after bag rounding
- 0 L / 0 m³ / 0 ft³ / 0 yd³
Example result
Whole bags
8 bags
How to interpret the result
Geometric volume represents the unfilled internal space. Purchasing volume adds only your entered allowance; whole bags may supply a surplus. Target-depth mode subtracts existing fill once, and no soil weight is inferred.
Soil by bed
| Bed | Unfilled volume |
|---|---|
| Section | 400 L / 0.4 m³ / 14.1259 ft³ / 0.5232 yd³ |
How to use this calculator
- Choose dimension and depth units; select direct unfilled depth or target minus existing fill.
- Add each bed using internal dimensions. In subtraction mode, enter existing fill once.
- Open allowance, bags and prices to select a bag preset or custom volume; calculate volumes, whole bags and optional material costs.
How it works
Formula
Each bed volume = internal length × internal width × unfilled depth. Remaining depth = target depth − existing fill only in subtraction mode. Purchasing volume = summed volume × (1 + allowance/100). Bags = ceil(purchasing volume / bag volume).
How many 50 L soil bags fill a 2 m × 1 m bed 20 cm deep?
The geometric volume is 400 L. A 10% allowance gives 440 L, so round 440/50 up to 9 bags. The bags supply 450 L, leaving 10 L above the purchasing estimate.
What this calculator does
Measure inside each planter. Enter the space still to fill directly, or choose a target soil depth and subtract existing fill once. Compare the resulting litres with the bags you can buy.
Who this is useful for
Gardeners and DIY landscapers estimating soil volume for a rectangular raised bed, planter, or level area.
Inputs you will need
Required or selected inputs
- Dimensions unit
- Depth unit
- Depth calculation
- Section name
- Internal length (m)
- Internal width (m)
- Unfilled depth (cm)
- Bag-volume preset
- Package volume unit
- Bulk price volume unit
Optional inputs
- Additional material allowance (%) — Blank means 0%. Added to geometric quantity; compaction is not inferred.
- Bag/package volume (L)
- Price per package (your currency)
- Price per bulk unit (your currency)
Assumptions
- Rectangular internal spaces with uniform fill depth. Blank allowance means 0%; no allowance is silently added.
- Bag sizes are editable volume examples, not density assumptions. Soil is not converted to weight.
Limitations
- Irregular beds, settlement, moisture and drainage layers require your own measurements or allowance. Supplier bag labels and delivered bulk quantities can differ.
Useful next steps
Estimate a separate top mulch layer with Mulch calculator.
For general rectangular container capacity, use Volume calculator.
See how HandyChest handles units, validation, rounding, and testing, or Report a problem with this calculator.
Good to know
Frequently asked questions
Should I subtract existing soil from unfilled depth?
No. Direct unfilled depth already represents the remaining space. Existing fill is subtracted only in the separate target-depth mode.
Keep going