Plant Spacing Calculator
Enter your bed's length and width, the row and plant spacing from your seed packet, and an edge margin — this calculator tells you how many rows fit, how many plants per row, and the total number of plants for your bed.
Plan How Many Plants Fit in Your Bed
Plant Spacing Formula
Where:
- \(L\) — bed length, the long side along which the rows run (cm or in)
- \(W\) — bed width, the short side across which the rows are spaced (cm or in)
- \(R\) — row spacing, the distance between the centres of two neighbouring rows (cm or in)
- \(P\) — plant spacing, the distance between the centres of two neighbouring plants in a row (cm or in)
- \(M\) — edge margin, the empty strip kept between the bed edge and the first row or plant (cm or in)
- \(A\) — usable planting area after the margins are removed (m\(^2\) or ft\(^2\))
The first row and the first plant sit exactly at the edge margin from the border; every further row or plant takes one additional full spacing. The floor function counts how many complete spacings fit in the remaining strip, and adding 1 accounts for that first row or plant. All inputs must use the same unit — the calculator converts inches to centimetres internally.
Plant Spacing – Calculation Example
Example: a raised bed measures 300 cm long and 120 cm wide. Rows are spaced 40 cm apart, plants 30 cm apart within a row, and you want to keep a 10 cm empty margin at every edge.
\[ \text{usable length} = 300 - 2 \times 10 = 280 \text{ cm} \]
\[ \text{usable width} = 120 - 2 \times 10 = 100 \text{ cm} \]
\[ N_{rows} = \left\lfloor \frac{100}{40} \right\rfloor + 1 = 2 + 1 = 3 \]
\[ N_{per\,row} = \left\lfloor \frac{280}{30} \right\rfloor + 1 = 9 + 1 = 10 \]
\[ N_{total} = 3 \times 10 = 30 \]
Result: 3 rows with 10 plants each, so 30 plants in total, planted in a usable area of 280 cm × 100 cm = 2.8 m\(^2\).
How to Use the Calculator
- Enter the Bed length — the long side of the bed, in the direction the rows will run — and pick its unit (cm or in).
- Enter the Bed width, the short side across which the rows are spaced, with its unit.
- Enter the Row spacing \(R\): the distance between the centres of two neighbouring rows. Seed packets and planting charts usually list this as the "row spacing".
- Enter the Plant spacing \(P\): the distance between the centres of two neighbouring plants within a row, also from your seed packet.
- Enter the Edge margin \(M\): the strip you want to leave empty along the bed edges. Enter 0 if you are happy to plant right at the edge.
- Read the results: the Number of Rows, the Plants per Row, the Total Plants, and the Usable Planting Area (shown in m\(^2\) for centimetre inputs and ft\(^2\) for inch inputs).
What Plant Spacing Means and Why It Matters
Plant spacing is the practice of placing plants at distances that give each one enough room for its roots and canopy. Every seed packet or planting chart gives two numbers: the distance between plants within a row, and the distance between the rows themselves. When plants sit too close together, they compete for light, water and nutrients, grow leggy or stunted, and the cramped foliage traps moisture that encourages fungal disease. When they sit too far apart, you waste bed space and leave bare soil where weeds can establish.
This calculator turns those two recommended distances into a concrete planting plan for your specific bed. Instead of guessing how many seedlings to buy or how many seeds to sow, you get an exact count of rows, plants per row and total plants. Because the first row and the first plant are placed at the edge margin from the border, the plan is symmetric — the outer rows sit the same distance from both sides of the bed, which looks tidy and makes weeding and harvesting from the edges easier.
Interpreting the result is straightforward: the Number of Rows tells you how many parallel lines to draw or string across the bed's width, and Plants per Row tells you how many plants to place along each line. If the total seems higher than you expected, double-check the spacing values — a row spacing of 40 cm with a plant spacing of 30 cm is typical for medium-sized vegetables such as lettuce or bush beans, while tomatoes or cabbage need considerably more room.
Assumptions, Limitations and Practical Tips
- Rectangular grid only. The calculator assumes rows run parallel to the long side of the bed and plants sit at equal intervals in a rectangular grid. It does not model triangular (offset) layouts, which fit roughly 15% more plants in the same area.
- Spacings are centre-to-centre. Both \(R\) and \(P\) are measured between the centres of neighbouring plants, not between their edges. If your chart gives a spacing as a distance between the outer leaves of mature plants, add the mature diameter to get the centre-to-centre value.
- The margin is subtracted on both sides. The edge margin applies to every side of the bed, so the usable strip shrinks by \(2M\) in both directions. If the margin equals or exceeds half the bed's length or width, the calculator warns you that no planting space is left.
- Perfect fit is not required. The floor function drops any leftover strip narrower than a full spacing, so there may be a small unused gap on one side. To use the bed more evenly, you can distribute this leftover space between the plants rather than leaving it at the end.
- Thin or transplant later. For directly sown seeds like carrots or radishes, sow generously and thin to the calculated spacing once seedlings emerge — the calculator's count is the final number of plants the bed supports at maturity.
- Mixed units are handled automatically. You may enter some dimensions in centimetres and others in inches; the calculator converts everything to centimetres before computing, so the counts stay correct. Keep each field's unit consistent with its value.
If you are growing vegetables partly to stock your pantry, plan the harvest side too: once you know how many plants fit, our Long-Term Food Storage calculator helps you estimate how much of the harvest you will be able to preserve or store. And if you would rather keep the bed simple, a single crop planted at the recommended spacing — as this calculator arranges it — is the most reliable starting point for new gardeners.
Frequently Asked Questions
What edge margin should I use?
A good rule of thumb is half the plant spacing: for plants spaced 30 cm apart, use a 15 cm margin. This keeps the outer plants as far from the border as from their neighbours. Use a larger margin (20–30 cm) if you walk along the bed edges, mulch heavily, or have a wooden frame that heats up in summer. Zero is fine for densely sown crops like carrots or radishes that don't mind the edge.
What are typical plant spacing values for common vegetables?
Common centre-to-centre guidelines: lettuce and spinach 20–30 cm, bush beans 10–15 cm, carrots and radishes 5 cm, beets 10 cm, cabbage and broccoli 45–60 cm, tomatoes 60–90 cm, peppers 45 cm, zucchini 90–100 cm. Always check your seed packet first — varieties differ, and dwarf or container cultivars can be spaced much closer than standard ones.
How do I convert plant spacing between inches and centimetres?
Use \(1 \text{ in} = 2.54 \text{ cm}\). So 12 in equals 30.5 cm, 18 in is about 46 cm, and 24 in is 61 cm. Going the other way, divide centimetres by 2.54: 30 cm is roughly 12 in, and 45 cm is about 18 in. This calculator also accepts mixed units — enter some fields in inches and others in centimetres, and it converts everything internally.
How many plants fit per square foot or square metre?
Divide the area by the product of the two spacings: \(N \approx \frac{A}{R \times P}\). For example, plants on a 30 cm \(\times\) 30 cm grid each need 0.09 m\(^2\), so about 11 fit per square metre (one per square foot). Note this estimate ignores the edge margin and rounding, so it runs slightly high compared with an exact row-by-row count for small beds.
Can I use this calculator for triangular or offset (staggered) planting?
Not directly — it assumes a rectangular grid. In an offset layout, every second row is shifted by half a plant spacing, and the rows sit closer together (about 0.87 \(\times\) the plant spacing). This fits roughly 15% more plants in the same bed. As a workaround, calculate the grid result, then multiply the total by 1.15 and round down — or plan the staggered rows yourself using 0.87P as your row spacing.
Why does my hand count differ from the calculator's result?
The most common mistake is forgetting the first plant or row. If a 280 cm strip holds plants every 30 cm, the answer is \(\lfloor 280/30 \rfloor + 1 = 10\), not 9 — the first plant occupies position zero, and only the gaps after it consume spacing. Also check that you measured spacing centre-to-centre, not from leaf edge to leaf edge, and that the margin was subtracted from both sides of the bed.
What if my bed is not a rectangle?
For an L-shaped or triangular bed, split it into rectangles, run the calculator for each section, and add the counts. For a circular or round bed, inscribe a square with side \(\sqrt{2}/2 \times\) diameter and calculate for that square — you can then tuck a few extra plants into the curved corners by hand if their mature size allows it.