Home › Landscaping
Raised Bed Soil Calculator
Formula verified · Updated Nov 2026
Results update as you type. Estimates only — confirm final quantities before ordering.
Enter your bed's length, width and fill depth to find how much soil mix to buy — in cubic feet and cubic yards, split into its parts for the mix you pick, plus the number of bags if you are buying bagged. Fresh mix settles 10–20% in its first weeks, so a settling allowance is on by default: order the net amount and your bed ends up an inch or two low by midsummer.
The formula
To buy (ft³) = Net volume × (1 + Settling)
Cubic yards = Cubic feet ÷ 27
Each part (ft³) = Total ft³ × Mix % ÷ 100
Bags = Total ft³ ÷ Bag size (ft³), rounded up
Cost = Bags × Price per bag
Measure the inside of the bed, not the outside: boards 2 inches thick eat about 4 inches off each dimension, which is roughly 10% of the volume of a 4 × 8 ft bed. The three parts are always by volume, never by weight — a cubic foot of perlite weighs almost nothing next to a cubic foot of topsoil. For Mel's Mix, Part A is peat moss (or coco coir) instead of topsoil and Part C is vermiculite instead of perlite; Part B is compost in every mix.
Worked example
Example: an 8 ft × 4 ft bed filled 12 inches deep with the Balanced mix, 15% settling allowance, 1.5 ft³ bags.
- Net volume: 8 × 4 × (12 ÷ 12) = 32.0 ft³, × 1.15 = 36.8 ft³ to buy
- Bulk: 36.8 ÷ 27 = 1.36 yd³
- Parts: topsoil 60% = 22.1 ft³ | compost 30% = 11.0 ft³ | perlite 10% = 3.7 ft³
- Bags: 36.8 ÷ 1.5 = 24.5, round up to 25 bags
Reference chart
| Mix | Part A | Part B | Part C |
|---|---|---|---|
| Balanced | 60% topsoil | 30% compost | 10% perlite |
| Mel's Mix | 33% peat moss (or coco coir) | 33% compost | 33% vermiculite |
| Compost-rich | 40% topsoil | 50% compost | 10% perlite |
Frequently asked questions
How is this different from the Topsoil Calculator?
The Topsoil Calculator works out bulk topsoil for flat areas — a lawn or a garden bed on open ground — and gives you cubic yards, tons and 40 lb bags. This calculator is for a boxed raised bed: it splits the fill into the parts of a named mix (topsoil, compost and perlite, or Mel's Mix), adds a settling allowance, and counts the 1–2 ft³ garden-centre bags most people actually buy for beds. Use topsoil for grading and lawns; use this one when you are filling a bed to plant in.
Why do I need extra soil for settling?
Fresh mix is full of air. As you water it in, the particles nestle together and the compost starts breaking down, so a bed filled exactly to the rim drops 10–20% — an inch or two on a 12-inch bed — in the first weeks and first season. The default 15% allowance buys that extra up front. If you skip it, plan to top up with compost after the first few waterings, and again each spring: expect to add 1–2 inches of compost a year as the organic matter keeps decomposing.
What is Mel's Mix?
Mel's Mix is the soil recipe from Mel Bartholomew's Square Foot Gardening: equal thirds by volume of blended compost, peat moss (coco coir works as a 1-to-1 swap) and coarse vermiculite. It has no topsoil at all — it is a light, fluffy, soilless mix that drains well, holds moisture and never compacts, so you never need to till it, just add fresh compost between seasons. In this calculator it is the middle option: Part A is the peat moss, Part B the compost and Part C the vermiculite. It costs more per cubic foot than a topsoil blend, which is why most people reserve it for vegetable beds.
Is bagged or bulk soil cheaper for a raised bed?
Above about one cubic yard, bulk is almost always cheaper — a cubic yard is 27 cubic feet, or eighteen 1.5 ft³ bags. Bags win for one small bed, where a delivery fee would cost more than the soil, and when you want a specific branded mix. Compare by the cubic foot: a $5 bag of 1.5 ft³ is $3.33 per ft³, while bulk screened topsoil at $40 per yard is about $1.48 per ft³ before delivery. If you buy bulk, order the mix split here and have the supplier blend it, or buy the parts separately and mix them in the bed.
How deep should I fill a raised bed?
Six inches is enough for lettuce, herbs and other shallow crops; 12 inches is the standard for most vegetables, including tomatoes, peppers and carrots. If your bed is deeper than 12 inches, do not fill the whole thing with good mix — put logs, branches and leaves in the bottom (the hugelkultur method) and keep the top 10–12 inches for mix. Enter 12 inches as the depth in that case and the calculator gives you just the top layer.
Can I just fill a raised bed with garden soil from my yard?
No — plain garden soil compacts in a confined bed, drains poorly and suffocates roots, which is exactly the problem a mix is designed to avoid. A bed needs structure (topsoil or peat/coir), food and biology (compost) and air space (perlite or vermiculite) together. Even the cheapest workable fill is roughly 60% topsoil, 30% compost and 10% perlite — the Balanced mix here — never straight soil, and never straight compost, which holds too much water and can drop by half its volume as it decomposes.
Related calculators
- Topsoil Calculator — Topsoil in cubic yards, tons and standard 40 lb bags.
- Mulch Calculator — Mulch in cubic yards and standard 2 cu ft bags.
- Sod Calculator — Rolls, slabs or pallets of sod for your lawn, with cutting waste included.
How we verify this
Mel's Mix: Mel Bartholomew, Square Foot Gardening — equal thirds by volume of blended compost, peat moss (or coco coir) and coarse vermiculite. Balanced 60% topsoil / 30% compost / 10% perlite blend and 10–20% first-season settling: raised-bed soil guides (fetched November 2026). Demand: 'raised bed soil calculator' ~4,400/mo (US 80%).