Seed packets are optimistic. “Sow 12 inches apart” sounds simple until you’re standing over a 4-foot window box with a packet of lettuce and no idea whether that means 8 plants or 16. Crowd them and they stay small and sulk. Space them too far apart and half the bed sits empty all summer.
This calculator does the counting for you. Enter the bed size and the spacing from the seed packet, and it tells you how many plants fit — in straight rows, and in a staggered layout that squeezes a few more in.
Table of Contents
The calculator
The count assumes each plant sits half a spacing in from the bed edges — so a 12-inch spacing means the first plant goes 6 inches in from the edge, not right against the wood. Use the spacing on the seed packet or plant tag; it already accounts for how wide that variety grows.
How to use it
Measure the inside of the bed or planter in feet. The spacing comes from the seed packet — the number after “thin to” or “space plants”. A window box is just a long, narrow bed, so the same maths works: a 24-inch box at 6-inch spacing is a 2-foot by 0.5-foot bed, roughly.
Try “show me both” before you decide on a layout. The staggered version usually wins on paper, but straight rows are easier to weed and water. For herbs you pick from daily, straight rows win on convenience even when they hold fewer plants.
The maths, in plain words
Square grid is simple division: plants along the length = bed length ÷ spacing (rounded down), plants across the width the same, then multiply the two. A 48-inch bed at 12-inch spacing holds 4 plants along its length; a 24-inch width holds 2 rows; 4 × 2 = 8 plants.
Staggered rows cheat the geometry. Each row is offset by half a spacing, so the rows can sit closer together — the gap between rows is spacing × 0.866 instead of the full spacing. (That 0.866 is the height of an equilateral triangle, if you remember school geometry.) Rows = bed width ÷ row gap, rounded down, plus one, and each row still holds the same number of plants as the grid. Packed this way, a bed holds roughly 15% more plants in the same area — that’s the theoretical gain from hexagonal packing, and it’s why the staggered count is usually higher.
Questions people ask
Can I just plant closer than the packet says?
You can, and leafy greens like lettuce forgive it — you harvest every other plant young and let the rest fill in. Root crops and fruiting plants don’t forgive it. A crowded tomato stays small and gets sick; a crowded carrot stays a thread.
What spacing do I use for a container, not a bed?
The same number, measured across the pot. A 12-inch pot at 6-inch spacing holds a grid of 2 × 2 — four plants. Round pots waste the corners, so treat the result as a maximum and plant one fewer if the pot is small.
Does the staggered layout really fit more?
Yes, by about 15% on a big bed. On a tiny bed the gain can look bigger or smaller because the edges eat the difference — the calculator shows the exact count for your bed, so trust its numbers over the rule of thumb.
What if my bed isn’t a rectangle?
Split it into rectangles in your head and run each one separately, then add the counts. An L-shaped bed is two rectangles. A round planter is roughly a square of the same width, minus a plant or two for the curved corners.
Keep reading
Spacing is only half the plan — the other half is timing: setting up an indoor vegetable garden in an apartment walks through containers, light and soil for food plants, and growing microgreens in a takeaway container is the one crop where spacing barely matters at all. Back to the full list of garden tools.