Plant Spacing Calculator
Calculate how many plants fit in a garden bed by spacing. Enter bed length, width and plant spacing to get total plants plus the rows and columns instantly.
Updated 2026-06-14 · Free · No sign-up · Runs privately in your browser
Show the formula & steps
How the Plant Spacing Calculator Works
This calculator tells you how many plants fit in a rectangular garden bed using a simple grid layout. You enter the bed’s length and width in feet, plus the recommended spacing between plants in inches. The tool then returns the total number of plants along with the number of rows (down the length) and columns (across the width).
It works for vegetable beds, flower borders, ground cover, hedging and any planting where you want even, evenly spaced rows.
The Formula
Plants are laid out on a square grid. First the spacing is converted to feet so every measurement uses the same unit:
Spacing (ft) = spacing (in) ÷ 12 Rows = floor(bed length ÷ spacing) Columns = floor(bed width ÷ spacing) Total plants = Rows × Columns
The floor (round-down) step is important: you can only plant a whole row or column that physically fits inside the bed, so any leftover strip is ignored.
Worked Example
Suppose you have a raised bed that is 20 ft long and 4 ft wide, and your plant tag recommends 12 in (1 ft) spacing:
- Spacing = 12 ÷ 12 = 1 ft
- Rows = floor(20 ÷ 1) = 20
- Columns = floor(4 ÷ 1) = 4
- Total plants = 20 × 4 = 80 plants
If you increase spacing to 18 in (1.5 ft) in the same bed:
- Rows = floor(20 ÷ 1.5) = floor(13.33) = 13
- Columns = floor(4 ÷ 1.5) = floor(2.67) = 2
- Total plants = 13 × 2 = 26 plants
Wider spacing dramatically lowers the count because both dimensions are divided by the larger number.
Common Plant Spacing Guide
Use the spacing on the seed packet or plant tag when you have it. These are typical starting points:
| Plant | Recommended spacing |
|---|---|
| Lettuce, radish | 6 in |
| Peppers, bush beans | 12 in |
| Tomatoes, broccoli | 18 in |
| Squash, zucchini | 24 in |
| Shrubs / hedging | 24–36 in |
Tips for Accurate Spacing
- Measure the bed, not the frame. Use the inside planting dimensions, since the wood edges take up space.
- Round spacing up, not down. When a tag gives a range like 12–18 in, use the larger number for healthier, less crowded plants.
- Consider square-foot gardening. For intensive beds, divide the area into 1 ft squares and place 1, 4, 9 or 16 plants per square depending on the crop.
- Account for paths. If you walk through the bed, subtract path width from the planting area before calculating.
A correct plant count means you buy the right number of seedlings or seeds the first time, avoid overcrowding, and give each plant room to reach its mature size.
Frequently asked questions
How do I calculate how many plants I need for a bed?+
Divide the bed length by the plant spacing and round down to get the number of rows, then do the same with the bed width to get the columns. Multiply rows × columns. For a 20 ft × 4 ft bed at 12 in spacing, that is floor(20 ÷ 1) × floor(4 ÷ 1) = 20 × 4 = 80 plants.
What spacing should I use between plants?+
Use the spacing on the seed packet or plant tag, which reflects the plant's mature width. Common values are 6 in for lettuce, 12 in for peppers, 18 in for tomatoes and 24 in for squash. Closer spacing crowds plants; wider spacing wastes bed area.
Does this calculator use square or triangular spacing?+
It uses a simple square grid layout, where plants sit in even rows and columns. Triangular or offset spacing fits roughly 15 percent more plants in the same area but is harder to lay out by hand, so the grid result is a safe, conservative estimate.
Why does the calculator round down?+
A partial plant cannot grow in a leftover strip of bed, so the count rounds down to whole rows and columns that actually fit. This prevents over-buying plants that would have to sit too close to the bed edge.
How do I convert spacing in inches to feet?+
Divide the inches by 12, since there are 12 inches in a foot. A 12 in spacing is 1 ft, 6 in is 0.5 ft and 18 in is 1.5 ft. The calculator converts your inch spacing to feet automatically before dividing into the bed dimensions.