Raised bed lumber calculator

Enter the size of your raised bed and the boards you'll use. You'll get the boards to buy, the corner posts, and the screws to put it together.

LengthWidthHeight
Each row of boards is one course. Taller beds need more courses.
–boards
Rows of boards (courses)
–
Linear feet
–
Corner posts
–
Screws
–

Assumes one piece per side in each row. Sides longer than the board need a joint over a post.

How the math works

The bed height divided by the board width gives the number of rows, or courses. Each course needs two long sides and two short sides. An 8 by 4 foot bed, 11 inches tall, built from 2 × 6 boards needs two courses: four 8 foot pieces and four 4 foot pieces. Bought as 8 foot boards, that's six boards, since each one makes two of the short sides.

Which wood to use

Cedar and redwood resist rot naturally and are the most popular choices. Modern pressure-treated lumber is also widely used for vegetable beds. Some gardeners line the inside with plastic sheeting for extra peace of mind. Avoid old railroad ties, which are treated with creosote.

Common questions

What are the corner posts for?

A short 4 × 4 post or 2 × 2 cleat inside each corner gives the screws something solid to bite into and keeps the corners square. Cut posts to the bed's height, or a few inches longer to sink into the ground.

How many screws per corner?

Two exterior-rated screws where each board meets a corner post. With four corners and two board ends at each corner, that's sixteen screws per course.

How much soil will it hold?

Use the raised bed soil calculator with the same size to see how many bags or cubic yards of soil you need.

More yard calculators