Plants Calculator - Plant Count, Density, Cost

Plants calculator turns bed length, width, and spacing into plant count, density, and total cost for square, rectangular, triangular, and hedgerow layouts.

Updated: June 16, 2026 • Free Tool

Plants Calculator

Square uses one spacing, rectangular uses in-row and between-row spacing, triangular offsets every other row, and hedgerow counts plants along one or more rows.

Length of the planting bed in meters. Used for square, rectangular, and triangular grids.

Width of the planting bed in meters. Used for square, rectangular, and triangular grids.

Empty margin on every side of the bed, in meters. Reduces usable area before plants are counted.

Center-to-center distance between plants within a row, in meters. Minimum 0.05 m (5 cm).

Distance between rows for rectangular and triangular grids, in meters. Square grids use the same value as plant spacing.

Total length of the hedgerow in meters. Used when the Layout is set to Hedgerow.

Number of parallel rows in the hedgerow, from 1 to 3. Use 1 for a single line and 2-3 for a thicker screen.

$

Optional purchase price per plant in dollars. Leave at zero for a count-only result.

Results

Plants Needed
0
Rows 0
Plants per Row 0
Plants per m² 0plants/m²
Plants per ft² 0plants/ft²
Estimated Cost $0

What Is a Plants Calculator?

A plants calculator turns bed dimensions, plant spacing, and an optional cost per plant into the number of plants you need, planting density, and purchase budget. It handles square grids, rectangular grids, triangular offset grids, and hedgerow plantings from one set of inputs.

  • Planning a vegetable or cut-flower bed: Enter a 5 m by 3 m bed, the in-row spacing from a seed packet, and the row spacing to see how many starts to order.
  • Pricing a landscape project: Pair plant count with a per-plant price to produce a quick budget line for a client proposal.
  • Laying out a privacy hedge: Use hedgerow mode to convert hedge length and on-center spacing into a plant count and a cost.
  • Comparing grid densities: Switch between square, rectangular, and triangular grids on the same bed to see how the offset pattern adds plants.

The plants calculator is built on the geometric spacing formulas used in plant population studies and university extension publications, so the result lines up with the printed guidance on a seed packet or nursery tag.

If your bed is dedicated to flower bulbs instead of mixed plants, the Bulb Spacing Calculator applies the same square and staggered-row math to tulip, daffodil, and crocus bulb types.

How the Plants Calculator Works

The calculator subtracts twice the border from the bed length and width to find the usable area, divides the usable dimensions by the spacing to count positions, and multiplies rows by columns. Triangular grids add a small offset multiplier.

rows = floor((length - 2 x border) / spacing) ; columns = floor((width - 2 x border) / spacing) ; plants = rows x columns
  • length, width: Inside edges of the planting bed in meters.
  • border: Empty margin on every side, in meters. Use 0.25 m for a typical path, 0 if the bed runs to the fence.
  • spacing: Center-to-center distance between plants within a row, in meters.
  • rowSpacing: Distance between rows for rectangular and triangular grids.
  • hedgeLength, hedgeRows: Total hedgerow length and number of parallel rows, used only in hedgerow mode.
  • costPerPlant: Purchase price per plant in dollars, optional.

Rectangular grids separate in-row spacing from between-row spacing, which is helpful for vegetable beds where rows are kept wider for cultivation. Triangular grids place every other row in the gap between plants of the previous row, which adds about 15 percent more plants for the same area.

Worked example: a 5 m by 3 m bed at 50 cm spacing with a 25 cm border

Layout square, length 5, width 3, border 0.25, spacing 0.5, row spacing 0.5, cost per plant $4.

Usable length = 5 - 2 x 0.25 = 4.5 m. Usable width = 3 - 2 x 0.25 = 2.5 m. Rows = floor(4.5 / 0.5) = 9. Columns = floor(2.5 / 0.5) = 5. Plants = 9 x 5 = 45.

Plants: 45. Plants per m²: 4.00. Plants per ft²: 0.37. Estimated cost: $180.00.

The 11.25 m² of usable bed holds 45 plants at 50 cm spacing, a 4 plants per square meter density, and the $4 per plant assumption gives a $180 order.

According to Wikipedia equilateral triangle reference, the altitude of an equilateral triangle equals the side length times the square root of 3 divided by 2, which sets the row-spacing correction for triangular plant grids.

After the calculator returns the stand density, the Basal Area Calculator converts the same area and stem count into a forestry-style basal area in square meters per hectare.

Key Concepts Behind Plant Spacing

Four short definitions keep the layout math honest. Each one changes a different number on the results panel.

Center-to-center spacing

Measured from the center of one plant to the center of the next, not the empty gap between leaves. Seed packets and nursery tags list center-to-center spacing, so reusing the tag value keeps the count realistic.

Usable bed area

The rectangle left after subtracting twice the border from the length and width. The density and cost outputs use this area, so the border value directly changes the plants-per-square-meter number.

In-row vs between-row spacing

Vegetable beds often use a smaller spacing along the row and a larger spacing between rows so a hoe can pass. Rectangular grid mode uses both; square grid mode treats them as the same number.

Triangular offset multiplier

Placing every other row in the gap between plants of the previous row adds about 2 divided by the square root of 3 more plants, roughly 15 percent. The calculator applies that multiplier in triangular mode.

Most university extension publications and nursery spacing tables already work in these terms, which means the calculator's outputs can be cross-checked against the printed guidance that came with the plant.

When the planting plan is a long-lived tree stand rather than an annual bed, the Tree Age Calculator pairs the same spacing idea with diameter measurements to estimate stand age.

How to Use the Plants Calculator

Measure once, enter the numbers, and let the calculator handle the row and column counts. The default values cover a typical 5 m by 3 m vegetable bed.

  1. 1 Pick a layout: Choose Square, Rectangular, Triangular, or Hedgerow from the Layout selector.
  2. 2 Enter bed length and width: For grid layouts, measure the inside edges of the bed in meters. For hedgerow layouts, use the hedge length instead.
  3. 3 Set the border: Enter the empty margin on every side of the bed in meters.
  4. 4 Set in-row and row spacing: Enter the center-to-center distance within a row and the distance between rows from the seed packet or nursery tag.
  5. 5 Add hedge length, rows, and cost: For a hedgerow, enter the hedge length, parallel rows, and cost per plant.
  6. 6 Read the result and round up: Read the plant count, density, and cost on the right panel, then add extras for damaged plants and gaps.

A reader plans a 4 m by 2 m salad bed at 20 cm in-row spacing and 30 cm between rows. Layout Rectangular, length 4, width 2, border 0, spacing 0.2, row spacing 0.3. Result: rows 13, columns 10, plants 130, density 16.25 plants per m², cost $520 at $4 per plant.

Once the bed is sized, the Compost Calculator pairs the same area in square meters with compost depth to estimate the soil amendment volume to order.

Benefits of Planning Plant Count Up Front

A short list of what the calculator does well, and what it is not designed to do, helps you put the number in the right place before you order or plant.

  • Sized orders before the nursery trip: Convert bed size, spacing, and a target layout into a single plant count, so the trip to the garden center starts with a list rather than a guess.
  • Density in two units: Plants per square meter and plants per square foot appear next to the count, matching metric seed packets and imperial nursery tags.
  • Layout comparison in one pass: Switching between square, rectangular, and triangular grids on the same bed shows how the offset pattern adds plants.
  • Hedgerow math without a spreadsheet: Hedge length, on-center spacing, and rows combine into a count and a budget in seconds.
  • Cost transparency: Multiplying the count by a per-plant price produces a single dollar figure, so the calculator doubles as a quick landscape budget.

Running the calculator before ordering is the cheapest way to avoid both over-ordering and the mid-season gap that happens when the order comes up short.

For field-scale plantings, the Corn Yield Calculator takes a similar plants-per-area result and turns it into a bushel or tonne yield estimate for the same crop.

Factors That Affect Your Plants Calculator Result

Four factors change the count, and two caveats explain where the geometric formulas stop being a complete answer. Treat the count as a planning number.

Mature plant size

Spacing recommendations assume the size a plant reaches at maturity, not the size at planting. A tomato planted at 60 cm in late spring can fill that space by midsummer.

Cultivar and rootstock

Dwarf fruit trees, compact shrubs, and vigorous native cultivars come with very different recommended spacings. The calculator is only as good as the spacing number you put in.

Bed shape and slope

A rectangular grid fits a rectangular bed. Triangular, keyhole, and sloped beds usually want a small border and a rectangular approximation rather than the full footprint.

Row pattern

Square, rectangular, and triangular grids each give a different plant count for the same bed. Triangular grids add about 15 percent more plants, while wider row spacing thins the count.

  • The calculator counts plant positions, not viable plants. Germination rate, transplant shock, and weather loss will reduce the final stand, so add a margin of 5 to 15 percent before ordering.
  • The geometric formulas assume a flat, rectangular bed with a uniform spacing value. Slopes, irregular shapes, and mixed-species plantings will diverge from the geometric count.

A good rule of thumb is to treat the calculator's number as a starting point, then round up to the nearest nursery bundle size, since most suppliers price in trays of 6, 10, 25, or 50 plants.

According to Clemson Home and Garden Information Center ligustrum factsheet, California privet and similar hedge shrubs are typically set 9 to 12 inches apart on center for a dense hedge.

Once the bed is planned, the Daily Light Integral Calculator pairs the same area with sunlight exposure to flag whether the planned stand will receive the light integral the chosen species need.

Plants calculator showing square, rectangular, triangular, and hedgerow plant spacing for garden beds, hedges, and field layouts
Plants calculator showing square, rectangular, triangular, and hedgerow plant spacing for garden beds, hedges, and field layouts

Frequently Asked Questions

Q: How do I calculate the number of plants in a square grid?

A: Subtract twice the border from the bed length and width to get the usable area. Divide each side by the spacing, round down, and multiply the row count by the column count. The plants calculator does this for you and adds a density and cost result.

Q: What is the formula for plant density?

A: For a square grid, plant density in plants per square meter equals 1 divided by the spacing in meters squared. For a triangular grid, multiply that number by 2 divided by the square root of 3, which is about 1.1547, to account for the offset rows.

Q: How many plants spaced 50 cm apart fit in a 3x2 m bed?

A: A 3 m by 2 m bed with no border holds 6 by 4, which is 24 plants at 50 cm spacing in a square grid. Adding a 25 cm border on every side drops the usable area to 2.5 m by 1.5 m and the count to 5 by 3, or 15 plants.

Q: What is triangular plant spacing?

A: Triangular spacing places every other row in the gap between the plants of the previous row. The result is a denser stand with about 15 percent more plants than a square grid in the same area, which is useful for cut-flower beds and ground cover plantings.

Q: How do I estimate the number of plants for a hedgerow?

A: Divide the hedge length by the on-center spacing, round down, and add one to count the plants in the first and last position. Multiply by the number of parallel rows for a double or triple row, then multiply the total by the cost per plant to get the budget.

Q: What is a good spacing between hedge plants?

A: Most evergreen hedge species are spaced about 3 plants per linear meter, or roughly 33 cm on center, for a dense privacy screen. For an open hedge, 60 to 90 cm on center is common, and the plants calculator can show the count and cost for either choice.