GARDEN & LANDSCAPING 11 min read Updated November 22, 2026
How to Build a Raised Bed for Vegetables

Use the tool as you read
The Gravel Calculator is free and needs no account.
Pro ($4.99/mo) saves the result into a project with folders, PDF packs and builder sharing.
Quick answer
To build a raised bed for vegetables, make a box 1.2 metres wide and 3 metres long from timber boards 200 to 300 millimetres high, set it on level ground, line the bottom with cardboard to stop weeds, and fill it with topsoil and compost. A bed 1.2 by 3 metres and 300 millimetres deep needs 1.08 cubic metres of fill, which is about 0.5 cubic metres of topsoil and 0.5 cubic metres of compost, or 2 bulk bags in total. A bed 1.2 metres wide can be reached from both sides without stepping in it, which keeps the soil loose and easy to work.
Introduction
A raised bed is the best way to grow vegetables in a garden with poor soil, because it lets you start with good soil in a box, rather than trying to improve the soil you have. It warms up faster in spring, it drains better in winter, and it is easier to work, because you do not have to bend down as far. It also keeps the vegetable garden tidy, because the beds are in neat rectangles with paths between them, and it stops the soil being walked on, which keeps it loose and full of air.
The width is the most important measurement. A bed 1.2 metres wide can be reached from both sides, with each side reaching 600 millimetres to the middle, which is a comfortable reach for most people. A bed wider than 1.2 metres forces you to step into it to reach the middle, which compacts the soil and undoes the benefit of the bed. The length can be anything, but 3 metres is a useful length, because it fits a row of vegetables and the boards are easy to handle. The height should be 200 to 300 millimetres, which is deep enough for most vegetables and high enough to be easy to work.
This guide covers measuring the bed, choosing the timber, building the box, and filling it with the right mix of soil and compost. It also covers where to put the bed, because a vegetable bed needs sun, and a bed in the shade will never grow well, however good the soil is.
How to measure for a raised bed
Measure the space for the bed, and mark it with string and pegs. A bed 1.2 metres wide and 3 metres long is 3.6 square metres, and it needs a path of at least 600 millimetres around it, so the total space is 2.4 metres wide and 4.2 metres long. Measure the sun: the bed should get at least 6 hours of sun a day, and the long side should face south, so the sun falls along the bed rather than across it. Check the ground is level, because a bed on a slope will have soil deeper at one end than the other, and the boards will need levelling.
Measure the timber before you buy it. The boards should be 200 to 300 millimetres high and 25 to 50 millimetres thick, and the length should match the bed: two boards 3 metres long for the sides, and two boards 1.2 metres long for the ends. If the boards are 200 millimetres high and you want a bed 300 millimetres high, stack two boards on each side, which is stronger than a single tall board. Measure the corner posts, which should be 50 by 50 millimetres and as tall as the bed, plus 100 millimetres to drive into the ground.
Work out the fill volume from the bed size and depth: length multiplied by width multiplied by depth. A bed 1.2 by 3 metres and 300 millimetres deep is 1.2 times 3 times 0.3, which is 1.08 cubic metres. Half of that should be topsoil and half compost, so 0.54 cubic metres of each, which is about 1 bulk bag of each, because a bulk bag holds 0.8 cubic metres and the fill settles after watering.
You will need:
- Tape measure, string line and pegs, for marking the bed and checking the sun.
- Timber boards, 200 to 300 millimetres high, and corner posts 50 by 50 millimetres.
- Screws, a drill and a saw, for building the box, plus a spirit level for checking it is level.
- Cardboard, for lining the bottom of the bed to stop weeds coming up.
- Topsoil and compost, for filling the bed, ordered by the volume worked out in this guide.
- A wheelbarrow and a rake, for moving and levelling the fill.

How this estimate is calculated
Fill volume in cubic metres equals bed length multiplied by bed width multiplied by bed depth, all in metres. The fill is usually half topsoil and half compost, so divide the total by two for each. A bulk bag holds about 0.8 cubic metres, so divide each volume by 0.8 and round up to whole bags. The fill settles by about 10 percent after watering, so top it up after a week.
Worked example:
- Bed length: 3 metres. Bed width: 1.2 metres. Bed depth: 300 millimetres = 0.3 metres.
- Fill volume: 3 x 1.2 x 0.3 = 1.08 cubic metres.
- Topsoil: 1.08 / 2 = 0.54 cubic metres.
- Compost: 1.08 / 2 = 0.54 cubic metres.
- Bulk bags of topsoil: 0.54 / 0.8 = 0.68, so order 1 bulk bag.
- Bulk bags of compost: 0.54 / 0.8 = 0.68, so order 1 bulk bag.
- Total: 2 bulk bags, and top up with a few bags of compost after the fill settles.
If the bed is 200 millimetres deep instead of 300, the fill volume is 3 times 1.2 times 0.2, which is 0.72 cubic metres, so 0.36 cubic metres of topsoil and 0.36 of compost, which is still 1 bulk bag of each, because the bags are large. A deeper bed uses more fill, but the cost difference is small, because the bulk bag is the unit of purchase, and a 300 millimetre bed is worth the extra fill, because it gives the roots more room.
Step-by-step
- Measure the space, mark the bed with string, and check it gets at least 6 hours of sun a day.
- Cut the boards to length: two 3 metre boards for the sides and two 1.2 metre boards for the ends.
- Screw the boards to the corner posts, checking the box is square by measuring the diagonals.
- Set the box on level ground, check it is level with a spirit level, and drive the corner posts into the ground.
- Line the bottom with cardboard, overlapping the sheets, to stop weeds coming up from below.
- Fill the bed with a mix of half topsoil and half compost, levelling it with a rake.
- Water the fill well and leave it for a week to settle, then top it up to the brim.
- Plant the vegetables, spacing them as the seed packet says, and mulch the surface to keep it moist.

Materials and costs
Timber for a raised bed should be untreated hardwood, such as oak or sweet chestnut, or pressure treated softwood to use class 4, because the timber is in contact with damp soil. Untreated softwood rots in 2 to 3 years, while treated softwood lasts 5 to 10 years and hardwood lasts 10 to 15 years. Do not use old railway sleepers, because they are treated with chemicals that can leach into the soil and are not safe for vegetables. Scaffold boards are a cheap option, but they are usually untreated, so they rot quickly unless they are lined.
As an illustrative example, a treated softwood board 3 metres long, 200 millimetres high and 25 millimetres thick might cost around $10 to $18, or about £8 to £14, or €9 to €16. A bed needs two 3 metre boards and two 1.2 metre boards, so the timber costs roughly $35 to $60, or about £28 to £48, or €32 to €55. A bulk bag of topsoil might cost around $45 to $75, or about £35 to £60, or €40 to €70, and a bulk bag of compost might cost around $45 to $75, or about £35 to £60, or €40 to €70. On those figures a raised bed costs roughly $125 to $210 in total, before screws and tools.
Fill the bed with a mix of topsoil and compost, not with garden soil dug from elsewhere, because garden soil may contain weeds, pests and diseases. Topsoil gives the structure, and compost gives the nutrients and the water holding capacity. Do not fill the bed with pure compost, because it is too rich and it settles too much, and do not fill it with pure topsoil, because it is too poor in nutrients. A half and half mix is the best starting point, and it can be improved each year by adding compost to the top.

Where to put a raised bed
Sun is the first requirement for a vegetable bed. Vegetables need at least 6 hours of direct sun a day, and most need more, so the bed should be in the sunniest part of the garden, away from trees, fences and buildings that cast shade. The long side of the bed should face south, so the sun falls along the bed, and the bed should not be shaded by a hedge or a wall in the morning, when the sun is low. Walk the garden at different times of day before you choose the position, because a spot that is sunny at noon may be shaded at 4 in the afternoon, when the sun is lower.
Water is the second requirement. A raised bed dries out faster than the ground, because it is raised and the soil is loose, so the bed should be near a tap or a water butt, or it will be a chore to water in summer. A bed at the far end of a large garden, far from water, will be neglected in a dry summer, and the vegetables will suffer. Put the bed where watering is easy, and mulch the surface to keep the moisture in.
Access is the third requirement. The bed needs a path around it at least 600 millimetres wide, so you can reach it from all sides with a wheelbarrow, and the paths should be firm, because a muddy path in winter makes the bed hard to use. If you plan more than one bed, leave 600 millimetres between them, and plan the layout so the beds are in a row with paths between, rather than scattered around the garden. A tidy layout is easier to work and easier to water, and it looks better too.

Common mistakes
Making the bed too wide
A bed wider than 1.2 metres cannot be reached from both sides without stepping in it, which compacts the soil. Keep the bed 1.2 metres wide, so every part can be reached from the path.
Using untreated softwood
Untreated softwood rots in 2 to 3 years in contact with damp soil. Use treated softwood to use class 4, or hardwood, and line the inside of the boards if you want them to last longer.
Filling with pure compost
Pure compost is too rich, settles too much, and dries out quickly. Use a half and half mix of topsoil and compost, and top up with compost each year.
Putting the bed in shade
A vegetable bed in shade will never grow well, however good the soil is. Choose the sunniest spot, with at least 6 hours of sun a day, and keep it clear of trees and buildings.
Forgetting the paths
Beds without paths around them are hard to reach, and the soil gets walked on. Leave 600 millimetres of path around each bed, and make the paths firm so they can be used in winter.
Frequently asked questions
How big should a raised bed be?
Make it 1.2 metres wide, so it can be reached from both sides, and 3 metres long, which is a useful length for a row of vegetables. The height should be 200 to 300 millimetres, which is deep enough for most vegetables.
How much soil do I need for a raised bed?
A bed 1.2 by 3 metres and 300 millimetres deep needs 1.08 cubic metres of fill, half topsoil and half compost, which is 1 bulk bag of each. Top up after a week, because the fill settles.
What wood should I use for a raised bed?
Use treated softwood to use class 4, or hardwood such as oak, because the timber is in contact with damp soil. Do not use untreated softwood, which rots in 2 to 3 years, or old railway sleepers, which may contain harmful chemicals.
Do I need to line a raised bed?
Line the bottom with cardboard to stop weeds coming up, and line the inside of the boards with plastic if you want the timber to last longer, leaving the bottom open so water can drain.
How deep should a raised bed be?
Allow 200 to 300 millimetres for most vegetables. Shallow rooted vegetables, such as lettuce, need 200 millimetres, while deep rooted vegetables, such as carrots, need 300 millimetres or more.
Can I put a raised bed on concrete?
Yes, but it needs drainage holes in the bottom, or the soil will become waterlogged. A bed on concrete should be at least 300 millimetres deep, and it will need more watering than a bed on soil.
Related tools
Gravel Calculator
Garden & Landscaping · Estimate gravel volume and optional weight for an area.
Mulch Calculator
Garden & Landscaping · Estimate mulch volume and bags for garden beds.
Topsoil Calculator
Garden & Landscaping · Work out how many cubic metres of topsoil you need from the area to cover and the depth of topsoil.
Turf Calculator
Garden & Landscaping · Work out how many rolls of turf you need for a lawn from its area, the coverage of one roll and a waste allowance.
Related guides

How to Water a New Lawn
Quick answer Water a new lawn little and often, keeping the top few centimetres of soil damp until the grass is established, then water…

How to Topdress a Lawn
Quick answer Topdress a lawn in early autumn by spreading a thin layer of topsoil and compost, about 5 millimetres deep, over the grass…

How to Test Your Garden Soil
Quick answer Test your garden soil by squeezing a handful to find whether it is clay, sand or loam, checking the drainage with a…

How to Store Topsoil Before You Use It
Quick answer Store topsoil in a heap no more than 1 metre high, on a dry level spot, covered with a tarp to keep…