Before you buy seedlings or a truckload of soil, it pays to know what a bed can hold. This calculator takes the length and width of a garden bed, the spacing between plants and the depth of soil, and returns the bed area, perimeter, number of plants that fit and the volume of soil required. It works in feet and inches or metres and centimetres, lets you leave an unplanted border for paths, and caps the number of rows if you want fewer than will fit.
How garden size planning works
A garden bed is a rectangle, so its area is length times width. Plants need elbow room, and the spacing on a seed packet or plant tag tells you how far apart to put them. The calculator divides the usable length and width by that spacing, rounds down because a half plant does not fit, and multiplies the two results.
The formulas
Area = Length × Width
Plants = floor(Usable length ÷ Spacing) × floor(Usable width ÷ Spacing)
Soil volume = Area × Depth
- Usable length and width are the bed dimensions minus the border on each side.
- Spacing is the distance between plants in both directions.
- Depth is the thickness of soil to add.
- Rows is optional. If you enter fewer rows than fit, the count uses your number.
Using the calculator
- Choose imperial or metric units.
- Enter the bed length and width.
- Enter the plant spacing, a border for paths if you need one, and the soil depth.
- Optionally limit the number of rows.
- Read the area, perimeter, plant count and soil needed in two units.
Worked examples
A standard bed. A 12 ft by 4 ft bed is 48 square feet with a perimeter of 32 feet. At 12 inch spacing, 48 plants fit, and 6 inches of soil needs about 0.89 cubic yards.
A metric bed with a border. A 3 m by 1.2 m bed is 3.6 square metres. With a 5 cm border, 30 cm spacing and 20 cm soil depth, 27 plants fit and 0.72 cubic metres of soil is needed, about 0.94 cubic yards.
A limited row count. An 8 ft by 4 ft bed at 18 inch spacing and 2 rows holds 10 plants, and 8 inches of soil needs about 0.79 cubic yards.
Where it is useful
It suits raised beds, vegetable plots and flower borders, and it helps you compare the cost of soil with the cost of plants before you commit. It also helps when you are deciding how many beds fit in a yard, or whether a border of paths leaves enough planting space.
What the plant count does not tell you
- Spacing varies by crop. Tomatoes need much more room than radishes, so use the plant tag for the actual figure.
- Grid layout. The count assumes a square grid. Staggered planting can fit slightly more.
- Settling. Soil compacts over time, so topping up later is normal.
- Mixed beds. For beds with several crops, run the numbers for each section.
How crop choice changes the count
Spacing is the biggest lever on the plant count. In the 12 ft by 4 ft bed, lettuce at 8 inch spacing gives 18 plants along the length and 6 across, which is 108 plants. Tomatoes at 24 inch spacing give 6 by 2, or 12 plants. The soil needed stays the same for both, so a quick run at each spacing tells you whether the bed suits the crop you have in mind.
Mistakes to avoid
Mixing units is the most common slip: the bed is in feet and the spacing is in inches, so check the field labels. Another is ignoring the border, which can remove a whole row. And buying soil by area alone, without depth, leaves you short.
Next step
For larger soil orders, the cubic yard calculator adds a waste allowance and material weight.
Frequently asked questions
How do I calculate how many plants fit in a bed?
Subtract any border, divide the usable length and width by the spacing, round each down and multiply them.
How much soil does a raised bed need?
Multiply the bed area by the soil depth. The calculator shows the result in cubic yards and cubic metres.
Can I use metric units?
Yes. Switch to metric to enter metres for the bed and centimetres for spacing, border and depth.
What does the border field do?
It reduces the planting area on every side, which is useful for paths or the thickness of a bed frame.
What if I want fewer rows than fit?
Enter the number of rows. The count then uses your figure, and a note appears if more rows would fit.
Is the plant count exact?
It is a planning figure based on square-grid spacing. Follow the plant tag for each crop.