# Topsoil Calculator

> Estimate the topsoil needed for a garden bed or lawn area at a given fill depth, in cubic yards or cubic metres.

Page: https://craftquantities.com/calculators/landscaping-outdoor/topsoil-calculator/ (calculator). This is the page's Markdown copy; the HTML page is the canonical version.

Version 1.0.1, sources checked 2026-09-05, 2 published test vectors.

Estimated topsoil needed: 0.988 yd³ for Area Length 10 ft, Area Width 4 ft and Fill Depth 8 in, the page's opening figures; on the metric page, 3 m, 1.2 m and 20.32 cm give 0.732 m³. Sources are cited below.

## Key facts

- Garden beds commonly use 6 to 12 in (15 to 30 cm) of topsoil, deeper than a 2 to 4 in (5 to 10 cm) mulch layer or a gravel base. (source: Garden-bed topsoil depths: Garden beds commonly use 6-12 in of topsoil depth, deeper than typical mulch (2-4 in) or gravel base applications)
- One cubic yard is 0.7645549 cubic metres and one cubic foot 0.02831685 cubic metres (NIST), so a cubic metre of topsoil is about 1.31 cubic yards or 35.3 cubic feet. ([NIST SI Guide, App. B.9](https://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors/nist-guide-si-appendix-b9): NIST Guide to the SI, Appendix B.9: Factors for units listed by kind of quantity, National Institute of Standards and Technology)
- One inch is exactly 2.54 cm (NIST), so the Topsoil Calculator's 8 in opening fill depth is 20.32 cm, and a 12 in raised-bed fill is 30.48 cm. ([NIST SI Guide, App. B.9](https://www.nist.gov/pml/special-publication-811/nist-guide-si-appendix-b-conversion-factors/nist-guide-si-appendix-b9): NIST Guide to the SI, Appendix B.9: Factors for units listed by kind of quantity, National Institute of Standards and Technology)

## Inputs

A length, area or volume is entered with its unit. The page opens on the values below: a metric reader sees the metric column, a US customary reader the other.

| Input | id | Opens at (metric) | Opens at (US customary) | Accepts |
|---|---|---|---|---|
| Area Length | `areaLength` | 3 m | 10 ft | mm, cm, m, in, ft, yd; range 0.01–50 m |
| Area Width | `areaWidth` | 1.2 m | 4 ft | mm, cm, m, in, ft, yd; range 0.01–50 m |
| Fill Depth | `depth` | 20.32 cm | 8 in | mm, cm, m, in, ft, yd; range 0.01–0.6096 m |

- **Area Length**: The length of the garden bed or area.
- **Area Width**: The width of the garden bed or area.
- **Fill Depth**: 6-12 in (15-30 cm) is typical for a new garden bed; shallower for topping up an existing lawn.

## The answer on the opening values

Worked exactly as the page works it, on the values each system opens on.

### Metric

| Result | Value |
|---|---|
| **Estimated topsoil needed** | 0.732 m³ |
| Area | 3.6 m² |

### US customary

| Result | Value |
|---|---|
| **Estimated topsoil needed** | 0.988 yd³ |
| Area | 40 sq ft |

## Formula with your numbers

1. **Measure the bed's area**: 10 ft × 4 ft = 40 sq ft
2. **Multiply by the fill depth**: 40 sq ft × 8 in = 0.988 yd³

Worked on the figures the page opens on; the page re-works each step on the reader's own.

## How to calculate topsoil in 2 steps

1. **Measure the bed's area**: Measure the length and width of the bed or lawn area and multiply them; split an L-shaped or curved bed into rectangles.
2. **Multiply by the fill depth**: Multiply the area by the fill depth in the same unit: square feet times feet, divided by 27, gives cubic yards; square metres times metres gives cubic metres.

## Topsoil for common bed and lawn areas

Page defaults, not your figures above.

| Area (length × width) | Estimated topsoil needed |
|---|---|
| 10 × 10 ft (3.05 × 3.05 m) | 2.47 yd³ (1.89 m³) |
| 20 × 20 ft (6.1 × 6.1 m) | 9.88 yd³ (7.55 m³) |
| 25 × 40 ft (7.62 × 12.19 m) | 24.7 yd³ (18.9 m³) |
| 50 × 50 ft (15.24 × 15.24 m) | 61.7 yd³ (47.2 m³) |
| 5 × 5 m (16.4 × 16.4 ft) | 5.08 m³ (6.64 yd³) |
| 10 × 10 m (32.81 × 32.81 ft) | 20.3 m³ (26.6 yd³) |
| 20 × 10 m (65.62 × 32.81 ft) | 40.6 m³ (53.2 yd³) |

## How it is worked out

The working the page shows, in order: Area; then estimated topsoil needed.

The method, derived in full:

- [Volume from Geometry, and the Order That Follows](https://craftquantities.com/methodology/volume-from-geometry/): Why the depth carries almost all the risk in a volume, why an excavation holds far more than its plan area suggests, and why a bag's yield is not its weight divided by a density.

The equations it runs, in the open formula library:

- Formula: [V = L × W × D](https://craftquantities.com/formulas/volume-from-geometry/#rectangular-prism-volume)

What this calculation does not cover:

- The answer is a loose volume and nothing turns it into weight, because no bulk density is asked for anywhere in the form — topsoil is very often quoted, delivered and tipped by the ton or tonne, and how much a cubic yard of it weighs moves with how wet it is, how much organic matter it carries and how finely it has been screened.
- No allowance for consolidation is folded in: the number is a bare length x width x depth, so soil tipped to the depth you typed will read shallower once it has been rained on and walked over, and making the level good again is a second, smaller order.
- The footprint is one rectangle carried at a single depth, so a curved border reads as its bounding box, ground that falls away across the bed is not picked up, and the room already filled by shrub root balls, stepping stones or the thickness of edging boards is never deducted.
- Fill depth is capped at 24 in (0.61 m) and each side at 50 m (about 164 ft), which puts berms, deep planting pits and field-scale regrading outside the form, and inside that band the depth entered is simply taken as correct — nothing checks that it gives enough rooting depth for what you intend to grow.
- Only soil going in is counted, with nothing coming out, so where turf has to be stripped or tired ground dug down before filling, neither the spoil to be carted away nor the level already occupied by what is there is netted off the delivery.

## Sources

As the calculator cites them (sources checked 2026-09-05):

- Garden beds commonly use 6-12 in of topsoil depth, deeper than typical mulch (2-4 in) or gravel base applications

A code or standard has force only where a jurisdiction has adopted it, usually with local amendments; check what is in force with the authority where you build.

## Questions answered on the page

**How is this different from the Mulch & Gravel Calculator?**

Same underlying volume math, but topsoil fills are typically much deeper (6-12 in for garden beds vs 2-4 in for mulch top-dressing) — different real-world use case with different typical inputs.

**Should I mix in compost or amendments?**

Many gardeners blend topsoil with compost (commonly 50/50 or 70/30) for better fertility — if so, calculate the topsoil and compost portions separately based on your target ratio.

**Does topsoil settle after filling?**

Yes, somewhat, especially after the first watering and over the first season — ordering a bit extra or planning for a top-up later is common practice.

**How much topsoil does a 4 ft by 10 ft bed need at 8 inches deep?**

0.99 cubic yards, just under one: 40 sq ft at 8 in (two-thirds of a foot) is 26.7 cubic feet, and a cubic yard is 27. The metric opening, a 3 m by 1.2 m bed filled 20.32 cm deep, takes 0.73 m³. Neither figure carries any allowance for the soil settling after it is watered in.

**Is topsoil sold by the cubic yard or by the ton?**

Often by weight, and this page gives only the volume: it asks for no bulk density, and what a cubic yard or cubic metre of topsoil weighs moves with its moisture, its organic matter and how finely it was screened. Ask the yard for the weight per yard of the soil it is delivering and convert with that figure.

**What should I take off the topsoil figure before ordering?**

Whatever already fills the bed: the page counts the whole rectangle at the full depth, so the space taken by shrub root balls, stepping stones and edging boards is not deducted. Where turf is stripped or tired ground dug down first, the level that gives back is not netted off either; work out what really has to be filled.

**How do I measure a curved or sloping bed for topsoil?**

Split it into rectangles and run each one: a curved border entered as one length and width is read as its bounding box, which over-orders. Where the ground falls away across the bed, measure the fill depth at several points and enter the average, because the page carries one depth over the whole footprint.

## Related calculators

- [Mulch & Gravel Calculator](https://craftquantities.com/calculators/landscaping-outdoor/mulch-gravel-calculator/)
- [Sod Calculator](https://craftquantities.com/calculators/landscaping-outdoor/sod-calculator/)

## Run it from a program

- REST: `GET https://api.craftquantities.com/v1/calculate/topsoil-calculator` with each input as a query parameter, a length, area or volume with its unit; `https://api.craftquantities.com/v1/describe/topsoil-calculator` lists the inputs.
- MCP: the `calculate` tool at https://api.craftquantities.com/mcp with `slug` `topsoil-calculator`.
- Definition and test vectors: https://craftquantities.com/api/v1/calculators/topsoil-calculator.json

---
Source: https://craftquantities.com/calculators/landscaping-outdoor/topsoil-calculator/
Craft Quantities: free to read, cite and link to; the pages are not licensed for republication. Quantities only: no prices, no design and no certification.
