Raised Garden Bed Materials Calculator

Enter the size and depth of a bed and how many you are building. You get the soil in cubic feet, yards and bags, and the boards and corner hardware for the frames.

Building in the UK? Use the UK (metric) version of this calculator.

Jump to your result ↓

Your project

4 ft or less lets you reach the middle from either side.

beds

The size of lumber for the frame. The number is the real height of one board: a 2×12 is 11.25 in tall and a 2×6 only 5.5 in, so a 2×6 frame needs more boards stacked up to reach the same soil depth.

%

Extra soil to buy, because fresh soil sinks an inch or two in the first weeks as it packs down and gets watered. 10% is a sensible amount.

Results

Example job shown. Change the numbers to match yours.

Soil needed
70 cubic feet
2.61 cubic yards, including settling
What to buy
  • Bags of 2 ft³ (instead of bulk soil)36 bags
  • Boards high (stacked on each other)How many boards you stack up the side of one bed. Stacked to reach the soil depth, filled to within an inch of the top1 board
  • Boards to buy (8 ft long each)The total for all beds: the distance around each bed, times the boards high, divided by 8 ft6 boards
  • Exterior screwsA rough count: two at each corner of each layer, plus spares32 screws
In cubic yardsBulk delivery is usually cheaper than bags
2.61 yd³

The frames

Corner posts or bracketsFour a bed
8 corners
  • Fill raised beds with a mix of topsoil and compost, or a bagged raised-bed mix, not straight garden soil. Line the bottom with cardboard or landscape fabric to stop weeds. Untreated cedar or redwood lasts longest without chemicals.

Before you buy: round up to whole packs, check the size printed on the label, and add a little spare. Your supplier has the final say.

Blueprint

8 ft4 ft12 in36 × 2 ft³ bags10 of 36 shown

70.4 ft³ · 36 bags

How this calculator works

Soil is the length times the width times the depth, for each bed, plus a settling allowance. A bag of raised-bed mix is usually 2 cubic feet, and a cubic yard is 27. The frame is the perimeter of each bed, divided by the board length, times the number of boards stacked to reach the depth.

soil (ft³) = length × width × depth (ft) × beds × (1 + settling)boards = ⌈perimeter × layers × beds ÷ 8 ft⌉

Worked example: two 8 × 4 ft beds filled 12 inches deep take 70.4 cubic feet (2.6 cubic yards) of soil with 10% settling, which is 36 bags of 2 ft³. Each frame is 1 board high in 2×12 lumber, so the two beds take 6 boards of 8 ft.

Assumptions and sources

The assumptions behind your numbers (waste, sizes, rates) are listed in the notes directly under your results, and they update when you change an input.

The formula and a worked example are shown above, so you can check any result by hand. Read how we calculate and check our numbers. Results are estimates for planning: supplier products vary, so check the size printed on the label.

Soil for one raised bed (12 in deep, 10% settling)

Soil in cubic feet and yards, bags of 2 ft³, and 8 ft boards for a 2×12 frame.

BedSoilCubic yardsBags of 2 ft³Boards
4 × 4 ft17.6 ft³0.6592
3 × 6 ft19.8 ft³0.73103
4 × 8 ft35.2 ft³1.30183
4 × 12 ft52.8 ft³1.96274

Tips before you buy

  • Fill the bottom with cheaper material such as logs or compost, topped with 8 to 10 inches of good soil, if you want to save money on a deep bed.
  • Keep beds 3 to 4 feet wide, so that you can reach the middle from the edge without stepping in.
  • Leave 2 to 3 feet between beds for the path, and mulch it to keep weeds down.
  • Choose untreated cedar or redwood, or modern pressure-treated lumber that is approved for garden use.
  • Add a drip irrigation line when you build the beds, which is far easier before they are planted.

Tools & materials for this project

Affiliate links As an Amazon Associate we earn from qualifying purchases. These links do not change what you pay.

Frequently asked questions

How much soil do I need for two 4x8 raised beds?

70 cubic feet (2.6 cubic yards) at 12 inches deep, with 10% extra for settling. In bags of 2 ft³ that is 36 bags, so bulk delivery is usually cheaper.

How many boards do I need for a 4x8 raised bed?

3 boards of 8 ft make one frame 1 board high: two 8 ft sides, and one board cut in half for the 4 ft ends. A 2×12 gives about 11 inches of height.

How deep should a raised bed be?

10 to 12 inches is enough for most vegetables, and 6 inches will do for lettuce and herbs. Deeper beds suit root crops or a bed on poor ground.

How many cubic feet in a cubic yard?

27. A bag of 2 ft³ is 1/13.5 of a cubic yard, so 14 bags make about a yard.

Add this calculator to your website

Running a blog, a contractor site or a class page? You can put this calculator on it for free. Copy the code below, and please leave the link underneath the calculator in place. The small script just resizes the frame to fit the results; if your site strips scripts, the calculator still works inside a scrolling frame.

Get the embed code

Related calculators & guides

Estimates only. Results assume standard materials and simple shapes. Supplier products vary, and the final call on quantity, structure and safety is yours. Check your local code and your supplier's guidance before ordering.