How to use the dirt calculator
- Pick the shape of the area and enter its dimensions in any unit.
- Enter the fill depth. For an uneven hole, measure the depth in several spots and use the average.
- Set the compaction allowance (15% is a safe default) and, if you know it, the price per yard or ton.
Fill dirt formula
cubic yards = length (ft) × width (ft) × depth (ft) × (1 + compaction %) ÷ 27
tons = cubic yards × weight per yard
Worked example
Raising a 20 × 30 ft area by 6 inches, with 15% for compaction:
- Volume: 20 × 30 × 0.5 ft = 300 cu ft
- Add 15%: 300 × 1.15 = 345 cu ft = 12.78 cubic yards
- Weight at 1.2 t/yd³: 15.3 tons — about 460 bags if bought in 0.75 cu ft bags, so bulk delivery makes far more sense
Cubic yards of dirt by area and depth
| Area | 2" deep | 4" deep | 6" deep | 12" deep |
|---|---|---|---|---|
| 10 × 10 ft (100 sq ft) | 0.62 | 1.23 | 1.85 | 3.7 |
| 10 × 20 ft (200 sq ft) | 1.23 | 2.47 | 3.7 | 7.41 |
| 20 × 20 ft (400 sq ft) | 2.47 | 4.94 | 7.41 | 14.81 |
| 20 × 40 ft (800 sq ft) | 4.94 | 9.88 | 14.81 | 29.63 |
| 50 × 50 ft (2,500 sq ft) | 15.43 | 30.86 | 46.3 | 92.59 |
| 100 × 100 ft (10,000 sq ft) | 61.73 | 123.46 | 185.19 | 370.37 |
How much dirt for a raised garden bed?
For a garden bed, enter the bed's length and width and its depth as the fill depth. Raised beds are usually filled with a soil mix rather than fill dirt, and a 10–15% extra allowance covers settling after the first watering.
| Bed size | Cubic feet | Cubic yards | 1.5 cu ft bags |
|---|---|---|---|
| 2 × 8 ft, 12" deep | 16 | 0.59 | 11 |
| 3 × 6 ft, 12" deep | 18 | 0.67 | 12 |
| 4 × 4 ft, 12" deep | 16 | 0.59 | 11 |
| 4 × 8 ft, 12" deep | 32 | 1.19 | 22 |
| 4 × 8 ft, 18" deep | 48 | 1.78 | 32 |
| 4 × 12 ft, 12" deep | 48 | 1.78 | 32 |
| 4 × 8 ft, 24" deep | 64 | 2.37 | 43 |
Tips for ordering fill dirt
- Bulk beats bags above about 1 cubic yard. Most suppliers deliver by the yard; one yard is 36 small (0.75 cu ft) bags.
- Check truck capacity. Dump trucks commonly carry 10–14 cubic yards, but weight limits may cap heavy, wet soil lower.
- Compact in lifts. If the fill will support a slab, shed or patio, spread and compact it in 4–6 inch layers.
- Ask for screened fill if you need it free of rocks, roots and debris.