How to use this calculator
Use spacing guidance for your crop and variety. Bed length runs along each row; bed width runs across the rows. Enter the center-to-center distance between plants along a row and the minimum distance from a plant center to every bed edge. By default, rows have the same spacing. Open Different spacing between rows and choose Yes to enter another center-to-center row distance. Choose inches or centimetres with the measurement-system control. To compare the other orientation, swap the bed length and width yourself; the calculator does not rotate the layout automatically.
The formula
A worked example
A 120 × 48 inch bed with 12 inch spacing and a 6 inch margin has 10 positions along its length and 4 across its width: 40 plants total. Keeping those measurements but using 18 inches between rows gives 10 plants per row × 3 rows = 30. In centimetres, a 240 × 120 cm bed with 15 cm margins, 20 cm spacing along rows and 45 cm between rows gives 11 × 3 = 33 positions.
Assumptions & limitations
This is an aligned rectangular-grid count, not a planting recommendation. All rows use the same within-row spacing and every adjacent row uses the same row spacing. It does not model staggered plants, double-row groups, paths, mixed crops or plant spread. The same minimum edge margin applies in both directions; the final plant or row may leave more space at the opposite edge. A dimension exactly twice the margin admits one center. Example spacings are editable arithmetic examples, not universal crop recommendations. The RHS reference provides crop-specific spacing context, not an endorsement of this geometric model.
Common questions
Is the spacing between plant edges?
No. Within-row spacing is center to center between plants. Row spacing is center line to center line between adjacent aligned rows.
Which bed dimension runs along the rows?
Bed length. Bed width is the dimension across the rows. Swap length and width to compare a rotated layout while keeping your chosen plant and row spacings.
Can I use this for double or staggered rows?
No. It uses equally separated, aligned single rows. A double-row arrangement needs its smaller within-pair gap and larger between-pair gap represented separately.
Why can the result be zero?
The chosen margin may leave no valid planting position along one side. Check the measurements and appropriate crop guidance before changing the margin.
Supporting reference
The method above states this calculator’s assumptions. This reference provides related definitions and technical context.
RHS: broad bean single-row spacing (crop-specific context) ↗Formula and worked example checked against automated test cases. About our methodology.