Garden Plant Spacing Calculator: How Far Apart to Plant
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
A garden plant spacing calculator works out the number of plants you can fit in a given area and the exact distance between them, based on the mature width you enter for each plant. You input the length and width of your bed (or a single row) and the recommended spacing for your crop, and it returns the plant count and the on-center spacing in both inches and centimeters. This page explains the math behind the tool, how to adjust it for different planting patterns, and the common mistakes that lead to overcrowded or sparse beds.
Formula
The basic square-grid formula assumes each plant occupies a square with sides equal to the spacing distance. The number of plants per row is the bed length divided by the spacing, and the number of rows is the bed width divided by the spacing. Multiply those two quotients to get the total plant count:
Plants = (Bed Length ÷ Spacing) × (Bed Width ÷ Spacing)
Where:
- Bed Length – the long side of the planting area, in feet (or meters).
- Bed Width – the short side of the planting area, in feet (or meters).
- Spacing – the recommended distance between plants, measured from center to center, in inches (or centimeters).
For a triangular (offset) pattern, each row is shifted half a spacing, and the rows are closer together because the plants nest into the gaps. The triangular multiplier is 0.866 (the sine of 60°), which reflects the denser packing of an equilateral triangle layout. In that case, the formula becomes:
Plants = (Length ÷ Spacing) × (Width ÷ Spacing) × 0.866
If you are planting a single row (e.g., along a fence or in a narrow strip), the width term drops out, and the formula is simply Length ÷ Spacing.
Worked Example
Using the calculator defaults: a bed 10 feet long and 4 feet wide, with 12-inch spacing in a square pattern.
- Convert bed dimensions to inches: 10 ft × 12 = 120 in; 4 ft × 12 = 48 in.
- Plants per row: 120 in ÷ 12 in = 10 plants.
- Number of rows: 48 in ÷ 12 in = 4 rows.
- Total plants: 10 × 4 = 40 plants.
The calculator shows 40 plants and a spacing of 30.5 cm (12 in × 2.54). If you switch to a triangular pattern, the count becomes 40 × 0.866 ≈ 35 plants, because the offset rows fit slightly fewer plants across the same width.
How to Choose the Right Spacing
Spacing recommendations on seed packets and plant tags refer to the mature width of the plant, not the seedling size. The goal is to give each plant enough airflow, sunlight, and root room to reach full size without competing with neighbors.
- Leafy greens (lettuce, spinach, arugula): 6–12 inches apart, depending on whether you harvest baby leaves or full heads.
- Root crops (carrots, beets, radishes): 2–4 inches for small roots, up to 6 inches for large storage roots.
- Brassicas (cabbage, broccoli, cauliflower): 18–24 inches apart, as they form large heads.
- Vining crops (squash, melons, cucumbers): 24–36 inches apart, or use vertical trellising to reduce footprint.
- Tomatoes and peppers: 18–24 inches for determinate varieties, 24–36 inches for indeterminate staked plants.
If you are unsure, use the smaller spacing for varieties bred for compact growth, and the larger spacing for vigorous heirlooms or plants in humid climates where airflow matters more.
Square Foot Gardening vs. Traditional Rows
The calculator works for both styles, but the interpretation differs. In square-foot gardening, a 4×4 bed is divided into 1-foot squares, and each square holds a set number of plants based on final size (e.g., 1 tomato, 4 lettuce, 9 spinach, 16 carrots). The spacing formula gives the same result: a 1-foot square with 3-inch spacing fits 16 plants (12 ÷ 3 = 4 per side, 4 × 4 = 16).
Traditional row planting often uses wider spacing between rows than between plants in a row, to allow walking paths. If your row spacing is different from in-row spacing, treat the bed width as the number of rows times the row spacing, and use the in-row spacing in the formula. For example, 4 rows spaced 12 inches apart in a 4-foot bed, with plants spaced 6 inches in the row, gives 4 × (length ÷ 0.5 ft) plants.
Common Mistakes and How to Avoid Them
- Mixing units: The calculator uses feet for bed dimensions and inches for spacing. If you enter 10 for a 10-meter bed but the formula expects feet, you will get a wildly wrong count. Always convert to the same unit system first.
- Using seed spacing instead of thinning spacing: Many seed packets list a close spacing for sowing and a wider spacing for thinning. Use the final thinning distance in the calculator, not the initial sowing distance.
- Ignoring mature size: A 6-inch spacing may look fine in June, but by August the plants will shade each other and reduce yield. Trust the tag, not the seedling size.
- Forgetting paths: If you need to reach the center of a wide bed, add a path or reduce the bed width to 3–4 feet. The calculator assumes the entire bed is plantable.
- Rounding down: The plant count is a maximum. If the formula gives 42.3, you cannot plant 0.3 of a plant – round down and adjust the outer rows slightly, or use the triangular pattern to fit more.
Limitations of the Formula
The square-grid and triangular formulas assume a uniform, rectangular bed with perfectly even spacing. Real gardens have corners, curved edges, and obstacles (rocks, posts, existing plants) that reduce usable area. The formula also does not account for:
- Interplanting: growing fast crops (radishes) between slow crops (carrots) in the same space.
- Succession planting: harvesting one crop and replacing it with another in the same season.
- Companion planting: intentionally placing different species close together for pest control or nutrient sharing.
- Vertical growth: vining crops on trellises can be spaced closer horizontally because they grow upward.
For irregular beds, divide the area into rectangles, run the calculator on each section, and add the results. For a rough estimate on a circular bed, use the diameter as both length and width – the result will be slightly high, but acceptable for planning.
How to Read the Result
The plant count is the maximum number of transplants or seeds you can start with, assuming 100% germination and no losses. Most gardeners sow 10–20% extra seeds to account for poor germination, pests, or accidental damage, then thin to the calculated spacing. The spacing output (in cm) helps you set a measuring stick or string line in the garden – simply mark the distance on a ruler and use it to place each transplant.
If the count seems too high or too low, check your bed dimensions. A 10×4 bed is 40 square feet, and at 12-inch spacing each plant needs 1 square foot, so 40 plants is correct. At 6-inch spacing, each plant needs 0.25 square feet, so the count quadruples to 160 – which is why thinning is critical for small crops.
Frequently Asked Questions
What does “on-center� spacing mean?
On-center spacing is the distance from the center of one plant to the center of the next, not the gap between the edges of their leaves. For example, if a plant grows 12 inches wide, an on-center spacing of 12 inches means the leaves of adjacent plants will just touch at maturity. This is the standard way seed packets list spacing.
Can I plant closer than recommended to save space?
You can, but yield per plant usually drops. Plants compete for water, nutrients, and light, so closer spacing produces smaller heads, thinner roots, and more disease pressure. If you want to maximize total harvest from a small area, slightly closer spacing (e.g., 10% less) can work for leafy greens, but avoid it for large fruiting plants like tomatoes or squash.
Does the calculator work for raised beds and containers?
Yes, for raised beds with open soil, the same formula applies. For containers, each pot is its own “bed� – use the pot’s diameter as both length and width, and enter the spacing for one plant. A 12-inch pot with 12-inch spacing fits exactly one plant, which matches the general rule of thumb for container size.
How do I convert spacing from centimeters to inches?
Divide the centimeter value by 2.54. For example, 30 cm ÷ 2.54 = 11.8 inches. The calculator does this conversion in the output, but if you are reading a European seed packet, you can also use the rule that 1 inch = 2.54 cm exactly.
What is the triangular pattern and when should I use it?
A triangular (offset) pattern places each row half a spacing to the side, so plants form a hexagon-like grid. It fits about 15% more plants in the same area than a square grid. Use it for beds where you want maximum density, such as a cutting garden or a ground-cover planting, but be aware that harvesting and weeding between offset rows can be slightly more awkward.
Why does the calculator not include row spacing?
The calculator assumes the bed width is entirely plantable, with no dedicated paths. If you need walking rows between plant rows, subtract the path width from the bed width first, or enter the number of rows and the in-row spacing separately. For a 4-foot bed with a 1-foot path, you would only have 3 feet of plantable width.
Related
Formula used
in length | Bed length | ft | 10 | 0 in width | Bed width | ft | 4 | 0 in spacing | Plant spacing | in | 12 | 0 in pattern | Planting pattern | Square=1, Triangular=0.866 | 1 | - out count | Plants needed | plants | (length * 12 / spacing) * (width * 12 / spacing) * pattern | 0 out spacing_cm | Spacing in cm | cm | spacing * 2.54 | 1
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.