UTILS.
100% in-browser
🌱

Plant Spacing Calculator

Find how many plants fit a garden bed from in-row and between-row spacing, for square or triangular layouts.

About this tool

Plant Spacing Calculator is a free, in-browser tool that works out how many plants fit in a rectangular garden bed. Enter the bed's length and width in feet, the spacing between plants in a row and the spacing between rows in inches, and pick a layout — it returns the total plant count plus rows, plants per row and density per square foot. Nothing is uploaded; the math runs on your device.

The number of rows is floor(bed width × 12 ÷ row spacing) and plants per row is floor(bed length × 12 ÷ plant spacing), converting feet to inches so both spacings share units. For a square grid, total = rows × plants per row. A triangular (offset) layout staggers every other row so plants nest closer, fitting about 15.5% more, so total = floor(grid total × 1.155). Plants per square foot is the total divided by the bed area.

Use the square grid for beds you walk and weed in straight lines, and the triangular layout to squeeze more plants into intensive or square-foot beds. Read the spacing from the back of the seed packet — it is usually given as inches between plants and inches between rows.

Frequently asked questions

What is the difference between square and triangular spacing?
A square grid lines plants up in straight rows and columns. A triangular (offset) layout shifts every other row by half a space so plants nest into the gaps, fitting roughly 15.5% more plants in the same bed while keeping the same center-to-center distance.
Where do I find the right spacing numbers?
Seed packets and plant tags list a recommended in-row spacing and row spacing, usually in inches. Enter those two values; the tool converts your bed dimensions from feet to inches so everything lines up.
Why are the counts rounded down?
Only whole plants that fully fit are counted, so rows and plants per row use floor (round down). A partial space at the edge of a bed cannot hold another plant, so it is not counted.
Is anything I type sent to a server?
No. Bed dimensions, spacings and the resulting plant counts are all computed in your browser and never uploaded, so the tool works offline.

More tools