Calculate plant positions for grid or staggered spacing

Count boundary-to-boundary planting positions on a square or staggered grid inside a rectangular bed.

freeworks offlinenothing uploaded
ToolPlant Spacing Calculator
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

A square grid counts floor(side ÷ spacing) plus the first boundary point on each axis. A staggered layout separates rows by sin(60°) × spacing and shifts every second row by half the horizontal spacing, so alternate rows can contain fewer positions near an edge.

Formula
square-axis count = floor(side ÷ spacing) + 1
staggered row gap = sin(60°) × spacing
  • The geometry has no crop default; spacing must come from the species, cultivar, equipment, and growing method.

Worked example

Boundary positions in a 2 × 1 m bed
Count a square grid at 30 cm spacing from the first boundary point
Input
											Length m: 2
Width m: 1
Spacing cm: 30
Layout: rows
										
Output
												Plants needed: 28
Rows: 7
Plants per row: 4
Row spacing cm: 30
											

When to use this

Nursery plug beds, orchard stake plans, and regular drip-emitter layouts count positions from known spacing.

Edge cases

  • Using floor(side ÷ spacing) without adding the first boundary point undercounts a boundary-to-boundary row.
  • A half-spacing offset can make every second staggered row one position shorter.
  • A mathematically fitting count does not establish agronomic spacing for a crop or orchard.