Plant Spacing Calculator

By HarvestMath Editors Share:

Figure out exactly how many plants fit in any bed using real crop spacing recommendations. Select your crop, enter bed dimensions, and the plant spacing calculator shows total plant count for row gardening or square foot gardening — plus a full spacing chart for 20+ common vegetables, herbs, and flowers below.

Plant Spacing Calculator

Garden style
Units

Recommended: 24″ in-row × 36″ between rows

Space between plants along the row.

Space between rows (aisle / path width).

The math:

Plants per row = floor(Bed Length ÷ In-row Spacing)

Rows = floor(Bed Width ÷ Between-row Spacing)  ·  Total = Plants per row × Rows

Total plants that fit

4

Tomato (determinate)

Layout

4 × 1

plants per row × rows

32 sq ft bed

Scaled up: ~7,260 plants/acre · ~17,940 plants/hectare

Results assume a full rectangular bed with no paths or borders.

On this page

Get the free Plant Spacing & Garden Planner Cheat Sheet

A one-page PDF with the soil, mulch, and fertilizer math from this site — so you don’t have to do it in the store aisle. Emailed once, no follow-up spam.

One email with the PDF. No newsletter list. By signing up, you agree to our Privacy Policy.

How Much Space Do Plants Need?

Every plant has two spacing requirements: in-row spacing (the gap between individual plants within a single row) and between-row spacing (the gap from one row to the next). Both numbers come from how large the plant grows at maturity — roots competing underground, leaves competing for light above, and air movement between plants that slows down fungal disease.

Vegetables planted in a grid pattern showing proper spacing between rows
Proper grid spacing between vegetable rows improves airflow and reduces disease pressure.

Airflow matters more than most gardeners realize. Crowded plants create humid microclimates that accelerate powdery mildew, blight, and other fungal diseases. Proper spacing lets air circulate around leaves, drying them faster after rain or irrigation. This is why tomatoes at 24–36 inches apart dramatically outperform tomatoes crammed at 12 inches, even in the same soil.

Competition for nutrients and root space is the other factor. Tightly packed plants fight for the same water and mineral supply, resulting in smaller yields from every plant. It’s almost always better to plant fewer, well-spaced plants than to fill every inch of bed and have all of them underperform.

Square foot gardening uses a slightly different framework: each plant is assigned a square-foot block (e.g., 1 sq ft for a pepper, 4 sq ft for a tomato), and the bed is treated as a grid. This simplifies planning but uses the same underlying principle — each plant gets the area it needs at maturity.

Plant Spacing Chart

Reference spacing for 20+ common vegetables, herbs, and flowers. “In-row” is the space between individual plants; “between-row” is the space between rows. SFG column is square feet per plant for square foot gardening.

Plant Spacing Reference — common vegetables, herbs & flowers
Crop In-row spacing Between-row spacing SFG (sq ft/plant)
Basil 12 in 18 in 1
Bean (bush) 4 in 18 in 0.25 (9/sq ft)
Bean (pole) 6 in 24 in 0.25 (9/sq ft)
Beet 4 in 12 in 0.25 (9/sq ft)
Broccoli 18 in 24 in 1
Carrot 3 in 12 in 0.0625 (16/sq ft)
Cilantro 6 in 12 in 0.25 (4/sq ft)
Corn 12 in 30 in 1
Cucumber 12 in 36 in 1
Garlic 6 in 12 in 0.25 (4/sq ft)
Kale 12 in 18 in 1
Lettuce (head) 12 in 12 in 1
Lettuce (leaf) 6 in 12 in 0.25 (4/sq ft)
Marigold 12 in 18 in 1
Onion 4 in 12 in 0.25 (4/sq ft)
Parsley 8 in 12 in 0.25 (4/sq ft)
Pepper 18 in 24 in 1
Radish 2 in 12 in 0.0625 (16/sq ft)
Spinach 6 in 12 in 0.25 (4/sq ft)
Squash (summer) 24 in 36 in 4
Squash (winter) 36 in 48 in 9
Swiss Chard 6 in 18 in 0.25 (4/sq ft)
Tomato (determinate) 24 in 36 in 4
Tomato (indeterminate) 24 in 48 in 4
Zucchini 24 in 36 in 4

Spacing values reflect standard extension service recommendations at full plant maturity. Seed packet spacing may suggest tighter starts — thin to these values as plants grow.

Worked Example

You have a 4×8 ft raised bed and want to grow tomatoes (determinate) at the recommended spacing of 24 inches in-row and 36 inches between rows. Here’s the math:

  1. Plants per row: 8 ft ÷ (24″ ÷ 12) = 8 ÷ 2 = 4 plants per row.
  2. Number of rows: 4 ft ÷ (36″ ÷ 12) = 4 ÷ 3 = 1.33 → 1 row (floor to whole rows).
  3. Total plants: 4 × 1 = 4 tomato plants.

Four plants is a reasonable crop for a standard 4×8 bed. If you switched to square foot gardening mode, each tomato takes 4 sq ft, so 32 sq ft ÷ 4 = also 8 plants — but SFG typically uses the entire bed area without row paths, which is why the count differs. The calculator handles both methods automatically.

Need to prep the soil first? Use the raised bed soil calculator to figure out how many cubic feet of mix you need before you plant.

Common Mistakes

  • Planting at transplant size, not mature size. A 4-inch tomato seedling looks tiny at 24-inch spacing. Plant it anyway. The spacing is for the mature plant, not the seedling you can barely see in week one.
  • Ignoring between-row spacing. Most gardeners use in-row spacing only and crowd rows together. The result is poor airflow down the row and fungal problems by midsummer. Both dimensions matter.
  • Using the same spacing for every crop. A universal 12-inch spacing is fine for mid-size crops but disastrously tight for squash and far too loose for carrots. Always use crop-specific numbers.
  • Mixing up row garden and square foot gardening math. Row garden spacing includes path space between rows; SFG doesn’t. Using row spacing numbers in an SFG grid leads to overcrowding.
  • Forgetting to account for paths and borders. The calculator assumes the full bed area is planted. If you leave a border or a central stepping path, deduct that area from your dimensions first.

Plant Spacing Calculator FAQ

How do I calculate plant spacing?

Divide your bed length by the in-row spacing to get plants per row, then divide bed width by between-row spacing to get number of rows. Multiply those two numbers for total plants. For a 4×8 ft bed with tomatoes at 24-inch spacing: 8÷2 = 4 plants per row, 4÷3 = 1.3 → 1 row, total 4 plants. The calculator above does this automatically.

How far apart should I plant vegetables?

It depends on the crop. Compact vegetables like radishes and carrots need 2–4 inches in-row; mid-size crops like lettuce and peppers need 6–18 inches; large spreading plants like squash and tomatoes need 24–48 inches. Always use both in-row and between-row spacing — they are usually different. See the spacing chart below for specific crops.

How far apart does corn need to be planted?

Corn needs 12 inches in-row and 30 inches between rows. Plant it in blocks of at least 4 rows, not single long rows — corn is wind-pollinated, and a single row produces poor ear fill. A 4×8 ft bed fits about 4 corn plants in one row, which is not enough for reliable pollination; corn is better suited to larger plots.

How many plants can I fit per square foot?

It varies by crop. In square foot gardening: large plants like tomatoes and peppers get 1 plant per sq ft; medium plants like lettuce get 1–4 per sq ft; small plants like carrots get 16 per sq ft; tiny seeds like radishes get 16 per sq ft. The square foot gardening mode in the calculator uses these presets automatically.

What's the difference between in-row and between-row spacing?

In-row spacing is the distance between individual plants along a single row. Between-row spacing (also called row spacing) is the distance between one row and the next. Both are required to plan a bed — using only one number will either overcrowd plants or waste space. Most seed packets list both values.

Want the cheat sheet? A one-page PDF of the math from this site, emailed once.

No spam. See Privacy Policy.

Sources & further reading

Spacing values in the chart above are based on recommendations from university cooperative extension services. For plant quantity formulas, see Iowa State University Extension’s “How to Determine Plant Quantity for Planting Beds”. For more on how we source and validate the formulas used on this site, see our methodology page.

Last updated: July 8, 2026