Raised Garden Bed Calculator
Count boards for a framed garden bed, cut per side so a board does not turn a corner, plus the soil that fills the inside box.
Your estimate
9 boards
Boards to buy (incl. 10% extra)
1.2 cu yd (32 cu ft)
- Courses
- 2
- Soil inside the box
- 1.2 cu yd (32 cu ft) or 0.91 m³
- Boards before extra
- 8
- Each side is cut from the board length you chose. Offcuts are not carried around the corner. This is not a wall that holds back a slope.
Show the math
- Courses = wall height ÷ board face, rounded up = 2
- Boards before extra = courses × 2 × (boards on a long side + boards on a short side) = 8
- With 10% extra, rounded up → 9 boards. Soil is the inside box with the same extra.
Shopping list & cost
| Item | Spec | Qty | Cost |
|---|---|---|---|
| Bed boards | 2 courses, cut per side | 9 boards | — |
Prices are what you enter under Advanced options. Estimates only — check stock and pricing with your supplier.
Quick answer An 8 × 4 ft bed with an 11 in wall of 5.5 in boards, on 8 ft stock and 10% extra, is 9 boards. A 2.4 × 1.2 m bed with a 28 cm wall of 14 cm boards is 9 boards.
Method & assumptions
Courses = wall height ÷ board face, rounded up Boards before extra = courses × 2 × (boards along the length + boards along the width) Buy = that count × (1 + extra %), rounded up Soil = inside length × inside width × wall height, then the same extra percent
- 5.5 in face
- A common dressed board face, only a starting value
- 14 cm face
- A separate metric starting value, not an exact conversion of 5.5 in
Assumptions & limits
- Each side is cut from whole board lengths. Offcuts are not carried around the corner.
- The 10% extra applies to boards and to soil.
- This does not design a wall that holds back a slope.
Rounding: purchase quantities are always rounded up to whole boards. See our methodology.
Diagram
How to use this calculator
- Measure the inside of the bed, not the outside of the lumber.
- Enter the wall height and the face height of the board you will stack.
- Choose the board length the yard sells. 8 ft and 2.4 m are starting lengths, not a kit.
- The count is made per side, so a board is not asked to turn a corner.
- Soil is the inside box, with the same extra percent. Loose topsoil spread on a lawn is a different calculator.
Worked examples
8 × 4 ft, 11 in wall, 5.5 in boards, 8 ft stock, 10%
- Courses = 11 ÷ 5.5 = 2.
- Each side fits in one 8 ft board, and there are four sides: 2 × 4 = 8 boards.
- With 10% = 8.8, so 9 boards.
- Soil = 8 × 4 × 11 ÷ 12 × 1.10 = 32.3 cu ft, about 1.2 cu yd.
2.4 × 1.2 m, 28 cm wall, 14 cm boards, 2.4 m stock, 10%
- Courses = 28 ÷ 14 = 2. Four sides, one board each: 8 boards.
- With 10% = 9 boards.
- Soil = 2.4 × 1.2 × 0.28 × 1.10 = 0.89 m³.
In depth: raised bed planning notes
Why the boards are counted per side
A raised bed is a rectangle of boards with soil in the middle. The mistake that under-orders lumber is to add the perimeter and divide by the board you can buy, as if one board could turn the corner. It cannot. An 8 ft board on an 8 ft side is one board for that side only. The next side starts a new cut. Two courses of an 8 × 4 ft bed are therefore eight boards before the extra percent, not a single loop of perimeter.
The face height decides the courses. Eleven inches divided by a 5.5 in face is two courses. If the board you actually buy is 5.25 in, type 5.25. The 5.5 in and 14 cm faces on the form are starting values so the page has something to divide. They are not a cited product standard, and 14 cm is not the conversion of 5.5 in.
Soil is the inside box, not a lawn dressing
Soil volume is inside length times inside width times wall height, then the same extra percent you typed for the boards. The 8 × 4 ft example at 11 in and 10% is 32.3 cubic feet, about 1.2 cubic yards. Merchants sell that as yards or metres, so the page shows both and does not round the soil up to a bag.
The topsoil calculator is still the right tool for a lawn or a bed that is only an area and a depth. Use this one when you are also buying the frame. Nothing here checks whether the box can hold back a slope.
Reference table
| Part | Rule |
|---|---|
| Boards | Rounded up after 10% |
| Soil | Same percent, not rounded to a bag |
| A slope-holding wall | Not this calculator |
Key facts
- Output
- Whole boards, plus a soil volume
- Not loose topsoil
- Topsoil is an area and a depth
- Not a retaining wall
- No structural check
Tips & common mistakes
- If the yard sells 12 ft boards, switch the length and compare the count.
- Order soil by the cubic yard or cubic metre the merchant uses, not by the board count.
Frequently asked questions
Why 9 boards from 8?
Two courses and four sides are 8 boards before extra. Ten percent makes 8.8, and boards are bought whole, so 9.
Why not one long board around the bed?
A board does not turn a corner. Each side is counted on its own.
Is this the topsoil calculator?
No. Topsoil spreads an area to a depth. This is a framed box: boards first, soil second.
Where does 5.5 inches come from?
It is a common dressed face used so the form has a starting height. Measure the board you buy. The 14 cm metric face is a separate starting value, not a conversion of 5.5 in.
What if the length is blank?
The page says a zero bed is not an order of zero boards.
Sources
- NIST SP 811, Appendix B.9 — accessed : “foot (ft) → meter (m): 3.048 E−01; inch (in) → meter (m): 2.54 E−02”
- Board face — general reference for the inch only — 5.5 in and 14 cm are planning board faces
Default values are planning sizes you can change. They are not a product standard or a rating printed on a package.
Related calculators
Embed this calculator
Run a blog, forum or contractor site? Add this free raised bed calculator to your page. It resizes itself, has no ads and sets no tracking cookies.
Free for any site. Keep the small “Calculator by DIYCalcLab” credit visible; it is rel="nofollow" by design. No ads or tracking cookies inside the widget. Widget terms & all calculators.
Cite this calculator
DIYCalcLab. “Raised Garden Bed Calculator.” Nov 22, 2026. https://diycalclab.com/landscaping/raised-bed-calculator/
Estimates only. Verify quantities with your supplier and local building codes. For structural, electrical or safety-critical work, consult a licensed professional. Full disclaimer.