Last updated: June 24, 2026
Plant Spacing Calculator
Creators
Dharmendra SinghReviewers

Creators
Dharmendra SinghReviewers
Quick Answer
The plant spacing calculator finds how many plants fit in a bed using Total plants = ⌊(Length × 12 ÷ Plant Spacing)⌋ × ⌊(Width × 12 ÷ Row Spacing)⌋, where bed dimensions are in feet and spacings are in inches. For example, a 20×10 ft bed at 18-inch rows and 12-inch plants holds 120 plants. This free tool also reports rows, plants per row, and area per plant.
To find how many plants fit, divide the bed length by the plant spacing and the bed width by the row spacing, round each down, and multiply them together.
Key Takeaways
- Total plants = plants per row × number of rows, with both directions rounded down to whole plants.
- Plants per row = bed length (in) ÷ plant spacing; rows = bed width (in) ÷ row spacing.
- Enter bed size in feet and spacing in inches — mixing units is the most common mistake.
- Use equal row and plant spacing to model square-foot or grid gardening.
- Area per plant = row spacing × plant spacing ÷ 144 (in square feet).
Creators
Dharmendra SinghReviewers

Creators
Dharmendra SinghReviewers
Formula
Plants = ⌊(Length × 12) ÷ Plant Spacing⌋ × ⌊(Width × 12) ÷ Row Spacing⌋
Where:
- N=Total number of plants(plants)
- L=Bed length(feet)
- W=Bed width(feet)
- S_p=In-row plant spacing(inches)
- S_r=Row spacing(inches)
Worked Examples
Vegetable bed — 20 × 10 ft
A 20 ft by 10 ft vegetable bed with rows 18 inches apart and plants 12 inches apart in the row.
- 1Plants per row = ⌊(20 × 12) ÷ 12⌋ = ⌊240 ÷ 12⌋ = 20
- 2Number of rows = ⌊(10 × 12) ÷ 18⌋ = ⌊120 ÷ 18⌋ = 6
- 3Total plants = 20 × 6 = 120
- 4Area per plant = (18 × 12) ÷ 144 = 1.5 ft²
Square-foot raised bed — 4 × 4 ft
A 4 ft by 4 ft raised bed planted on a 6-inch grid (intensive spacing).
- 1Plants per row = ⌊(4 × 12) ÷ 6⌋ = ⌊48 ÷ 6⌋ = 8
- 2Number of rows = ⌊(4 × 12) ÷ 6⌋ = 8
- 3Total plants = 8 × 8 = 64
- 4Area per plant = (6 × 6) ÷ 144 = 0.25 ft²
Introduction
The Plant Spacing Calculator tells you exactly how many plants will fit in a garden bed or field from four numbers: the bed's length and width (in feet) and your chosen row and in-row spacing (in inches). It lays plants out on a grid — counting whole rows and whole plants per row — so you get a realistic plant count, not just a theoretical estimate. Correct spacing is the single biggest factor in healthy growth: it controls airflow, light, and root competition. Use this tool to plan a planting, then check density per acre with our plant population calculator or estimate seed quantities with the vegetable seed calculator.
How the Plant Spacing Calculator Works
The calculator converts your bed dimensions from feet to inches, then divides by your spacing to count how many plants fit along each axis. Plants run along the length and rows run across the width. Because you can't grow a fraction of a plant, it rounds each direction down to a whole number, then multiplies the two for the total. It also reports the number of rows, plants per row, and the area each plant occupies.
Enter bed length and width in feet
Enter row spacing and in-row plant spacing in inches
Plants per row = bed length ÷ plant spacing (rounded down)
Number of rows = bed width ÷ row spacing (rounded down)
Total plants = rows × plants per row
Measuring a circular or irregular bed? Estimate its area, then use our plant population calculator for a density-based count instead of a grid.
Why Correct Plant Spacing Matters
Spacing decides how much light, water, air, and nutrients each plant gets. Crowded plants stretch for light, develop weak stems, dry slowly after rain, and trade yield for foliage — while also inviting fungal disease. Plants spaced too far apart waste bed space and let weeds fill the gaps. Hitting the recommended spacing for each crop is the easiest way to improve both yield and plant health.
Good airflow between plants reduces fungal disease
Adequate light prevents leggy, weak growth
Right spacing limits root competition for water and nutrients
Proper gaps make weeding, harvesting, and scouting easier
Over-spacing wastes bed area and increases weed pressure
Vegetable Plant Spacing Chart
Every crop has its own ideal spacing. The chart below lists common vegetables with typical in-row and between-row spacing for traditional row gardens, drawn from university extension planting guides. For intensive raised beds, many gardeners use the in-row figure in both directions. Always check your seed packet, since varieties differ.
| Vegetable | In-Row Spacing | Row Spacing |
|---|---|---|
| Lettuce | 8–12 in | 12–18 in |
| Carrots | 2–3 in | 12–18 in |
| Tomatoes | 18–24 in | 36–48 in |
| Peppers | 12–18 in | 24–36 in |
| Bush beans | 3–4 in | 18–24 in |
| Broccoli | 18 in | 24–36 in |
| Onions | 3–4 in | 12–18 in |
Spacing ranges are general 2026 home-garden guidelines; follow your seed packet for variety-specific advice.
Square-Foot Gardening Spacing
Square-foot gardening divides a raised bed into 1 ft × 1 ft cells and plants a set number per cell based on each plant's size. It's an intensive method that maximizes a small bed. To model it here, set both row and plant spacing equal (e.g., 6 in for 4 plants per square foot, 4 in for 9, or 3 in for 16). The area per plant output makes it easy to compare layouts.
| Plants per Square Foot | Spacing (both directions) | Examples |
|---|---|---|
| 1 | 12 in | Tomato, pepper, broccoli |
| 4 | 6 in | Lettuce, basil, marigold |
| 9 | 4 in | Bush beans, spinach, beets |
| 16 | 3 in | Carrots, radishes, onions |
Row Planting vs Grid (Equidistant) Spacing
Traditional row planting uses wider spacing between rows than between plants, leaving walking paths and room for tools. Grid or equidistant spacing uses the same gap in both directions, fitting more plants into the same area — ideal for raised beds you tend by hand. This calculator supports both: just set the row and plant spacing to different values for rows, or equal values for a grid.
Row planting: easier access, better for large plots and machinery
Grid planting: higher density, best for small intensive beds
Equal spacing both ways shades out weeds faster
Wider rows improve airflow for disease-prone crops
Match the method to how you'll water, weed, and harvest
Triangular (offset) spacing fits about 15% more plants than a square grid for the same minimum distance — useful for groundcovers and intensive beds.
Worked Example: 20 × 10 ft Vegetable Bed
Say you have a 20 ft × 10 ft bed and want rows 18 inches apart with plants 12 inches apart in the row. Converting to inches, the 20 ft length holds ⌊240 ÷ 12⌋ = 20 plants per row, and the 10 ft width holds ⌊120 ÷ 18⌋ = 6 rows. That's 120 plants total, each occupying (18 × 12) ÷ 144 = 1.5 ft². Want more plants? Tightening the rows to 12 inches would give 10 rows and 200 plants — exactly the kind of comparison this tool makes instant.
Counts are rounded down because partial rows and partial plants can't be planted.
Common Plant Spacing Mistakes
Most spacing errors come from mixing units or planting to the seedling size instead of the mature size. Avoiding these keeps your bed productive and healthy all season.
Spacing for the seedling, not the full-grown plant
Mixing feet and inches — enter bed size in feet, spacing in inches
Forgetting paths and reach when planning a large bed
Ignoring vertical supports that allow tighter spacing (trellised crops)
Planting disease-prone crops too close, reducing airflow
Copying field row spacing into a small raised bed
Plant Spacing Glossary
Key terms used in plant spacing and garden layout. Understanding them helps you read seed packets and planting guides correctly.
| Term | Definition |
|---|---|
| Plant spacing | The distance between individual plants within a row. |
| Row spacing | The distance between adjacent rows of plants. |
| Grid / equidistant spacing | Equal spacing in both directions, maximizing density. |
| Triangular spacing | Offset rows that fit more plants for a given minimum distance. |
| Square-foot gardening | An intensive method dividing a bed into 1 ft² planting cells. |
| Area per plant | The ground area each plant occupies (row × plant spacing). |
| Thinning | Removing seedlings to achieve the final target spacing. |
Quick Reference Card
Plant Spacing — Quick Reference
Quick reference • Plant Spacing Calculator
Plants = ⌊Length(in) ÷ Plant Spacing⌋ × ⌊Width(in) ÷ Row Spacing⌋Valid range: Bed length & width 0.1–5000 ft; spacing 0.5–120 in
Common Values
⚠ Watch Out
- •Enter bed size in feet but spacing in inches
- •Space for the mature plant, not the seedling
- •Partial rows and plants are rounded down
- •Leave room for paths and reach in large beds
Pro Tips
- →Set row and plant spacing equal to model a square-foot grid
- →Tighten row spacing to fit more rows when access isn't needed
- →Use the area-per-plant output to compare layouts quickly
- →Trellised crops can be spaced closer since they grow upward
FAQs
How do I calculate plant spacing for a garden bed?
Divide the bed length (in inches) by the in-row plant spacing to get plants per row, and the bed width (in inches) by the row spacing to get the number of rows, then multiply the two. For a 20×10 ft bed at 18-inch rows and 12-inch plants, that's 20 × 6 = 120 plants.
What is the difference between row spacing and plant spacing?
Plant spacing is the gap between individual plants within a row, while row spacing is the gap between adjacent rows. Row spacing is usually wider to allow airflow and access. Both are needed to lay plants out on a grid and count the total.
How far apart should I space vegetables?
It depends on the crop: lettuce needs about 8–12 inches, tomatoes 18–24 inches, and carrots just 2–3 inches in the row. Always check the seed packet, and space for the mature plant size, not the seedling. See the spacing chart above for common vegetables.
What is square-foot gardening spacing?
Square-foot gardening divides a raised bed into 1 ft² cells and plants 1, 4, 9, or 16 plants per cell depending on size. To model it here, set row and plant spacing equal — 6 inches for 4 per square foot, 4 inches for 9, or 3 inches for 16.
Why does the calculator round down?
You can't plant a fraction of a plant or fit a partial row, so the calculator rounds each direction down to a whole number before multiplying. This gives a realistic plant count you can actually achieve in the bed.
Should I use grid or row spacing?
Use row spacing (wider between rows) for large plots, machinery, or crops that need airflow. Use grid (equal) spacing for small raised beds you tend by hand — it fits more plants and shades out weeds. The calculator supports both; just set the two spacings equal for a grid.
How much area does each plant need?
Each plant occupies the row spacing times the plant spacing. The calculator shows this as 'area per plant' in square feet — for example, 18-inch rows with 12-inch plants give (18 × 12) ÷ 144 = 1.5 ft² per plant.
Can I use this calculator for flowers or trees?
Yes. The grid math works for any plant — flowers, shrubs, groundcovers, or nursery trees. Just enter the recommended spacing for that plant. For orchard or forestry layouts, our [tree spacing calculator](/biology/tree-spacing-calculator) is purpose-built.
Does closer spacing increase yield?
Up to a point. Tighter spacing raises total plants and can boost yield per area, but past the crop's optimum it causes competition, smaller produce, and more disease. The goal is the recommended spacing, not the maximum number of plants.
How do I space plants in a circular or raised bed?
For rectangular raised beds, enter the length and width directly. For circular or irregular beds, estimate the area and use our plant population calculator for a density-based count, since the grid method assumes a rectangle.
Is the Plant Spacing Calculator free to use?
Yes, the calculator is completely free with no registration required. You can use it unlimited times to plan beds, compare layouts, and estimate how many plants or transplants to buy.