Soil Calculator Formula
Understand the math behind the soil calculator. Each variable explained with a worked example.
Formulas Used
Cubic Yards Needed
cubic_yards = volume_cuft / 27Approximate Tons
tons = volume_cuft / 27 * 1.1Bags (1 cu ft)
bags_1cuft = ceil(volume_cuft)Variables
| Variable | Description | Default |
|---|---|---|
length | Length(ft) | 12 |
width | Width(ft) | 4 |
depth | Depth(in) | 8 |
volume_cuft | Derived value= length * width * depth / 12 | calculated |
How It Works
Soil Volume Calculation
Volume (cu ft) = L × W × Depth(in) / 12
Cubic Yards = Volume / 27
Topsoil weighs approximately 1.1 tons per cubic yard.
Worked Example
12×4 ft raised bed, 8 inches deep.
length = 12width = 4depth = 8
- 01Volume = 12 × 4 × 8/12 = 32 cu ft
- 02Cubic yards = 32 / 27 = 1.2 yards
- 03Tons = 1.2 × 1.1 = 1.3 tons
Ready to run the numbers?
Open Soil Calculator