Plant Spacing Calculator

Planting area
m
Plants are lined up along the length; rows are counted across the width.
m
m
Leave blank or 0 to plant right up to the edges.
Spacing
m
Centre-to-centre distance between neighbouring plants, from the seed packet, plant tag or nursery.
Plants cost
Price in USD (or any currency) to estimate the total cost.
Biology Updated 5 Nov 2026

Plans how many plants a garden bed, orchard, vegetable plot or hedge will take. For an area, set the length, width and any unplanted border, then choose a square, rectangular (row) or triangular grid and either the distance between plants or a target number of plants per square metre or foot. For a hedge, enter its length, the spacing and one to four staggered rows, or the number of plants you want per row to get the spacing. Results include the plant count, rows and plants per row, the row spacing a triangular layout needs, planting density and, with a price per plant, the total cost.

  • The area is a rectangle and plants sit on grid points, with the outer plants on the edge of the planted area inside the border. Split an irregular area into rectangles and add the counts.
  • Spacing is centre to centre. Choose it from the plant's mature spread; recommended spacings vary with cultivar, climate and how quickly you want the plants to fill in.
  • Staggered hedge rows are offset by half a spacing; set the distance between rows yourself, since the calculator does not derive it from the spacing.
  • Costs use the price you enter per plant and do not include spares for losses.

Formula

Square or rectangular grid: plants = (⌊(W − 2b) ÷ r⌋ + 1) × (⌊(L − 2b) ÷ s⌋ + 1), with r = s for a square grid. Triangular grid: rows h = s × √3 ÷ 2 apart; rows = ⌊(W − 2b) ÷ h⌋ + 1; odd rows hold ⌊(L − 2b) ÷ s⌋ + 1 plants and even rows, offset by s ÷ 2, hold ⌊(L − 2b − s ÷ 2) ÷ s⌋ + 1. Spacing from density d: s = √(1 ÷ d) square, s = √(2 ÷ (√3 × d)) triangular.
  • L and W are the area's length and width, b the unplanted border on every edge, s the distance between plants in a row and r the distance between rows.
  • One plant is added after rounding down because the first and last plant of a row sit on the edges: a 3 m × 2 m bed at 50 cm takes (2 ÷ 0.5 + 1) × (3 ÷ 0.5 + 1) = 5 × 7 = 35 plants.
  • A triangular grid keeps every plant the same distance s from its six neighbours with rows only 0.866 s apart, so it holds about 15% more plants than a square grid at the same spacing. Swapping length and width can change the triangular count slightly.
  • Hedges use the same row rule along the hedge length. Extra rows are staggered by half a spacing, so an offset row can hold one plant fewer.
  • Density is the edge-free number of plants per unit area (1 ÷ s² for a square grid). Real counts are higher than density × area because edge and corner plants count in full.

Orchard 320 m × 240 m, triangular grid

Inputs
  • Type of planting: garden
  • Plant grid: triangular
  • Length unit: m
  • Area length: 320
  • Area width: 240
  • Border (unplanted strip along each edge): 2
  • Length of hedge: 10
  • I know the…: spacing
  • Find: count
  • Number of rows: 1
  • Spacing unit: m
  • Plant spacing (s): 3.5
  • Target density: 4
  • Row spacing (r):
  • Plant spacing (s): 0.33
  • Plants per row: 31
  • Distance between rows: 0.4
  • Cost per plant, optional:

Orchard example: a 2 m border leaves 316 m × 236 m to plant, with trees 3.5 m apart in a triangular grid. Rows sit 3.5 × √3 ÷ 2 = 3.03 m apart, so ⌊236 ÷ 3.031⌋ + 1 = 78 rows fit. Odd rows hold ⌊316 ÷ 3.5⌋ + 1 = 91 trees and even rows, starting 1.75 m in, hold ⌊314.25 ÷ 3.5⌋ + 1 = 90. The orchard takes 39 × 91 + 39 × 90 = 7,059 trees.

Sources & references

Frequently asked questions

How far apart should vegetables be planted?
Use the mature size on the seed packet. NC State Extension's intensive-bed guide gives, for example, 18–24 in (46–61 cm) for tomatoes and summer squash, 9–12 in (23–30 cm) for peppers, 10 in (25 cm) for head lettuce, 4–6 in (10–15 cm) for spinach and leaf lettuce, and 2–3 in (5–8 cm) for carrots and beets, with the same distance in every direction.
How do I work out plant spacing from a target density?
For a square grid, s = √(1 ÷ d); for a triangular grid, s = √(2 ÷ (√3 × d)). At 2 plants per m², a square grid needs √0.5 = 0.71 m between plants and a triangular grid √(2 ÷ 3.464) = 0.76 m, because triangular packing uses the space more evenly.
How many hedge plants do I need per metre?
Most hedge plants go about 33 cm apart, roughly 3 per metre; low or slow hedges such as dwarf box are planted closer, around 15 cm. A 10 m single row at 33 cm with a plant at each end takes 31 plants. A staggered double row 40 cm apart takes 61, because the offset row starts half a spacing in.
Why is the plant count higher than density × area?
Density assumes each plant owns a full s × s cell, but plants on the edges and corners only use part of a cell. A 3 m × 2 m bed at 50 cm has a density of 4 per m², or 24 plants by area, yet 5 rows of 7 plants, 35 in total, fit with plants on the edges. Add a border if the outer plants need room to spread.
Should I use a square or triangular grid for ground cover?
Clemson Extension notes that a staggered row pattern usually gives the quickest cover of a groundcover bed, and it aims for full cover by the end of the third growing season. A triangular grid fits about 15% more plants than a square grid at the same spacing; square or row grids are easier to mark out and weed between.

Related calculators