Calculators / Garden and firewood
Plant spacing calculator
Measure the bed, then pick what you're planting or read the spacing off the tag. You'll get how far apart they go and how many fit.
Updated · How we check our numbers
Plants to buy
47 plants
40 sq ft at 12 in apart on a staggered grid. A square grid would take 40.
- Bed
- 40 sq ft
- Plants
- 47
Estimate for planning only, not professional advice. Check the manufacturer’s instructions, your local code and a licensed professional before you buy, build or install. Use at your own risk. Terms.
bed = 10 × 4 ft = 40 sq ft
each plant = (12 ÷ 12)² × 0.866 = 0.866 sq ft
plants = 40 ÷ that = 47, rounded up
Use the spacing on the plant tag, center to center. It allows for the plant’s full size, so beds look sparse the first season.
Keep the outer row half the spacing (6 in) in from the edge. Long, thin beds hold a few fewer plants than the math says.
How we work it out
Pick a crop and the spacing comes from extension tables. In a bed, every plant gets the same distance each way, the way Colorado State spaces crops in block beds, and we count a grid with the outer plants half a spacing in from the edges. Tomatoes at 24 in apart fill a 4 × 8 ft bed with 2 rows of 4: 8 plants. Where a source gives a range, the count uses the wide end and gives the close one beside it.
Row spacing is for a garden laid out in rows with a path between: University of Missouri Extension's distances between plants and between rows (the hand-cultivated figures). Square-foot counts are UF/IFAS's one, four, nine or sixteen to a square.
| Crop | In a bed | In the row | Between rows | Per sq ft |
|---|---|---|---|---|
| Basil | 12 to 18 in each way (Kentucky) | – | – | – |
| Beets | 4 to 6 in each way (Colorado State) | 3 in (Missouri) | 18 in | 9 |
| Broccoli | 18 in each way (Colorado State) | 24 in (Missouri) | 30 in | 1 |
| Cabbage | 18 in each way (Colorado State) | 12 in (Missouri) | 24 in | 1 |
| Cantaloupe | 36 to 48 in each way (Colorado State) | 60 in (Missouri) | 48 in | – |
| Carrots | 2 to 3 in each way (Colorado State) | 3 in (Missouri) | 18 in | 16 |
| Cauliflower | 18 in each way (Colorado State) | 24 in (Missouri) | 24 in | – |
| Cucumbers | 24 to 36 in each way (Colorado State) | 48 in (Missouri) | 36 in | 1 |
| Eggplant | 18 to 24 in each way (Colorado State) | 24 in (Missouri) | 24 in | 1 |
| Garlic | 6 in, rows 12 in (Cornell) | 6 in (Cornell) | 12 in | – |
| Green beans | 6 in each way (Colorado State) | 3 in (Missouri) | 24 in | 9 |
| Kale | 8 in, rows 24 in (Missouri) | 8 in (Missouri) | 24 in | 1 |
| Lettuce | 7 to 9 in each way (Colorado State) | 3 to 6 in (Missouri) | 18 in | 4 |
| Onions | 4 to 6 in each way (Colorado State) | 3 in (Missouri) | 18 in | 16 |
| Peas | 4 to 6 in each way (Colorado State) | 2 in (Missouri) | 24 in | 9 |
| Peppers | 15 to 18 in each way (Colorado State) | 18 in (Missouri) | 30 in | 1 |
| Potatoes | 12 to 15 in each way (Colorado State) | 12 in (Missouri) | 30 in | 1 |
| Pumpkins | 60 in, rows 48 in (Missouri) | 60 in (Missouri) | 48 in | – |
| Radishes | 2 to 3 in each way (Colorado State) | 1 in (Missouri) | 18 in | 16 |
| Spinach | 4 to 6 in each way (Colorado State) | 3 in (Missouri) | 18 in | 4 |
| Strawberries | 18 to 30 in, rows 36 to 48 in (Illinois) | 18 to 30 in (Illinois) | 36 to 48 in | – |
| Sweet corn | 12 in, rows 30 in (Colorado State) | 10 in (Missouri) | 36 in | – |
| Sweet potatoes | 12 in, rows 30 in (Missouri) | 12 in (Missouri) | 30 in | 1 |
| Swiss chard | 7 to 9 in each way (Colorado State) | 3 in (Missouri) | 18 in | 4 |
| Tomatoes | 24 in each way (Colorado State) | 18 to 36 in (Missouri) | 42 to 48 in | 1 |
| Watermelon | 36 to 48 in each way (Colorado State) | 36 in (Cornell) | 60 in | – |
| Winter squash | 36 to 48 in each way (Colorado State) | 60 in (Missouri) | 48 in | – |
| Zucchini and summer squash | 36 to 48 in each way (Colorado State) | 48 in (Missouri) | 48 in | – |
Want this on paper with what to plant next to what? The printable companion planting chart has the same spacing. For a plant that isn't listed, choose “My own spacing” and use the tag:
square grid: plants = bed sq ft ÷ (spacing ft)²
staggered grid: plants = bed sq ft ÷ ((spacing ft)² × 0.866)
Staggered rows sit closer together (0.866 of the spacing, from the triangle each three plants make), so the same bed takes about 15% more plants and fills in with fewer gaps. Use the center-to-center spacing on the tag.
Zinnias, peonies and tulips from the planting calendar aren't in the list: the extension pages we used for them give plant widths or plant bulbs in clumps, not a spacing to count from.
Where the numbers come from
- University of Missouri Extension: Vegetable Planting Calendar (G6201), Table 1: Planning and planting guides (reviewed Sept 2017)
- Colorado State Extension: Vegetable Planting Guide, CMG GardenNotes #720, Tables 1 and 2 (reviewed Sept 2024)
- Cornell Cooperative Extension: Recommended Spacing & Expected Yield for Garden Vegetables in New York (Steve Reiners) (May 2017)
- UF/IFAS Gardening Solutions: Square Foot Gardening (undated)
- University of Kentucky Extension: Growing Your Own: Basil (NEP-237) (issued Oct 2024)
- University of Illinois Extension: Growing Strawberries (undated)
Not sure of the size?
When to plant
For the bed
More calculators
- Deer-resistant plantsWhich plants do deer leave alone in my zone?
- Mosquito plantsDo citronella and lavender keep mosquitoes away?
- Privacy hedgeHow many arborvitae, how far apart, and how soon to full height?
- Tick and mosquito seasonWhen are ticks, mosquitoes and termite swarms out where I live?
- Firewood cordHow many cords is my stack?
- Tree removal costWhat does it cost to take down, trim or grind out a tree?
- Raised bed soilHow many bags of soil for my raised beds?
- Raised bed plansHow tall and wide, and what boards do I buy?