Skip to main content

Plant Spacing Calculator

The Plant Spacing Calculator works out how many plants of a given crop fit into a rectangular bed, row or raised bed, using the in-row and between-row spacing published by agricultural extension services for home gardens.

Bed size is entered in feet or metres; spacing and margin are entered in inches or centimetres.

Loads the standard home-garden spacing for the crop. Your own values below always override it.

Staggered rows offset alternate rows by half the in-row distance, tightening the grid.

Length of the bed in feet (imperial) or metres (metric).

Width of the bed in feet (imperial) or metres (metric).

Unplanted border left for walking, hoeing and access, in inches (imperial) or cm (metric).

Distance between plants inside the row, in inches (imperial) or cm (metric). Leave blank to use the crop default.

Distance between rows, in inches (imperial) or cm (metric). Leave blank to use the crop default.

How many plants you actually want to grow, to see the bed area needed at this spacing.

Calculated Result
10 plantsplants

Plants for This Bed

Total Plants for This Bed

10

Rows x Plants per Row

2 rows x 5 plants

Plants per Square Foot

4 / sq ft (4 / m²)

Spacing Used

24 in in row, 48 in between rows

Area per Plant

1152 sq in (8 sq ft)

Bed Footprint

8 x 4 ft = 32 sq ft (2.97 m²)

Planting Grid Span

8 x 4 ft, leaving 0 ft spare along the bed length

Total Planted Row Length

16 ft

Order or Start This Many

11 (includes 10% spare)

Seeding or Transplanting Plan

Start or buy about 11 seedlings and transplant them 24 in apart.

10 Tomato (staked) Plants — A Tomato (staked) bed of this size holds 10 plants.

Calculation Breakdown

  1. 1. Subtract the working margin from the bedUsable length = 8 ft - 2 x 0 in = 8 ft (96 in); usable width = 4 ft - 2 x 0 in = 4 ft (48 in)
  2. 2. Count plants along one rowPlants per row = floor(96 in / 24 in) + 1 = 5
  3. 3. Count the rows across the bedNumber of rows = floor(48 in / 48 in) + 1 = 2
  4. 4. Multiply for the bed totalTotal plants = 5 x 2 = 10 plants over 32 sq ft
  5. 5. Convert to a density benchmarkPlants per sq ft = 32 sq ft / 8 sq ft per plant = 4

How One Bed Divides Between Crops

Interactive visualization based on your current inputs

Plant count
0.061123184245TomatoPepper / CapsicumSweet CornOnionCarrotCropPlants in This Bed

What Is the Plant Spacing Calculator?

The Plant Spacing Calculator is a garden layout tool that converts a crop, a bed size and a spacing pair into an exact plant count, together with the planting density in plants per square foot and the quantity to buy or sow.

Home gardens are usually planned by area rather than by field size. A raised bed might be 8 ft by 4 ft, an in-ground row might be 30 ft by 3 ft, and the question is the same in both cases: how many plants can be grown there at a sensible spacing? Extension charts answer that question with an in-row spacing and a between-row spacing for each crop.

The calculator applies those two numbers as geometry rather than as a rule of thumb, so the answer matches the bed you actually have, including any margin you want to leave for access.

How Does the Plant Spacing Calculator Work?

The usable bed is the bed minus twice the working margin, converted to a single unit (inches internally) so the spacing pair can be applied directly.

Plants per row = floor(usable length / in-row spacing) + 1. The floor gives the number of complete gaps along the row; the extra one plants the first and last position, so a row exactly divisible by the spacing gains a plant at each end.

Rows = floor(usable width / row spacing) + 1, using the same gap-plus-one rule across the bed.

Total plants = plants per row x rows. The tool also reports the pitch rectangle each plant occupies (in-row spacing x row spacing), the bed area, and the resulting plants per square foot.

In a staggered layout the in-row distance is multiplied by sqrt(3) / 2 = 0.866, the triangular packing factor. Alternating rows sit half an interval out of line, so a row at the bed edge does not need a wider gap, and the bed holds about 15% more plants.

If you enter a target plant count, the tool divides the target by the current count to show the bed area required at that spacing.

Plant Spacing Calculator Formula & Variables

The core mathematical equation utilized by this calculator is expressed as:

Plants per row=⌊L−2ms⌋+1Rows=⌊W−2mr⌋+1Total plants=Plants per row×Rowssstaggered=s⋅32≈0.866 s\text{Plants per row} = \left\lfloor \frac{L - 2m}{s} \right\rfloor + 1 \qquad \text{Rows} = \left\lfloor \frac{W - 2m}{r} \right\rfloor + 1 \\ \text{Total plants} = \text{Plants per row} \times \text{Rows} \qquad s_{\text{staggered}} = s \cdot \frac{\sqrt{3}}{2} \approx 0.866\,s

Variable Definitions

SymbolVariable Meaning & Units
Bed lengthOverall length of the planting bed in feet or metres
marginUnplanted working border on each edge, in the same unit as the spacing
In-row spacingPlant-to-plant distance within a row, in inches or centimetres
Row spacingDistance between adjacent rows, in inches or centimetres
sqrt(3) / 2Triangular packing factor = 0.866, the gain from staggering alternate rows

Spacing a bed is a matter of dividing the usable ground by the ground each plant needs. The usable ground is the bed minus twice the working margin. Dividing the usable length by the in-row spacing tells you how many gaps fit along a row; adding one puts a plant at each end of the row, so the count is the number of gaps plus one rather than the number of plants that merely fit. The same rule across the width gives the number of rows, and the total is the two multiplied together. Staggering alternate rows by half the in-row distance allows the in-row distance to shrink to 0.866 of the rectangular value, which is where the extra 15% capacity comes from.

How to Use the Plant Spacing Calculator

  1. Choose imperial or metric units. Bed size is entered in feet or metres; spacing and margin are entered in inches or centimetres.
  2. Pick the crop. The in-row and row spacing load automatically from extension charts, and you can override either value if you are following a specific variety or seed packet.
  3. Enter the bed length and width. Use the long dimension as the length so the row count runs across the bed.
  4. Add a working margin if you need room to walk, hoe or reach the middle of the bed.
  5. Choose rectangular or staggered rows. Staggered rows increase the count but make access harder.
  6. Optionally enter a target plant count to see how much bed that number of plants needs.
  7. Read the plant count, the order quantity including 10% spare, the planting grid span and the density per square foot.
  8. Compare the crops in the bar chart to see how the same bed divides between tomatoes and carrots.

Step-by-Step Example Calculation

8 ft x 4 ft Raised Bed of Staked Tomatoes

Input Values:

unitSystem:imperial
plant:tomato
layout:rectangular
bedLength:8
bedWidth:4
edgeMarginInches:0
Worked Steps: Usable bed = 8 ft x 4 ft = 96 in x 48 in. Plants per row = floor(96 / 24) + 1 = 5. Rows = floor(48 / 48) + 1 = 2. Total = 5 x 2 = 10 plants on 32 sq ft, or 4 plants per square foot (0.8 plants per square metre). Each plant occupies 24 in x 48 in = 1152 sq in = 8 sq ft. Adding 10% for losses gives an order of 11 plants.

Understanding Your Result

Plants per row and rows: the two numbers that produce the total. If either is far lower than expected, the bed is smaller than the spacing requires.

Total plants: the planting count for the bed at the chosen spacing, which is the number to order, start or sow plus spare.

Order or start this many: the total plus 10%, covering germination losses, transplant shock and cutworm damage.

Area per plant: the pitch rectangle of in-row spacing x row spacing, the ground each plant claims.

Plants per square foot: the bed density, useful for comparing different crops on the same bed and for square-foot-garden planning.

Planting grid span: the ground from the first to the last plant in each direction, and the slack left over, which shows whether the spacing can be widened slightly.

Factors That Affect the Result

  • Crop variety: staked tomatoes can be planted at 24 in while indeterminate tomatoes need 36 to 48 in, so the same bed can hold twice as many.
  • Staking and trellising: a staked or trellised crop is planted closer than a sprawling one because its canopy is held off the ground and air can move through it.
  • Bed width: beds wider than about 4 ft become hard to reach across, which reduces the usable width in practice even if the plants would fit.
  • Staggered versus rectangular layout: staggering buys about 15% more plants but makes hoeing, mulching and harvesting less tidy.
  • Intended use: a bed harvested young for salad greens can be planted at salad-bar density, while the same bed of brassicas left to mature needs square-foot spacing.

When Should You Use This Calculator?

  • Raised-bed planning: deciding what to grow in a 4 ft by 8 ft bed before buying seed or transplants.
  • Row crops: working out how many plants a 30 ft row of beans or corn will hold.
  • Succession and intercropping: filling leftover bed space with a tightly spaced crop such as radish or lettuce between slower crops.
  • Market garden and smallholding layout: translating field spacing figures into bed counts.
  • Seed order planning: converting a bed plan into a quantity of seed or transplants to buy.

Assumptions & Limitations

  • Assumes a rectangular bed with straight rows, which is how home beds are normally planted.
  • Assumes the whole bed is at the same spacing; interplanting and irregular spacing will give fewer plants than the grid count.
  • Uses the published average spacing for each crop. Individual varieties, rootstocks and local growing conditions shift the practical figure.
  • Counts plants at the bed edges, so a bed with a generous margin reports fewer plants than the same bed planted edge to edge.
  • Does not account for replacement planting, intercropped companion plants or double-cropping the same ground in one season.

Frequently Asked Questions

Calculation Accuracy & Reference Note

Spacing pairs follow home-garden vegetable charts published by university extension services, which in turn follow the standard horticultural spacing for each crop.

Standard Reference: Cornell University Cooperative Extension vegetable spacing charts; University of Missouri Extension Growing Home Vegetables; University of Minnesota Extension vegetable spacing; Square Foot Gardening spacing conventions.