Plant spacing calculator
Bed size and spacing in, plant count out: square grid, offset rows and square-foot layout.
How the calculator works
Each plant gets a circle of room the size of the spacing. The first plant sits half a spacing in from the edge, so the outer plants get as much room as the inner ones. Along one side that gives (side − spacing) ÷ spacing + 1 plants, rounded down.
- Square grid: rows and columns at the same spacing.
- Offset rows: every other row is shifted half a spacing, and rows sit closer together (spacing × 0.866) while every plant stays the full spacing from its neighbours.
- Square-foot layout: whole 1 ft squares times 1, 4, 9 or 16 plants per square.
Worked example
A 4 × 8 ft bed is 48 × 96 inches. At 12 in spacing the square grid fits 4 across and 8 along: 32 plants. Offset rows fit 30. At 18 in spacing the grid fits 10 and offset rows fit 9. In square-foot layout at 4 plants per square the same bed holds 128.
Plant counts by spacing
| Spacing | 4 × 4 ft (grid / offset) | 4 × 8 ft (grid / offset) | 3 × 6 ft (grid / offset) |
|---|---|---|---|
| 3 in | 256 / 279 | 512 / 567 | 288 / 306 |
| 4 in | 144 / 150 | 288 / 306 | 162 / 175 |
| 6 in | 64 / 68 | 128 / 140 | 72 / 69 |
| 9 in | 25 / 27 | 50 / 60 | 32 / 30 |
| 12 in | 16 / 14 | 32 / 30 | 18 / 17 |
| 18 in | 4 / 4 | 10 / 9 | 8 / 7 |
| 24 in | 4 / 3 | 8 / 7 | 3 / 3 |
| 36 in | 1 / 1 | 2 / 2 | 2 / 2 |
Spacing for common vegetables
As given by the university extension guides we use for planting dates. Some are in-row spacings with wider gaps between rows, so read the note before using the number above.
| Crop | Spacing |
|---|---|
| Tomatoes | 24 in, trellised (CSU #720) |
| Peppers | 15–18 in (CSU #720) |
| Leaf lettuce | 7–9 in (CSU #720) |
| Carrots | 2–3 in (CSU #720) |
| Potatoes | 12–15 in (CSU #720) |
| Cucumbers | 6 in trellised, 24–36 in untrellised (CSU #720) |
| Snap beans | 6 in, or 4 × 12 in (CSU #720) |
| Summer squash (zucchini) | 36–48 in (CSU #720) |
| Kale | 12–18 in in the row, rows 2 ft apart (USU) |
| Garlic | 3–4 in (USU) to 6 in (Illinois) in the row |
| Pumpkins | 2 to 3 seeds every 3–4 ft, rows 8–12 ft apart (UMD) |
| Onions | 4–6 in, from seed or sets (CSU #720) |
| Sweet corn | 12 × 30 in or 9 × 36 in (CSU #720) |
| Sunflowers | Sow 3–4 in apart, thin to 6–18 in (OSU) |
| Peas | 4–6 in, or 3 × 8 in (CSU #720) |
| Spinach | 4–6 in (CSU #720) |
| Winter squash | 36–48 in (CSU #720) |
| Watermelons | 36–48 in (CSU #720) |
| Cantaloupes | 36–48 in (CSU #720) |
| Broccoli | 18 in (CSU #720) |
| Cabbage | 18 in (CSU #720) |
| Cauliflower | 18 in (CSU #720) |
| Beets | 4–6 in (CSU #720) |
| Radishes | 2–3 in (CSU #720) |
| Sweet potatoes | About 1 ft apart on ridges, rows 3 ft apart (Penn State) |
| Okra | 12–18 in in the row, rows 36–48 in apart (UMD) |
| Brussels sprouts | 18–24 in in the row, rows 30–36 in apart (UMD) |
| Swiss chard | 7–9 in (CSU #720) |
| Eggplant | 18–24 in (CSU #720) |
Sources: Colorado State University Extension, GardenNotes #720 Vegetable Planting Guide (published June 2018, reviewed September 2024), Oregon State University Extension, Soil temperature conditions for vegetable seed germination (J. F. Harrington; published April 2013, reviewed 2024), Purdue Extension HO-186, Indiana Vegetable Planting Calendar (Rosie Lerner), Utah State University Extension, How to Grow Kale in Your Garden, Cornell Cooperative Extension Schoharie and Otsego Counties, Guide for Growing Garlic, Utah State University Extension, How to Grow Garlic in Your Garden, University of Illinois Extension, When and how to plant garlic in the fall (Alexis R. Barnes, 2026-10-30), University of Maryland Extension, Growing Pumpkins in a Home Garden (updated September 14, 2023), University of Georgia CAES, Halloween Pumpkins Have to Start in Summer (Wayne J. McLaurin), University of Arkansas System Division of Agriculture, Mid-June: Plant pumpkins soon for Halloween arrival (June 3, 2020), Oregon State University Extension Service, Sunflowers (Feb 2025), University of Illinois Extension, Plant Sunflowers in Mid-May for Summer Beauty and Pollinator Power (April 30, 2025), Penn State Extension, Sweet Potatoes, a Winning Vine for Your Garden, University of Maryland Extension, Growing Okra in a Home Garden (updated February 20, 2023), Utah State University Extension, Okra in the Garden, University of Maryland Extension, Growing Brussels Sprouts in a Home Garden (updated February 20, 2023), University of Illinois Extension, Home Vegetable Gardening: Brussels Sprouts, Utah State University Extension, How to Grow Swiss Chard in Your Garden.
Limits
- The count is for a bed with nothing else in it; paths, supports and trellis posts take space.
- Crops spaced in rows (with a wider gap between rows) don't fit a square grid; use the row spacing from the seed packet instead.
Questions
Short answers from the numbers on this page.
Why does the count start half a spacing from the edge?
So the outer plants get the same room as the inner ones. A 4 ft bed at 12 in spacing fits 4 plants across, not 5.
Do offset rows always fit more plants?
In wide beds, yes. In narrow beds they can fit fewer, because the shifted rows lose a plant at the end. The calculator shows both so you can compare.