Guide
Plant spacing: how many plants fit in a bed, in square and staggered layouts
Gardeners plant by spacing: a plant label says to set lettuces 30 cm apart, a hedge plant 60 cm, a row of onions 10 cm. Turning a spacing into a shopping list means counting how many fit along and across a bed. This calculator does the counting for a rectangular bed in a square or staggered pattern, with a margin at the edges, and compares the two layouts.
Rows and plants per row
The spacing is the distance between plant centres. Along a row of length L with edge margins at each end, the number of plants is the floor of L ÷ spacing plus 1, since a row of n plants has n − 1 gaps. The number of rows follows from the width in the same way. A bed of 4 × 1.5 m with a 0.1 m margin has a usable 3.8 m by 1.3 m, and with 0.3 m spacing each row holds 13 plants.
The square grid
In a square layout the rows are one spacing apart, so the bed of 1.3 m usable width has floor(1.3 ÷ 0.3) + 1 = 5 rows, and 5 × 13 = 65 plants. It is the easiest layout to plant and to hoe between the rows, and many vegetable beds use it. The tool also reports the area each plant occupies, about 0.0923 m², and the number of plants per square metre.
The staggered pattern
In the staggered, or triangular, layout the rows are shifted by half a spacing and set 0.866 of the spacing apart, which is √3 ÷ 2. Each plant has six neighbours at the same distance. The same bed now fits 1.3 ÷ 0.26 = 5.0, so 6 rows, and with 13 plants in each row there are 78 plants, 13 per square metre, 20% more than the square grid. The page shows the count for the other pattern so you can compare.
When staggering does not help
In a small bed, the extra rows do not always fit. A 12 × 4 ft bed with 1 ft spacing and 6 in margins holds 48 plants in a square grid, but only 46 when staggered, because the staggered rows leave a plant short at the end of each alternate row. The calculator therefore compares both for your bed. Staggered layouts are popular for orchards, hedges and commercial beds, where the gain is larger.
A hedge
A hedge bed 800 cm long and 60 cm wide with plants at 60 cm spacing and no margin has 2 rows of 14 plants, 28 in all, for a double hedge. The staggered pattern gives 27 here, because the second row holds one plant fewer than the first. A single hedge row would be 14 plants. Choose the units, centimetres, metres, feet or inches, to suit your measurements.
Edge margins
Plants at the very edge of a bed dry out and get trampled, so many beds keep a margin. The tool subtracts the margin from each side before counting, and reports zero plants with an error message if the bed is too small for the spacing and margin. Leave the margin at zero for a plant-to-the-edge layout such as a window box or a raised bed that is edged.
Limits
The tool counts plants in a rectangle and says nothing about the best spacing for any crop. It does not handle curved beds, intercropping or plants with different spacings, and the density figures are for the pattern as laid out. Check the spacing on your seed packet.
Related tools
- Lawn Calculator estimates seed and turf for the grass around the beds.
- Mulch and Gravel Calculator estimates the mulch for the bed.
- Area Converter converts bed areas between square metres and square feet.
- Percentage Calculator works out how much one layout gains over another.
Checked against the current version of the Plant Spacing Calculator on .

