Plant Spacing & Layout Calculator

Turn a rectangular planting bed into an explicit planting plan. Compare up to three layouts with different spacing, row direction, edge margins, offsets and buying options. Add up to eight overlapping rectangular paths or no-plant zones; each center is counted only once. Inspect every surviving center on a scaled map and in a paginated coordinate table, then export exact coordinates and a reconciled plant or tray order. Switch metres, centimetres, feet and inches without changing the physical plan. This tool counts a specified finite lattice, not an optimal packing arrangement. It does not select species, estimate mature canopy clearance, predict survival, plan irrigation or establish landscape-code compliance. Prices and tax are user-entered USD assumptions.

Planting layout studio

Plan every plant, path and tray.

Compare finite planting patterns, see exactly where each center fits, and order whole trays with transparent costs.

Shape your planting plan

Choose spacing for your actual plants from their label or suitable local guidance. This is a geometric layout and purchasing plan, not a species recommendation or a canopy-clearance check. Prices are illustrative USD.

Origin is the upper-left corner; x increases rightward and y downward. Geometry accepts up to six decimal places or exact fractions. Converted fractions preserve quantities. Bounds are checked in metres: bed sides 0.1–100 m, spacing 0.01–100 m. A blank required value stops the result.

Paths and no-plant rectangles

Centers on or inside these rectangles are removed. Overlaps are counted once. Coordinates start at each rectangle’s upper-left corner; every rectangle must fit inside the bed.

Exclusion 1

Compare planting and ordering choices

The first row begins at margin + row phase; its first plant begins at margin + along-row phase. Odd rows shift by half a plant spacing for staggered and triangular patterns. No positions are backfilled before these origins.

Layout 1

This places centers away from edges; it does not model the plant’s spread.

Layout 2

Triangular pitch = plant spacing × √3/2. Custom pitch is retained for other patterns.

This places centers away from edges; it does not model the plant’s spread.

Rectangular rows: 80 planting centers. Triangular rows: 82 planting centers.

What fits and what to order

Bed area: 24 m². Exclusion union: 4 m². Counts come from individual lattice centers, not area divided by spacing.

Rectangular rows

80 centers

Buy 96 plants in 4 trays. 16 left after planting.

≈ $145.80

Triangular rows

82 centers

Buy 96 plants in 4 trays. 14 left after planting.

≈ $145.80

Layout count reconciliation
LayoutCandidate centersExcluded centersPlanting centersRow pitch
Rectangular rows961680≈ 0.5 m
Triangular rows1042282≈ 0.433013 m

Your planting map

Rectangular rows: 80 planting centersScaled rectangular bed with gray exclusion rectangles, a dashed center-margin boundary and blue plant-center dots. Origin upper left, x rightward and y downward. Every center is in the paginated coordinate table below.
Bed x: 6 m; bed y: 4 m. Blue dots are centers, not mature plant sizes; gray areas exclude centers, and the dashed line marks the center margin. All 80 centers are plotted. Very narrow or dense plans are easier to inspect in the coordinate table. This compares authored patterns, not an optimal packing solution.

Plant-center coordinates

Rows and columns are one-based; skipped columns are excluded centers. Approximate coordinates are labeled ≈. CSV retains exact metre coordinates, including triangular √3 terms.

Plant-center coordinates
RowColumnx (m)y (m)Locate
11≈ 0.25 m≈ 0.25 m
12≈ 0.75 m≈ 0.25 m
13≈ 1.25 m≈ 0.25 m
14≈ 1.75 m≈ 0.25 m
15≈ 2.25 m≈ 0.25 m
18≈ 3.75 m≈ 0.25 m
19≈ 4.25 m≈ 0.25 m
110≈ 4.75 m≈ 0.25 m
111≈ 5.25 m≈ 0.25 m
112≈ 5.75 m≈ 0.25 m
21≈ 0.25 m≈ 0.75 m
22≈ 0.75 m≈ 0.75 m
23≈ 1.25 m≈ 0.75 m
24≈ 1.75 m≈ 0.75 m
25≈ 2.25 m≈ 0.75 m
28≈ 3.75 m≈ 0.75 m
29≈ 4.25 m≈ 0.75 m
210≈ 4.75 m≈ 0.75 m
211≈ 5.25 m≈ 0.75 m
212≈ 5.75 m≈ 0.75 m
31≈ 0.25 m≈ 1.25 m
32≈ 0.75 m≈ 1.25 m
33≈ 1.25 m≈ 1.25 m
34≈ 1.75 m≈ 1.25 m
35≈ 2.25 m≈ 1.25 m
38≈ 3.75 m≈ 1.25 m
39≈ 4.25 m≈ 1.25 m
310≈ 4.75 m≈ 1.25 m
311≈ 5.25 m≈ 1.25 m
312≈ 5.75 m≈ 1.25 m
41≈ 0.25 m≈ 1.75 m
42≈ 0.75 m≈ 1.75 m
43≈ 1.25 m≈ 1.75 m
44≈ 1.75 m≈ 1.75 m
45≈ 2.25 m≈ 1.75 m
48≈ 3.75 m≈ 1.75 m
49≈ 4.25 m≈ 1.75 m
410≈ 4.75 m≈ 1.75 m
411≈ 5.25 m≈ 1.75 m
412≈ 5.75 m≈ 1.75 m
51≈ 0.25 m≈ 2.25 m
52≈ 0.75 m≈ 2.25 m
53≈ 1.25 m≈ 2.25 m
54≈ 1.75 m≈ 2.25 m
55≈ 2.25 m≈ 2.25 m
58≈ 3.75 m≈ 2.25 m
59≈ 4.25 m≈ 2.25 m
510≈ 4.75 m≈ 2.25 m
511≈ 5.25 m≈ 2.25 m
512≈ 5.75 m≈ 2.25 m
Page 1 of 2 · 80 centers

Order reconciliation

Plant order and cost reconciliation
ItemValue
Planting centers80
Extras after rounding upward4
Plants needed with extras84
Whole trays4
Tray overage beyond extras12
Total plants purchased96
Surplus after planting16
Plants / trays (USD)≈ $120.00
Charged delivery (USD)≈ $15.00
Tax (USD)≈ $10.80
Total (USD)≈ $145.80

Inset area after clipping overlapping exclusions: ≈ 15.75 m². This area does not replace center counting. Extras round up first, then trays. Empty orders have no delivery charge; entered tax applies to plants plus delivery.

Keep the plan

CSV contains every input, exact result, row range and supported plant coordinate. Limit layouts contain diagnostics only. Geometry coordinates use metres; prices use USD. Invalid active inputs disable export.

How to use this calculator

  1. Load Center-path example or Overlapping-path example. Choose Geometry units and enter Bed length / x and Bed width / y. Coordinates start at the upper-left corner, with x to the right and y downward.
  2. Add paths and no-plant rectangles with Start x, Start y, Length along x and Width along y. Rectangles may overlap, but must fit inside the bed. Delete an unused rectangle rather than leaving required geometry blank.
  3. Choose each layout’s Pattern and Rows run along direction. Enter plant spacing from appropriate plant-specific guidance, then custom Row pitch if applicable. Set Center margin, Along-row phase and Row phase. Duplicate a layout to compare a different arrangement.
  4. Enter Extra plants and choose individual or whole-tray purchase. Supply actual prices, delivery and tax assumptions. Read the planting-center count separately from the purchase quantity and surplus.
  5. Choose Layout to inspect. Use the complete coordinate table and Show on map to locate a center; continue through pages for the entire plan. A calculation-limit notice needs a smaller bed or larger spacing, not acceptance of a partial result.
  6. Download CSV or open Selectable CSV for exact input, result and coordinate data. Verify dimensions, plant suitability and supplier quantities before using the plan on site. Converted fractions preserve quantities; finish incomplete geometry before changing units.

The Formula

The mathematical logic powering this calculation is:

Let U be the dimension along rows and V the dimension across rows. For center margin m, along-row phase a, row phase b, plant spacing s and row pitch h, row j is at v = m + b + jh, for nonnegative integer j. Its column k is at u = m + a + ks, plus s/2 on odd rows for staggered and triangular layouts. Only centers with m ≤ u ≤ U−m and m ≤ v ≤ V−m are candidates. Row direction maps (u,v) to (x,y) or (y,x). There is no backfill before the chosen origins.
Rectangular and staggered layouts use the entered row pitch. Equilateral triangular layout uses h = s√3/2 exactly, not a rounded 0.866 multiplier. This follows the right triangle with hypotenuse s and horizontal leg s/2. Exact rational-plus-√3 comparisons determine boundary membership; display rounding cannot add or remove a plant. The City of Tacoma manual illustrates triangular groundcover spacing, but its municipal planting requirements are not applied here.
Remove centers on or inside any exclusion rectangle. Overlaps remove each center once. Rectangle union area and clipped inset area are reported separately; neither area divided by spacing nor an infinite-grid density is used to count finite positions. A zero-area inset can still contain centers along a line or at a point.
For N surviving centers and extra percentage e, plants needed = ceil(N × (1 + e/100)). When buying individually, purchased = plants needed. With trays of t plants, trays = ceil(plants needed/t) and purchased = trays × t. Spare allowance = plants needed − N; tray overage = purchased − plants needed; surplus after planting = purchased − N.
Materials = purchased × individual price, or trays × tray price. Delivery is charged once only when purchased > 0. Tax = (materials + charged delivery) × tax percentage/100. Total = materials + delivery + tax. No order optimization, shipping bands or tax jurisdiction is inferred. Exact fractions are retained for calculations and CSV; currency display is approximate.
Geometry bounds in metres: bed sides 0.1–100; spacing/pitch 0.01–100; margin 0–50 and no greater than half either bed side; phase 0–100. Exclusions have nonnegative origins, sides 0.01–100 and must fit inside the bed. Inputs accept up to six decimal places and 12 significant digits, or exact fractions with numerator/positive denominator up to 32 digits. Unit conversion uses 1 ft = 0.3048 m and 1 in = 0.0254 m exactly; conversion that cannot retain accepted precision leaves the draft unchanged. A layout above 2,500 rows or 20,000 candidate centers before exclusions returns a limit state without partial counts or orders. Up to three layouts and eight exclusions are supported. Extras/tax accept 0–100% to four decimal places, trays contain 1–1000 whole plants, and prices/delivery accept $0–$1,000,000 to two decimal places. Blank active values remain invalid.

Worked Example

If you input:

  • Bed and path: 6 × 4 m bed; a 1 m-wide path starts at x = 2.5 m, y = 0 and spans the full 4 m width.
  • Compared patterns: Rectangular and equilateral triangular rows along x; plant spacing 0.5 m, rectangular row pitch 0.5 m, center margin 0.25 m, phases zero.
  • Ordering assumptions: 5% extras; trays of 24 plants at $30 per tray; $15 delivery; 8% tax on plants plus delivery.

Result:

Rectangular rows have 96 candidate centers, 16 excluded and 80 to plant. Triangular rows have 104 candidates, 22 excluded and 82 to plant. With 5% extras, the required quantities round up to 84 and 87 plants. Both orders need 4 trays, purchasing 96 plants. Surplus after planting is 16 or 14 plants. Each order costs $120 in trays + $15 delivery + $10.80 tax = $145.80. The bed area is 24 m² and the path union is 4 m²; finite center counts are not obtained by dividing the remaining area by spacing.

Frequently Asked Questions

How do I choose the spacing for my plants?

Use species- and site-appropriate guidance, such as seed packets, nursery pot labels or local horticultural advice. The default 0.5 m is an editable geometric example, not a recommendation for every plant. The planner does not model mature foliage, roots, light, water or competition.

Does triangular spacing always fit more plants?

An infinite triangular lattice has a higher density than a square lattice with the same nearest-neighbor distance. A finite bed with margins, explicit offsets and exclusions can behave differently. Compare the actual reported center counts rather than assuming a fixed percentage increase. Custom staggered pitch also changes nearest-neighbor distances.

What happens to plants exactly on a boundary?

A center exactly on the inset margin boundary is allowed. A center on the boundary of a path or no-plant rectangle is excluded. Overlapping rectangles remove a center once. Triangular decisions use exact rational-plus-√3 arithmetic, so rounding in the map or table does not decide membership.

Why does a layout with the same area have a different count?

Row direction, margin, starting phase, pattern and excluded centers all matter in a finite bed. This calculator enumerates authored row/column positions through exact ranges. It does not use an area-density estimate, shift the grid to maximize a count, or solve arbitrary circle packing.

Are the blue dots the full size of my plants?

No. Dots indicate centers and are drawn for visibility. The margin applies to centers only. You must separately account for mature canopy, pathways, access, utilities and any local rules. A layout is not a planting suitability or compliance assessment.

Why are there more purchased plants than planting positions?

The entered extra percentage rounds the needed quantity upward first. A whole-tray order then rounds that quantity up to complete trays. Surplus after planting includes the rounded extra allowance plus tray overage. Empty orders have zero plants, zero cost and no charged delivery.

Why does a unit switch show fractions or refuse to switch?

Exact fractions prevent converted dimensions from drifting across a boundary that would change a plant count. All geometry, including retained custom row pitch, must be convertible. A blank or unsupported geometry value leaves the original draft and unit unchanged. Switch a triangular pattern temporarily to custom pitch to finish an incomplete retained value if needed.

What is included in the downloadable plan?

The CSV includes input assumptions, exact result values and row ranges, plus one row per surviving center in each supported layout. Point row/column indices are one-based; model ranges are zero-based. Coordinates are metres represented by a rational term and a coefficient of √3. Layouts exceeding the row or candidate limit export diagnostics only, with no partial planting list or order.

Similar Calculators