SwiftTools

Plant Spacing Calculator

A 10 by 10 foot bed at 12-inch spacing holds 100 plants in a square grid — about 115 in a triangular layout. Enter your bed below for the exact count in either layout.

Your bed
square grid = floor(length ÷ spacing) × floor(width ÷ spacing) · triangular ≈ square × 1.1547 · rows = floor(length ÷ in-row spacing) × floor(width ÷ between-row spacing) · counts round down — a partial space at the edge cannot hold a plant

Spacing is center-to-center distance between neighbouring plants, taken from the seed packet or plant tag for the mature plant — not the seedling you are holding. The counts round down to whole plants, because a partial space at the edge cannot hold a plant at full spacing, and the triangular number is a rounded estimate: edge rows never pack perfectly, so the page reports it as an estimate rather than pretending it counted exact positions. The bed measurements are the inside dimensions of the actual planting area — for a raised bed, measure inside the boards, not over them.

Rule-of-thumb spacing, not precision engineering. Varieties differ, and the seed packet is the final word. Estimates only: the counts assume a flat rectangular bed and even spacing throughout.

How the plant spacing calculator works

The count is two divisions, both rounded down. Plants along the length are the bed length divided by the spacing, rounded down, and plants along the width the same way; multiply the two for the square grid. On the default — a 10 by 10 foot bed, 12-inch spacing — that is floor(120 / 12) x floor(120 / 12) = 10 x 10 = 100 plants, one square foot per plant. A triangular or offset layout staggers every other row by half a spacing, so rows sit 0.866 times the spacing apart and each plant owns spacing squared times 0.866 of ground; the density ratio is 1 / 0.866 = 2 / sqrt(3), about 1.1547, so the same bed holds about 100 x 1.1547 = 115 plants — roughly 15% more.

The worked example is the lawnandgardencalc one, and the cross-checks agree exactly. Nrtechstudio runs a 4 by 8 foot bed at 12 inches: floor(96 / 12) x floor(48 / 12) = 8 x 4 = 32 plants on a square grid, and 32 x 1.1547 = 36.95, rounded to about 37 triangular. Quickcalcsus runs the same 8 by 4 foot bed at 12 inches and reports the same 32 and 37. The metric twin agrees too: a 1.2 by 2.4 metre bed at 30 cm spacing is floor(240 / 30) x floor(120 / 30) = 8 x 4 = 32 plants.

Row planting is the same rule with two spacings instead of one: in-row spacing along the length and between-row spacing across the width. A 25-foot row at 6-inch in-row spacing holds floor(300 / 6) = 50 plants by this page's rule — see the FAQ for the variant that adds one for a plant at each end. Tomatoes take 24 inches in the row and 36 between rows, peppers 18 and 24, lettuce 8 to 12 and 12, carrots 2 to 3 and 8 to 10, beans 4 and 18 to 24 — rule-of-thumb spacing from standard horticultural guidance, and the seed packet is the final word for the variety you actually bought.

The one rule this page chose deliberately is the endpoint rule: floor, no plus one. Nrtechstudio's row example adds one plant per row — one at each end — so their 25-foot row at 6 inches is 51 plants, not 50, and ourcalculators builds its whole grid on floor plus one: their 10 by 4 foot bed at 24 inches is 6 x 3 = 18 plants, against 10 by the area shortcut. Both rules are defensible — plus one counts the plants on the edges, floor counts the geometric maximum inside the bed — but they give different answers, which is why counts differ between calculators. This page states its rule on the page: floor, no plus one, edges excluded.

Common mistakes: dividing the bed area by the spacing squared, which is only right when every plant owns a full square and the bed divides evenly — on a 10 by 4 foot bed at 24 inches the shortcut says 10 plants, the grid count says 18 with edge plants or 10 without, so the shortcut hides the real question; spacing for the seedling size instead of the mature plant, which crowds the bed by midsummer; and measuring the outside of a raised bed instead of the inside, which overstates the planting area by the board thickness on every side.

square grid = floor(length / spacing) x floor(width / spacing) · triangular ≈ square x 1.1547 (about 15% more) · rows = floor(length / in-row spacing) x floor(width / between-row spacing) · area per plant = spacing x spacing · counts round down, edges excluded

Related tools

Start the bed from seed with the Grass Seed Calculator, fill it with the Raised Bed Soil Calculator and the Compost Calculator, water it with the Drip Irrigation Calculator, and cover it with the Mulch Calculator.

Plant spacing calculator FAQ

How many plants fit in my garden bed?

Divide each side by the spacing and round down, then multiply. A 10 by 10 ft bed at 12-inch spacing holds floor(120 / 12) x floor(120 / 12) = 100 plants on a square grid, about 115 in a triangular layout.

Square grid or triangular spacing — which fits more?

Triangular, by about 15%: it staggers every other row by half a spacing, so rows sit 0.866 times the spacing apart and each plant owns less ground. A 100-plant square grid becomes about 115 triangular. The trade-off is a fiddlier layout to mark out.

Why do different calculators give different plant counts?

The endpoint rule. This page counts floor, no plus one — the geometric maximum inside the bed. Some calculators add one plant per row for a plant at each end, so a 25 ft row at 6 in is 51 plants there and 50 here. Both are defensible; this page states its rule on the page.

What spacing do tomatoes need?

About 24 inches in the row and 36 inches between rows, from standard horticultural guidance. Peppers take 18 and 24, lettuce 8 to 12 and 12, carrots 2 to 3 and 8 to 10, beans 4 and 18 to 24 — and the seed packet is the final word for your variety.

How do I space plants in rows?

Use the in-row spacing along the length and the between-row spacing across the width: plants are floor(length / in-row) times floor(width / between-row). Pick Rows in the layout field and set both spacings.

Can I use metric measurements?

Yes — convert metres to feet first (1 m = 3.28 ft) and centimetres to inches (1 cm = 0.39 in), or run the same rule directly: a 1.2 by 2.4 m bed at 30 cm spacing is 8 by 4 = 32 plants.

Should I use the spacing on the seed packet?

Yes — spacing comes from the plant, not from this page. The packet prints the recommended spacing for the mature plant, which is the center-to-center distance to enter here, in inches.