Plant Spacing Calculator: Find the Perfect Distance Between Every Vegetable, Herb, and Flower
Planting too close together is the most common mistake in a home vegetable garden. Crowded plants compete for water, nutrients, and light, and they trap moisture against their leaves where fungal diseases like early blight and powdery mildew get started.
This plant spacing calculator works out exact plant counts for three planting styles: traditional rows, square foot gardening, and triangular intensive spacing. Pick a crop, tell it your bed size, and get a plant count plus a visual layout in seconds. Or flip it around and find out how much space a target number of plants will need.
This page contains Amazon affiliate links. As an Amazon Associate, GardenFoster earns from qualifying purchases at no extra cost to you.
Plant Spacing Calculator
Step 1 of 6
What do you want to work out?
Choose the direction that matches your situation.
Choose a planting layout
This decides how plant positions are arranged and how spacing is measured.
Select your plant
Spacing fills in automatically. You can fine-tune it on the next screen.
Confirm spacing
These numbers came from your plant choice. Adjust them if your variety or garden conditions differ.
This nudges the spacing below toward the airflow-friendly or space-saving end of the range for your general region. You can still edit the numbers directly afterward.
Your garden bed size
Choose the shape that matches your growing space.
A circular bed is converted to an equal-area square footprint for the calculation.
Have an odd-shaped or irregular bed? Work out the square footage with our Garden Bed Soil Calculator first, then bring that number back here.
How many plants do you want?
We will work out the bed size and layout that fits them.
Fewer rows make a longer, narrower bed. More rows make a shorter, wider one.
Edge margin
Most gardeners leave a small gap between the bed edge and the first plant so roots and leaves are not crammed against the frame.
Your Garden Layout
Recommended for this layout
How to Use This Plant Spacing Calculator
Start by choosing whether you already know your garden space or already know how many plants you want to grow, since the calculator solves in both directions. Next pick a planting method: rows for a traditional in-ground garden, the square foot grid for a raised bed, or triangular spacing if you want to squeeze in the most plants possible.
Select your crop from the list and the recommended spacing fills in automatically, pulled from standard home garden guidance. Adjust the numbers if your seed packet or plant tag says something different, enter your bed dimensions, and the calculator returns a plant count, a scaled diagram of the layout, and how many transplants to buy.
Why Does Plant Spacing Actually Matter?
Every recommended spacing distance balances five practical factors at once: airflow, competition, sunlight, mature size, and access for harvesting. Get the balance wrong in either direction and yield suffers.
Good airflow between plants keeps foliage dry after rain or watering, which is the single biggest factor in preventing fungal disease in a vegetable garden. Tight spacing traps humid air around the leaves, and diseases like powdery mildew, early blight, and downy mildew spread fastest in exactly those conditions.
Plants spaced too closely also compete underground. Roots overlap and fight for the same pocket of water and nutrients, which typically shows up as smaller fruit, slower growth, and a shorter harvest window even though the plants themselves look healthy above ground.
Spacing that is too wide has its own cost. Bare soil between plants dries out faster, invites weeds that then compete with your crop anyway, and simply wastes growing area that could be producing food.
What Is the Difference Between Row Spacing and In-Row Spacing?
In-row spacing is the distance between plants along the same row, sometimes called plant-to-plant spacing. Row spacing is the distance between one row and the next, measured from the center of one row to the center of the row beside it.
Seed packets and plant tags almost always list both numbers, usually written as something like “space 18 to 24 inches apart in rows 36 inches apart.” The first number is in-row spacing and the second is row spacing. Confusing the two is a common reason gardeners end up with a bed that is either overcrowded or has far more walking room than plants.
Do You Measure Spacing From the Stem or the Leaves?
Spacing is measured stem to stem, from the center of one plant to the center of the next, not from the outer edge of the leaves. Two young seedlings set 18 inches apart stem to stem will look far more crowded once their leaves fill in and start to touch, and that overlap at maturity is already built into the recommended number.
Should Seeds Be Planted Closer Together Than the Final Spacing?
Yes, for crops that are sown directly into the ground rather than transplanted, it is standard practice to sow seeds two to three times closer than the final spacing and then thin the seedlings once they come up. Carrots, radishes, beets, and lettuce are the most commonly thinned crops, since their seeds are small and germination rates are never perfectly predictable.
Thin by snipping unwanted seedlings at the soil line rather than pulling them, which avoids disturbing the roots of the seedling left behind. Wait until seedlings have their first true leaves before thinning, since it is often hard to tell the strongest seedling apart from the others any earlier than that.
Why Do Spacing Charts Give a Range Instead of One Exact Number?
Plant size varies by variety, soil fertility, and how the plant is trained or supported, which is why spacing is given as a range rather than a single fixed number. A determinate bush tomato needs less room than a sprawling indeterminate heirloom variety even though both are commonly labeled simply as “tomato.”
If your seed packet lists a different number than a general chart, follow the seed packet, since it reflects that specific variety rather than an average across all varieties of that vegetable. The calculator above lets you pick the minimum, recommended, or maximum distance, or type in the exact figure from your own seed packet.
Row Gardening vs Square Foot Gardening vs Triangular Spacing
These are the three planting layouts built into the calculator above, and each one suits a different kind of garden.
| Method | Best for | Space efficiency | Learning curve |
|---|---|---|---|
| Traditional rows | In-ground gardens, large plots, anywhere you need aisles for a wheelbarrow, hose, or mower | Lowest, since aisle space is unplanted | None, this is the method most seed packets are written for |
| Square foot grid | Raised beds, small yards, new gardeners who want a simple visual system | High, since the whole surface is planted with no aisles inside the bed | Low, plants per square is a fixed lookup for each crop |
| Triangular / offset | Experienced gardeners maximizing yield in a fixed footprint, biointensive methods | Highest, roughly 15% more plants than a square grid at the same spacing | Moderate, offset rows take more attention when planting |
Square foot gardening was popularized by Mel Bartholomew’s method of dividing a raised bed into 1 foot squares and planting a fixed number of each crop per square, from 16 radishes down to a single tomato. Gardeners often call this the “1-4-9-16 rule,” since almost every common vegetable fits one of those four counts per square. It removes the guesswork of measuring row after row and works especially well for gardeners new to vegetable growing. A physical grid laid over the bed makes the squares easy to see at planting time. Shop square foot garden grids
Triangular spacing, sometimes called offset or hexagonal spacing, comes from biointensive growing methods where every plant sits equidistant from its six neighbors rather than in straight lines. The tradeoff is that a triangular bed is trickier to weed and harvest efficiently compared to clean rows, so most gardeners reserve it for smaller, high-value plantings like lettuce or herbs rather than an entire vegetable plot.
None of these methods are exclusive. Many gardeners mix all three in the same growing space, for example planting root vegetables on a square foot grid while giving vining crops like squash or cucumber their own row along one edge for a trellis.
How Do You Calculate Plant Spacing for a Raised Bed?
The math is straightforward once you know your spacing numbers. Divide your bed’s usable length by the in-row spacing to get plants per row, divide the usable width by the row spacing to get the number of rows, then multiply the two together for a total plant count.
“Usable” length and width matter here because most gardeners leave a small margin between the plant closest to the frame and the frame itself, typically half the plant’s spacing distance. Skipping that margin is fine for leafy greens but leaves sprawling crops like squash or tomatoes pressed right up against the wood, which restricts root growth on that side. A properly sized bed with straight, even edges makes this whole calculation easier to get right in the first place. Shop raised bed kits
For square foot gardening the math changes slightly: multiply the bed’s length in feet by its width in feet to get total squares, then multiply by however many of that crop fit in one square. A 4 by 8 foot raised bed is 32 square feet, so a crop planted 4 per square would yield 128 plants across the entire bed.
Can You Plant Vegetables Too Close Together?
Yes, and it is more common than planting too far apart. Overcrowded plants show smaller individual fruit, slower ripening, and a much higher rate of fungal disease from trapped humidity between the leaves.
Tomatoes are the classic example. Two indeterminate tomato plants stuffed into an 18 inch gap will grow into each other by midsummer, block airflow through the middle of the canopy, and make blight far more likely than the same two plants given their full 30 to 36 inches. A sturdy cage or stake set at planting time also keeps the canopy more contained and easier to manage at any spacing. Shop tomato cages
What Happens If You Space Plants Too Far Apart?
The main cost is wasted growing area rather than damaged plants. Bare soil between widely spaced plants dries out faster in the sun, which means more frequent watering, and it also gives weeds an open invitation to move in and compete for the same resources you are trying to give your crop.
Total yield per square foot of garden also drops, since fewer plants are using the same amount of space, water, and sunlight. Wider spacing is sometimes worth that tradeoff for airflow-sensitive crops in humid climates, but for most vegetables the recommended range already accounts for that balance.
Does Plant Spacing Change Between Raised Beds and In-Ground Rows?
Raised beds generally allow tighter spacing than the same crop grown in native garden soil. Raised bed soil is loosened and amended, which lets roots spread more efficiently in a smaller area, and there is no need for wide aisles for foot traffic since most raised beds are narrow enough to reach across.
In-ground row gardens usually need wider aisles between rows, both to accommodate walking, wheelbarrows, or a garden cart, and because unamended native soil often compacts more easily and benefits from the extra root room. Many gardeners use the tighter end of a spacing range in a raised bed and the wider end for the same crop planted directly in the ground.
How Does Climate Affect Plant Spacing?
Humid climates benefit from spacing toward the wider end of the recommended range, since extra airflow between plants dries foliage faster after rain and reduces fungal disease pressure. This matters most for crops already prone to blight and mildew, like tomatoes, cucumbers, and squash, and it applies across most of the Southeast, the Mid-Atlantic, the Midwest, and the Pacific Northwest.
Hot, dry climates such as the Southwest, the High Plains, and interior California sometimes do better with slightly tighter spacing, since a fuller plant canopy shades the soil and slows water evaporation between waterings. Gardeners in short growing seasons, including the Northern Plains, the Mountain West, New England, and Alaska, also tend to plant a little tighter to maximize total yield before the first frost cuts the season short.
The calculator above includes an optional climate selector in the spacing step that applies exactly this logic, nudging the suggested distance toward the wider or tighter end of the range based on your general region. It is a starting point rather than a hard rule, since microclimates, elevation, and local rainfall vary even within the same state.
Does This Work for Container and Balcony Gardens?
Spacing rules still apply in containers, just measured between pots rather than within one continuous bed. A single large container usually holds one full-size plant at its normal mature spread, while a wide planter box can be treated like a small raised bed using the square foot gardening method above.
City and apartment gardeners without any ground bed can still use the “I already know my square footage” option, entering the total surface area of a balcony planter or window box to get an accurate plant count for that space.
Do Companion Planting Rules Affect Spacing?
Companion planting is really a separate decision from spacing distance, but the two do interact. Classic pairings like tomatoes with basil, or the “three sisters” combination of corn, beans, and squash, work because the plants have compatible root depths and growth habits, not because they need less space than usual.
When combining crops in the same bed, calculate each crop’s spacing separately using its own recommended distance rather than splitting the difference between two different plants. A dedicated garden layout planner that accounts for multiple crops in the same bed is a natural next step once single-crop spacing is dialed in.
Does This Calculator Work for Fruit Trees or Landscaping Shrubs?
This calculator is built for vegetables, herbs, small fruit like strawberries and brambles, and garden flowers, all of which are spaced based on avoiding root and canopy competition between similarly sized plants. Full-size fruit trees, ornamental shrubs, and hedges are spaced differently, based on the mature canopy width of one large woody plant rather than crowding between many small ones, so they fall outside the scope of this tool.
Complete Vegetable, Herb, and Flower Spacing Chart
This is the full reference table behind the calculator above, useful for a quick lookup without running the tool. In-row and row spacing are shown in inches, with the square foot gardening column showing how many of that crop fit in one 1 foot square. Sketching the layout in a garden journal before planting day helps catch spacing mistakes while they are still easy to fix. Shop garden planning journals
| Type | Plant | In-row spacing | Row spacing | Square foot gardening |
|---|---|---|---|---|
| Vegetable | Tomato (Bush) | 18–30″ | 24–36″ | 1 per sq ft |
| Vegetable | Tomato (Vining) | 24–36″ | 36–48″ | 1 per 2 sq ft |
| Vegetable | Pepper (bell or hot) | 16–24″ | 18–30″ | 1 per sq ft |
| Vegetable | Eggplant | 18–24″ | 24–36″ | 1 per sq ft |
| Vegetable | Cucumber (Trellised) | 10–18″ | 24–48″ | 1 per sq ft |
| Vegetable | Cucumber (Left to sprawl on the ground) | 24–48″ | 48–72″ | 1 per 4 sq ft |
| Vegetable | Zucchini / Summer squash | 24–36″ | 36–48″ | 1 per 2 sq ft |
| Vegetable | Winter squash (acorn, butternut, spaghetti) | 24–48″ | 48–72″ | 1 per 9 sq ft |
| Vegetable | Pumpkin | 36–60″ | 72–120″ | 1 per 16 sq ft |
| Vegetable | Melon (cantaloupe/honeydew) | 18–36″ | 48–72″ | 1 per 4 sq ft |
| Vegetable | Watermelon | 24–48″ | 72–96″ | 1 per 16 sq ft |
| Vegetable | Sweet corn | 8–12″ | 24–36″ | 1 per sq ft |
| Vegetable | Bush beans | 3–6″ | 18–24″ | 9 per sq ft |
| Vegetable | Pole beans | 4–8″ | 30–42″ | 1 per 2 sq ft |
| Vegetable | Peas (bush or climbing) | 2–4″ | 18–30″ | 8 per sq ft |
| Vegetable | Lettuce (head/romaine) | 10–14″ | 12–18″ | 1 per sq ft |
| Vegetable | Lettuce (loose leaf) | 4–8″ | 12–18″ | 4 per sq ft |
| Vegetable | Spinach | 3–6″ | 12–18″ | 9 per sq ft |
| Vegetable | Kale | 12–18″ | 18–24″ | 1 per sq ft |
| Vegetable | Swiss chard | 6–10″ | 18–24″ | 4 per sq ft |
| Vegetable | Broccoli | 18–24″ | 24–36″ | 1 per sq ft |
| Vegetable | Cauliflower | 18–24″ | 24–36″ | 1 per sq ft |
| Vegetable | Cabbage | 12–18″ | 24–36″ | 1 per sq ft |
| Vegetable | Brussels sprouts | 18–24″ | 24–36″ | 1 per sq ft |
| Vegetable | Carrot | 2–4″ | 12–18″ | 16 per sq ft |
| Vegetable | Beet | 3–6″ | 12–18″ | 9 per sq ft |
| Vegetable | Radish | 1–3″ | 6–12″ | 16 per sq ft |
| Vegetable | Turnip | 3–6″ | 12–18″ | 9 per sq ft |
| Vegetable | Onion (bulb) | 4–6″ | 12–18″ | 9 per sq ft |
| Vegetable | Garlic | 4–6″ | 10–18″ | 9 per sq ft |
| Vegetable | Leek | 4–6″ | 12–18″ | 9 per sq ft |
| Vegetable | Potato | 10–15″ | 30–36″ | 1 per sq ft |
| Vegetable | Sweet potato | 12–18″ | 36–48″ | 1 per 2 sq ft |
| Vegetable | Asparagus (permanent bed) | 12–18″ | 36–48″ | 1 per 2 sq ft |
| Vegetable | Celery | 6–10″ | 24–30″ | 4 per sq ft |
| Vegetable | Okra | 12–18″ | 36–42″ | 1 per 2 sq ft |
| Vegetable | Rhubarb (perennial) | 24–36″ | 36–48″ | 1 per 4 sq ft |
| Vegetable | Artichoke | 36–48″ | 48–60″ | 1 per 9 sq ft |
| Herb | Basil | 8–12″ | 12–18″ | 4 per sq ft |
| Herb | Cilantro | 4–8″ | 12–18″ | 9 per sq ft |
| Herb | Parsley | 6–10″ | 12–18″ | 4 per sq ft |
| Herb | Dill | 8–12″ | 12–18″ | 4 per sq ft |
| Herb | Thyme | 8–12″ | 12–18″ | 4 per sq ft |
| Herb | Rosemary | 24–36″ | 24–36″ | 1 per 4 sq ft |
| Herb | Oregano | 8–12″ | 12–18″ | 4 per sq ft |
| Herb | Sage | 18–24″ | 24–30″ | 1 per sq ft |
| Herb | Mint | 18–24″ | 24–36″ | 1 per sq ft |
| Herb | Chives | 6–10″ | 8–12″ | 9 per sq ft |
| Herb | Lavender | 18–30″ | 24–36″ | 1 per 4 sq ft |
| Fruit | Strawberry (June-bearing, matted row) | 12–18″ | 36–42″ | 1 per sq ft |
| Fruit | Strawberry (everbearing/day-neutral, hill system) | 10–14″ | 12–16″ | 1 per sq ft |
| Fruit | Blueberry bush | 36–60″ | 60–96″ | 1 per 16 sq ft |
| Fruit | Raspberry / Blackberry (bramble) | 24–36″ | 72–96″ | 1 per 16 sq ft |
| Flower | Marigold | 8–12″ | 10–14″ | 4 per sq ft |
| Flower | Zinnia | 6–18″ | 12–24″ | 1 per sq ft |
| Flower | Sunflower | 12–24″ | 18–36″ | 1 per 2 sq ft |
| Flower | Nasturtium | 8–12″ | 12–18″ | 4 per sq ft |
| Flower | Cosmos | 12–18″ | 18–24″ | 1 per sq ft |
| Flower | Petunia | 8–12″ | 10–14″ | 4 per sq ft |
| Flower | Pansy | 6–8″ | 8–10″ | 9 per sq ft |
| Flower | Snapdragon | 6–12″ | 12–18″ | 4 per sq ft |
| Flower | Creeping thyme (groundcover) | 12–18″ | 12–18″ | 1 per sq ft |
Quick Answers
How far apart should tomatoes be planted? Bush tomatoes need 18 to 24 inches between plants and 24 to 36 inches between rows. Staked or caged indeterminate tomatoes need more room, typically 24 to 36 inches between plants and 36 to 48 inches between rows.
How many tomato plants fit in a 4×8 raised bed? Using square foot gardening at 1 plant per 2 squares for a caged indeterminate tomato, a 4×8 bed holds about 16 tomato plants, though most gardeners plant far fewer and fill the rest of the bed with companion crops.
What is the spacing for square foot gardening? It ranges from 16 small plants like radishes or carrots per square foot down to 1 large plant like a tomato, pepper, or cabbage per square, or even 1 plant per 2 to 4 squares for sprawling crops like squash and melons.
Is triangular spacing better than row spacing? Triangular or offset spacing fits roughly 15% more plants into the same area than a square grid at the same plant-to-plant distance, at the cost of being harder to weed and harvest in straight passes.
How much space does one lettuce plant need? Head lettuce needs about 10 to 14 inches between plants, while loose leaf lettuce can be grown as close as 4 to 8 inches apart since you harvest outer leaves rather than a whole head.
Does plant spacing change depending on where in the US you garden? Yes. Humid regions like the Southeast and Midwest benefit from wider spacing for airflow, while hot dry regions like the Southwest and short-season areas like the Northern Plains or Alaska often do better with tighter spacing. The calculator above has an optional climate setting that adjusts for this automatically.
Should corn be planted in a single row or a block? Plant corn in a block of at least 4 rows by 4 plants rather than one long row, since corn is wind pollinated and a block allows pollen from surrounding plants to reach each ear. A single thin row usually results in poorly filled ears from incomplete pollination, regardless of correct in-row spacing.
Do you plant seeds at the final spacing or thin them later? For direct-sown crops like carrots, radishes, and lettuce, sow seeds closer than the final spacing and thin the seedlings after they sprout. This accounts for seeds that fail to germinate and lets you keep only the strongest seedling at each spot.
How many lettuce plants fit in a 4×4 raised bed? Using square foot gardening at 4 loose leaf lettuce plants per square, a 4×4 bed holds about 64 lettuce plants, or about 16 plants if growing head lettuce at 1 per square instead.
Tools and Supplies to Make Spacing Easy
A few inexpensive tools take the guesswork out of getting spacing right in the field, not just on paper.
Amended soil and defined edges make tighter, more accurate spacing possible.
Shop on Amazon Tomato Cages and Plant StakesKeeps sprawling tomatoes and peppers contained at their planned spacing.
Shop on Amazon Trellis NettingGrow cucumbers, peas, and pole beans vertically to save real bed space.
Shop on Amazon Square Foot Garden GridA physical overlay that makes the 1 ft squares easy to see at planting time.
Shop on Amazon Weatherproof Plant MarkersTrack what is planted where once seedlings all start looking the same.
Shop on Amazon Seed Starting TraysStart seedlings at the correct spacing before they ever reach the garden.
Shop on Amazon Dibber and Soil Knife SetMeasure exact planting depth and spacing by hand without guessing.
Shop on Amazon Garden Layout Planning JournalSketch this layout on paper so spacing mistakes get caught before planting day.
Shop on Amazon