How plants are counted in a bed
Each plant gets its own spot, and the first plant sits half a spacing in from the edge of the bed. The number of plants in a row is the bed length divided by the spacing between plants, rounded down. The number of rows is the bed width divided by the spacing between rows, also rounded down.
Plants per row = ⌊bed length ÷ spacing between plants⌋
Rows = ⌊bed width ÷ spacing between rows⌋
Plants = plants per row × rows
Rounding down matters in a small bed. A plant that does not get its full spacing crowds its neighbors, so the calculator never squeezes in a partial spot.
Rows, square grid or offset rows
Rows suit crops that need a path or a wide gap between rows. A square grid uses the same spacing in both directions, which is common in raised beds. Offset rows, also called a triangular layout, shift every other row by half a spacing, so the rows can sit 0.866 times the spacing apart and every plant is still the full spacing from its neighbors.
Offset rows only gain plants when the bed is big enough. In a 10 by 4 foot bed at 12 inches, a square grid holds 40 plants and offset rows hold 38, because the shifted rows lose a plant at the end. In a 20 by 8 foot bed at the same spacing, the square grid holds 160 plants and offset rows hold 176.
Spacing from an extension chart
The crop list uses the planting chart for the home vegetable garden published by the University of Maine Cooperative Extension. It gives a range for most crops, so the calculator shows the count at the closest spacing and at the widest spacing. Crops grown in hills, such as cucumbers, squash and pumpkins, are counted as hills.
| Crop | Between rows | Between plants in the row |
|---|---|---|
| Beans, snap | 24 | 2 to 4 |
| Beets | 12 to 18 | 2 to 3 |
| Broccoli | 24 to 36 | 24 to 30 |
| Cabbage | 24 to 36 | 12 to 18 |
| Carrots | 12 to 18 | 2 to 3 |
| Corn | 24 to 36 | 6 to 8 |
| Cucumbers (hills) | 48 to 72 | 48 |
| Eggplant | 24 to 36 | 18 |
| Onions | 12 to 18 | 1 to 3 |
| Peppers | 18 to 24 | 18 |
| Potatoes | 30 to 36 | 8 to 12 |
| Spinach | 12 to 18 | 3 to 4 |
| Squash, summer (hills) | 36 | 48 |
| Tomatoes | 24 to 48 | 18 to 36 |
Seed packets and plant tags give spacing for a given variety, and your local extension service knows what grows well where you live. Choose your own spacing when you have better numbers.
Worked example: a 10 by 4 foot bed
The bed is 10 feet long (120 inches) and 4 feet wide (48 inches). The plants go 18 inches apart in rows 24 inches apart.
- Plants per row: ⌊120 ÷ 18⌋ = 6
- Rows: ⌊48 ÷ 24⌋ = 2
- Plants: 6 × 2 = 12
Choosing tomatoes from the crop list gives 3 to 12 plants. At the closest spacing in the chart, 18 inches in rows 24 inches apart, the bed holds 12. At the widest, 36 inches in rows 48 inches apart, it holds 3, in a single row.
From plant count to the bed itself
Once you know how many plants fit, fill the bed. The raised bed soil calculator gives the soil for the frame, and the compost calculator gives the compost to spread before planting. For containers, use the potting soil calculator.
Plant Spacing Calculator FAQ
How many plants fit in a 4 by 8 raised bed?
It depends on the spacing. At 12 inches in a square grid, a 4 by 8 foot bed holds 32 plants: 8 along the length and 4 across. Enter your own spacing for other crops.
What is the difference between plant spacing and row spacing?
Plant spacing is the distance between plants in the same row. Row spacing is the distance from the center of one row to the center of the next.
Do offset rows always fit more plants?
No. Offset rows sit closer together, but every other row loses a plant at the end, so in a small bed a square grid can hold more.
Why does the crop list show a range?
The University of Maine chart gives a range for most crops. The calculator counts the bed at both ends of that range.
How does the calculator handle a bed narrower than one row spacing?
It still counts one row down the middle, and one plant if the bed is shorter than one spacing, because a single plant always fits.