Quick answer
Plants = ⌊length ÷ spacing⌋ × ⌊width ÷ spacing⌋. A 10 ft by 8 ft bed with 12-inch spacing holds 10 × 8 = 80 plants over 80 ft².
Enter the bed length and width and the spacing between plants. The calculator returns the plant count and bed area.
Related tools: Plant Spacing Calculator: Number of plants for a bed at a chosen spacing, in a square or staggered pattern. Compost Carbon-to-Nitrogen Ratio Calculator: Combined carbon-to-nitrogen ratio of up to three compost ingredients.
How to use the Plant Spacing Calculator
- Enter bed length (ft) (above 0).
- Enter bed width (ft) (above 0).
- Enter spacing (in) (above 0).
- Press Calculate to see the result, and use Reset to start again.
| Input | What to enter | Allowed values |
|---|---|---|
| Bed length | A number, in ft | > 0 |
| Bed width | A number, in ft | > 0 |
| Spacing | A number, in in | > 0 |
Formula and method
Formula
plants = ⌊length ÷ spacing⌋ × ⌊width ÷ spacing⌋
IEEE-754 double precision; shown to the decimals indicated.
Square grid with plants centered in each cell; triangular spacing fits about 15% more.
Worked examples
These examples are verified: each one is an automated test case that the live calculator must reproduce exactly.
Example 1
Inputs: Bed length = 10; Bed width = 8; Spacing = 12.
| Result | Value |
|---|---|
| Plants | 80 |
| Bed area | 80 ft² |
Example 2
Inputs: Bed length = 20; Bed width = 4; Spacing = 6.
| Result | Value |
|---|---|
| Plants | 320 |
| Bed area | 80 ft² |
Example 3
Inputs: Bed length = 6; Bed width = 6; Spacing = 18.
| Result | Value |
|---|---|
| Plants | 16 |
| Bed area | 36 ft² |
The first line is the headline result (plants). Below it the plant Spacing Calculator lists bed area, which describe the same case from other angles. IEEE-754 double precision; shown to the decimals indicated.
Spacing from the plant tag
Tags list the mature spread of a plant. Planting at that spacing gives each plant room, while planting closer fills a bed faster at the cost of airflow and competition. Vegetables like lettuce are often 6 to 12 inches apart, tomatoes 18 to 24.
Edges
The count rounds down in each direction, so plants are not placed outside the bed. To plant to the edge, use the Plant and Flower calculator, which counts a plant at each edge.
How the result changes with bed length
Holding every other input at the first worked example, this table changes only bed length. It shows how sensitive the answer is to that one value; each row was produced by running this calculator.
| Bed length | Plants | Bed area |
|---|---|---|
| 5 | 40 | 40 ft² |
| 10 | 80 | 80 ft² |
| 20 | 160 | 160 ft² |
| 40 | 320 | 320 ft² |
What happens with invalid input
These messages are produced by the calculator itself, so you know what to fix.
- Bed length: entering "0" shows "Bed length must be greater than 0." beside that field and no result.
- Spacing: entering "0" shows "Spacing must be greater than 0." beside that field and no result.
Choosing between the Plant Spacing Calculator and similar calculators
Each row shows what a related calculator on this site asks for and what it returns, so you can pick the one that matches your question.
| Calculator | You enter | It returns |
|---|---|---|
| [Plant Spacing Calculator](/lifestyle/plant-and-flower-calculator/) | bed length, bed width and spacing between plants | Plants needed |
| [Fertilizer Application Calculator](/lifestyle/fertilizer-application-calculator/) | lawn or bed area, nitrogen to apply and nitrogen in the fertilizer | Fertilizer needed |
| [Compost Carbon-to-Nitrogen Ratio Calculator](/lifestyle/compost-ratio-calculator/) | ingredient 1 amount, ingredient 1 carbon and ingredient 1 nitrogen | Carbon-to-nitrogen ratio |
| [Lawn Watering Calculator](/lifestyle/lawn-watering-calculator/) | lawn area and water depth to apply | Water needed |
| [Birthday Calculator](/lifestyle/birthday/) | date of birth and reference date | Next birthday |
Assumptions and limitations
- Edge plants sit half a space from the border
If a required value is empty, not a number, or outside its allowed range, the form marks that field with a message and shows no result instead of a misleading number. The automated checks deliberately try invalid entries for bed length and spacing to confirm this.
Frequently asked questions
Should I add extra plants?
Order a few spares for losses.
Does it do triangle spacing?
No, use the Plant and Flower calculator.
Can I use metres?
Yes, keep the same units for all inputs.
What does the Plant Spacing Calculator calculate?
Number of plants that fit a bed at a spacing. It returns Plants and Bed area.
What formula does the Plant Spacing Calculator use?
plants = ⌊length ÷ spacing⌋ × ⌊width ÷ spacing⌋. Square grid with plants centered in each cell; triangular spacing fits about 15% more.
What do I need to enter in the plant Spacing Calculator?
You enter Bed length (ft), Bed width (ft) and Spacing (in).
How is the result rounded or limited?
IEEE-754 double precision; shown to the decimals indicated. Edge plants sit half a space from the border.
What is an example of a plant Spacing result?
With bed length 10, bed width 8 and spacing 12, the plants is 80.
Related calculators
- Plant Spacing Calculator — Number of plants for a bed at a chosen spacing, in a square or staggered pattern.
- Compost Carbon-to-Nitrogen Ratio Calculator — Combined carbon-to-nitrogen ratio of up to three compost ingredients.
- Lawn Watering Calculator — Gallons of water to apply a depth over a lawn.
- Birthday Calculator — Next birthday, days until it, and your current age.
- Baby Age Calculator — A baby's age in weeks, months and days.
Sources
- ISO 8601-1: Date and time, representations for information interchange (calendar dates, ordinal dates and week dates)
- Gregorian calendar reform, papal bull Inter gravissimas (1582): the leap-year rule used for all dates
Content last reviewed 2026-11-04. Formulas and worked examples are checked by automated tests against independently computed values.