Plant Spacing Calculator

How many plants fit in your bed, row, or container? Enter your dimensions and spacing — get an exact plant count instantly.

The Plant Spacing Calculator works out exactly how many plants fit in a garden bed, raised bed, planting row, or circular container, given your plant spacing and bed dimensions. The result is displayed as a total plant count with a per-row and per-bed breakdown — instantly, with no guesswork. Select one of the nine plant presets to auto-fill recommended spacings, or enter values from your seed packet.

Results are based on a mathematical grid model applied to your stated dimensions, so they represent the maximum number of plants that fit at the specified spacing. Actual counts may be lower if your bed has an irregular shape, buried obstacles, or if your chosen variety needs extra airflow beyond the minimum recommendation. For authoritative crop-specific guidance, refer to the seed packet or the Royal Horticultural Society (RHS) plant spacing guidelines for your variety.

Equal spacing in all directions — plant in a square grid pattern.

Planning multiple identical beds? Enter the total count.

Plant Count

--
total plants
--
Plants per row --
Number of rows --
Plant spacing used --
Bed / area dimensions --
Total plants --

How the Plant Spacing Calculator Works

The calculator uses a mathematical grid model — the same approach used in commercial horticulture and square foot gardening — to count how many planting positions fit within a given area at your chosen spacing. Choose the layout mode that matches how you plan to plant, and the calculator handles the geometry automatically.

Grid Layout — Square-Grid Planting

Grid Layout places plants in a square grid where the same spacing interval applies in both the length and width directions. This mode is suited to intensive beds of compact crops — lettuce, herbs, beetroot, spinach, radish — where equal spacing in all directions maximises yield per square metre. The total plant count is: plants per row × number of rows, where plants per row = floor(bed length ÷ spacing) + 1 and number of rows = floor(bed width ÷ spacing) + 1.

Row Planting — Separate Plant and Row Spacing

Row Planting uses two different spacing values: plant spacing (the gap between plants within a row, along the bed length) and row spacing (the gap between rows, across the bed width). This reflects how most vegetable gardeners actually plant — tomatoes at 60 cm within a row, rows 90 cm apart; or carrots 8 cm apart in a row with rows 20 cm apart. The wider row spacing provides access between rows and allows air to circulate between the canopy layers, reducing disease pressure on crops like brassicas and solanums.

Single Row — One Line of Plants

Single Row mode calculates plants along a single straight line of any length. Enter the row length and plant spacing; the result is floor(length ÷ spacing) + 1. This mode is useful for border plantings, hedge rows, and container edges, or when planning beds one row at a time before combining rows manually. If you are planting multiple parallel rows of equal length, enter the row count to get a total plant figure across all rows.

Container — Circular and Rectangular Raised Beds

Container mode calculates plants in a round circular bed or a rectangular raised container. For a rectangular container, the calculation is identical to Grid or Row Planting but scoped to the container dimensions. For a round circular bed, the calculator iterates a square grid from the centre outward and counts all positions within the circle radius — producing a result that accounts for the curved edges where the grid extends beyond the circle boundary. A 120 cm diameter circular bed with 30 cm spacing, for example, holds 13 plants rather than the 25 a full 4×4 square grid of the same span would suggest.

Plant Spacing Formula

The calculator uses a simple counting formula applied to each dimension independently. All spacing values are converted to centimetres internally before the calculation, regardless of the unit system selected.

Plants per Row Formula

The number of plants that fit along a single straight line is:

Plants = floor(Length ÷ Spacing) + 1

Where:

  • Length = the distance available for planting (bed length or row length, in cm)
  • Spacing = the gap between adjacent plants (in cm)
  • floor( ) = round down to the nearest whole number
  • The + 1 accounts for the plant at position zero (the starting edge)

The calculator handles this calculation automatically — the formula is shown here for transparency.

Worked Example — 4×8 ft (122 × 244 cm) Raised Bed with Tomatoes
  • Bed length: 244 cm  |  Plant spacing: 60 cm
  • Plants per row: floor(244 ÷ 60) + 1 = floor(4.07) + 1 = 5 plants
  • Bed width: 122 cm  |  Row spacing: 90 cm
  • Number of rows: floor(122 ÷ 90) + 1 = floor(1.36) + 1 = 2 rows
  • Total tomatoes: 5 × 2 = 10 plants

Circular Bed Formula

For a round bed of diameter D, the calculator places a square grid with the given spacing, centred on the bed midpoint, and counts all grid positions where the distance from the centre is less than or equal to the radius (D ÷ 2). Positions on the edge are included; positions outside are excluded.

Worked Example — 120 cm Diameter Circular Herb Bed, 20 cm Spacing
  • Radius: 60 cm  |  Spacing: 20 cm
  • Grid positions from centre (0,0) at 20 cm intervals: (0,0), (±20,0), (0,±20), (±40,0), …
  • Positions with x² + y² ≤ 60² = 3,600: all count; corners (±60, ±20) = 3,600 + 400 = 4,000 > 3,600 — excluded
  • Total: 29 plants (compared to 49 if the bed were a 120 cm square)

Plant Spacing Chart — Common Vegetables and Flowers

The table below shows recommended final spacings for 15 common garden crops. These are the spacings for transplants or thinned seedlings at full size — not sowing distances. Enter these values into the calculator to get your plant count for any bed size.

PlantPlant SpacingRow SpacingPlants in 4×8 ft bedNotes
Courgette / Zucchini90 cm / 36"90 cm / 36"4Needs 1 m² per plant minimum
Tomato (indeterminate)60 cm / 24"90 cm / 36"10Stake or cage every plant
Cucumber45 cm / 18"90 cm / 36"12Bush types 45 cm; trailing need 90 cm
Cabbage / Kale45 cm / 18"60 cm / 24"18Savoy and cavolo nero similar
Pepper / Capsicum45 cm / 18"60 cm / 24"18Sweet and chilli varieties similar
Rose60 cm / 24"90 cm / 36"10Miniature roses 30 cm
Runner / Climbing Bean15 cm / 6"45 cm / 18"51Often planted in double rows
Marigold (French)20 cm / 8"25 cm / 10"65African marigold needs 45 cm
Lettuce (butterhead)20 cm / 8"30 cm / 12"65Loose-leaf can go 15 cm
Spinach15 cm / 6"25 cm / 10"102Thin to 8 cm for baby leaf
Onion (bulb)10 cm / 4"25 cm / 10"130Bunching onions 5 cm
Beetroot10 cm / 4"20 cm / 8"156Each seed is a cluster — thin to one
Carrot8 cm / 3"20 cm / 8"195Sow at 2 cm; thin to final spacing
Pea (dwarf)8 cm / 3"30 cm / 12"195Often sown in a 20 cm wide flat trench
Radish5 cm / 2"15 cm / 6"459Fastest crop; sow successionally

The 4×8 ft plant counts are calculated using the Row Planting formula on a 122 × 244 cm bed. For soil volume calculations for the same bed, use our Raised Bed Soil Calculator.

What Your Plant Count Means

The total plant count tells you how many planting positions exist at your chosen spacing — but interpreting that number in context helps you plan your growing season more effectively.

1–5 plants — a very wide-spaced planting of large, spreading crops. Courgettes (1 plant per 0.81 m²), established climbing roses, and large heritage tomatoes fall here. A 4×8 ft bed holds 4 courgettes at most before competition for water and light significantly reduces yield per plant. If your count is this low, verify the spacing is correct — a common mistake is entering centimetres when the preset shows inches.

6–20 plants — medium crops at recommended spacing. Tomatoes, peppers, cabbages, cucumbers, and most brassicas fall in this range for a standard raised bed. This count reflects a well-planned productive bed with good airflow between plants and clear row access for harvesting and maintenance.

21–100 plants — intensive planting of compact or cut-and-come-again crops. Lettuce, spinach, onion sets, herbs, and French marigolds fill this range for most raised bed sizes. At this density, consistent feeding and watering becomes critical, as root competition increases after canopy closure at 4–6 weeks post-planting.

Over 100 plants — fine-spaced crops typically grown from direct seed and thinned to final spacing. Carrots, beetroot, radish, and peas commonly produce counts in the hundreds for a standard bed. Note that this calculator shows your final thinned count, not the number of seeds to sow. Sow at two to three times this density and thin progressively as seedlings develop.

Planting Tips to Get the Most from Your Spacing

  • Start plants at the bed edge, not half a spacing in — this calculator places the first plant at position zero (the edge) and the last plant at the far end. If you prefer to offset the first plant half a spacing from the edge (a common practice for a neater look), reduce your bed length and width by one spacing before entering values. This will reduce the count by one plant per row.
  • Use the Row Planting mode for most vegetables — even when rows look like a square grid, most vegetable spacings call for a wider row spacing than plant spacing. Using separate values for each gives a more accurate count and reflects how seeds and transplants are actually managed on seedbed equipment and planting benches.
  • Thinning crops: calculate final spacing, not sowing spacing — for direct-sown crops such as carrots, beetroot, and radishes, the plant count this calculator produces is the number of plants after thinning, not the number of seeds to sow. Sow at two to three times the final density to ensure a full stand, and thin progressively to the target spacing.
  • Companion planting does not change the per-crop count — if you are interplanting marigolds between tomatoes, calculate each crop's plant count separately using its own spacing, and then combine the totals. Do not adjust spacing to accommodate companions — each crop still needs its full recommended space for root and canopy development.
  • Succession planting extends your harvest without increasing bed count — rather than planting all positions at once, plant one third of your calculated count every 2–3 weeks. For a bed of 65 lettuces, three plantings of 22 seeds at 3-week intervals gives a 9-week harvest window from a single bed. Use our Potting Soil Calculator to plan soil volume for repeated sowing trays.
  • Raised bed edges extend usable growing space — plants within 10–15 cm of a timber or brick raised bed wall experience less root competition from adjacent plants and can tolerate being placed at slightly tighter spacing than the open-ground recommendation. However, the calculator uses standard spacing for all positions; treat the extra edge tolerance as a buffer rather than a reason to reduce spacing across the whole bed.

Frequently Asked Questions

Divide the bed length by the plant spacing, round down, and add one: floor(length ÷ spacing) + 1. Repeat for the bed width using row spacing to get the number of rows. Multiply the two results together for the total plant count. For example, a 240 cm × 120 cm bed with 60 cm plant spacing and 90 cm row spacing gives: floor(240 ÷ 60) + 1 = 5 plants per row; floor(120 ÷ 90) + 1 = 2 rows; total = 10 plants. This calculator applies that formula automatically for any combination of bed dimensions and spacing values.
Plant spacing is the gap between plants within the same row — measured along the row length. Row spacing is the gap between rows — measured across the bed width. Tomatoes are typically spaced 60 cm apart within a row but need 90 cm between rows to allow airflow and walking access. Compact crops such as lettuce and herbs use nearly equal values for each, which is why the Grid Layout mode (identical spacing in all directions) works well for those crops. Entering a wider row spacing than plant spacing in the Row Planting mode is the standard approach for most vegetables.
The number depends entirely on what you are growing. A standard 4×8 foot (122 × 244 cm) raised bed holds approximately 65 lettuce plants at 20 cm × 30 cm spacing, 10 tomatoes at 60 cm × 90 cm spacing, 51 bush beans at 15 cm × 45 cm spacing, or just 4 courgettes at 90 cm × 90 cm spacing. For a mixed bed, calculate each crop separately and allocate a dedicated zone to each. Enter your specific dimensions and spacing values in this calculator for an exact count at any plant spacing.
Yes. Square foot gardening uses a 30 cm × 30 cm (12-inch) grid. For crops planted at one per square — pepper, cabbage, kale — enter 30 cm for both plant and row spacing. For four per square (lettuce), use 15 cm; for nine per square (spinach, beetroot), use 10 cm; for sixteen per square (radish, carrot), use 7.5 cm. This calculator produces the same result as counting grid squares manually, while handling non-standard bed sizes and partial squares automatically. Select the Grid Layout mode for all square foot gardening calculations.
Recommended final spacings for common crops: tomato 60 cm / 90 cm row; pepper and cabbage 45 cm / 60 cm row; courgette 90 cm / 90 cm row; lettuce 20 cm / 30 cm row; spinach 15 cm / 25 cm row; carrot 8 cm / 20 cm row; onion 10 cm / 25 cm row; runner bean 15 cm / 45 cm row. These are spacings for transplants or thinned seedlings at full maturity. The nine plant presets in this calculator are pre-loaded with these values — select a crop to auto-fill both spacing fields instantly. Refer to the full spacing chart table on this page for all 15 crops.
The calculator is mathematically exact for the spacing values and dimensions you enter, using the formula floor(length ÷ spacing) + 1 for each direction. Accuracy in practice depends on how precisely you measure your bed and how consistently you place plants. Real-world counts can be lower if the bed has an obstacle — a support post, drainage pipe, or irrigation line — or if you choose to leave a gap at the bed edge rather than planting flush to the frame. The calculator assumes straight-edged rectangular beds and a perfect circular boundary for the container mode; irregular-shaped beds should be broken into rectangular sections and calculated separately.
For compact crops — herbs, lettuce, spinach, radish — in a square or near-square bed, using equal plant and row spacing (Grid Layout mode) produces the maximum yield per square metre for a given plant size, as each plant claims an equal square of soil. For larger plants such as tomatoes and courgettes, a wider row spacing than plant spacing is preferable: plants sit closer together within rows for mutual support and windbreak, while wider row gaps provide essential airflow between canopies and clear walking access for staking and harvesting.
After calculating your plant count, use garden twine and tent pegs to mark parallel lines across the bed at the row spacing interval. Then mark plant positions along each row at the plant spacing interval using small stakes or garden labels. For square foot gardening, a pre-made wooden grid or bamboo cane frame laid on top of the bed makes marking fast, accurate, and reusable across seasons. The plant count from this calculator tells you exactly how many stakes, labels, or seedling pots to prepare before you start — so you do not run short mid-planting. For companion planning by crop type, refer to our Mulch Calculator to budget the surface layer between beds.