Home » Home & DIY » Plant Spacing Calculator

Plant Spacing Calculator

Calculate how many plants fit a garden bed from its length, width, and spacing. Compare square and triangular layouts, with rows, plants per row, and bed area.

FREE CALCULATOR
min 0.1, max 500
min 0.1, max 500
min 0.1, max 500
🧮

Your results will appear here.
Enter your values and press Calculate.

How it works

Enter your bed's length and width and choose the unit you measured in (feet, inches, or meters), then enter the spacing between plants from the seed packet or the spacing chart below. The calculator first computes the bed area as length × width. The square-layout count is ceil(area / spacing²⁾, treating each plant as occupying one spacing-sized square. The grid behind it is rows = floor(width / spacing) + 1 and plants per row = floor(length / spacing) + 1, multiplied into a grid cross-check total that counts real planting positions including the bed edges. The triangular (offset) layout shifts every other row by half a spacing, packing plants in a honeycomb pattern where each plant needs only spacing² × 0.866 of area, so its count is ceil(area / (spacing² × 0.866)), about 15% more plants than the square layout. All three plant counts round up with ceil so you never buy too few seeds or transplants, and the grid total usually runs a little higher than the area estimate because it counts the edge positions explicitly.

bed_area = length × width | plants_square = ceil(bed_area / spacing²⁾ | rows = floor(width / spacing) + 1 | plants_per_row = floor(length / spacing) + 1 | grid_total = rows × plants_per_row | plants_triangular = ceil(bed_area / (spacing² × 0.866))

What is plant spacing?

Plant spacing is the distance between the centers of two neighboring plants, usually measured in inches or centimeters. Giving each plant its full share of space matters more than most beginners expect: crowded plants compete for sunlight, water, and soil nutrients, airflow drops, and damp leaves invite fungal disease. Spaced correctly, each plant grows to its full size, yields more, and is easier to weed, water, and harvest. Seed packets print a recommended spacing for exactly this reason, and this calculator turns that number into a plant count for your bed.

How to use this calculator

Measure your bed's length and width, then pick the unit you measured in: feet, inches, or meters. Enter the recommended spacing for the plant you want to grow (from the seed packet or the spacing chart below). Use the spacing chart below as a quick growing guide when the seed packet is missing. The calculator instantly shows how many plants fit in a square layout and in a triangular (offset) layout, plus the number of rows, plants per row, a grid cross-check total, and the bed area. Try both layouts to see how much the offset rows gain you before you buy seeds or transplants.

The formula: square vs triangular layouts

In a square layout, each plant occupies a square of side equal to the spacing, so plants = ceil(bed area / spacing²⁾. The grid behind it: rows = floor(bed width / spacing) + 1, plants per row = floor(bed length / spacing) + 1, and grid total = rows × plants per row. The grid total is shown as a cross-check: it counts actual planting positions including the bed edges, while the area figure is a smooth estimate, so the two can differ by a little and that is normal.

In a triangular (offset) layout, every other row is shifted by half a spacing, so each plant's territory is a hexagon rather than a square. The area per plant in that lattice is spacing² × 0.866 (sqrt(3)/2), so plants = ceil(bed area / (spacing² × 0.866)). Because 1 / 0.866 is about 1.155, the triangular layout fits roughly 15% more plants in the same bed. Use it when you want maximum yield and your plants tolerate tight neighbors, for example leafy greens, which thrive when planted close together.

Plant spacing chart: vegetables, herbs, and flowers

These are common starting points from seed packets and extension guides; always check your specific variety, since compact and dwarf cultivars need less room. If you are planting just one vegetable, the same numbers apply: a single tomato plant still needs 18 to 24 inches, a carrot row is thinned to 2 to 3 inches, and one herb or flower transplant takes the spacing listed for its kind. Root vegetables: carrots 2 to 3 inches, radishes 2 inches, beets 3 to 4 inches, onions 4 to 6 inches. Leafy greens: lettuce 6 to 8 inches, spinach 4 to 6 inches, kale 12 to 18 inches, chard 8 to 12 inches. Fruiting vegetables: tomatoes 18 to 24 inches, peppers 12 to 18 inches, eggplant 18 inches, cucumbers 12 inches when trellised (36 inches sprawling), summer squash 24 inches, winter squash 36 inches or more. Legumes: bush beans 3 to 4 inches, pole beans 4 to 6 inches, peas 2 to 3 inches. Herbs: basil 12 inches, parsley 6 to 8 inches, cilantro 6 inches, dill 12 inches, thyme and oregano 8 to 10 inches. Flowers commonly grown with vegetables: marigolds 8 to 10 inches, nasturtiums 8 to 12 inches, zinnias 6 to 12 inches, sunflowers 12 inches for cut flowers. When in doubt, give the larger spacing; a slightly roomy bed outperforms a crowded one.

Row spacing vs plant spacing: what is the difference?

Plant spacing is the distance between two plants in the same row, measured center to center. Row spacing is the distance between one row and the next. They are often different: seed packets may say 'thin to 6 inches apart in rows 18 inches apart,' meaning 6 inches between plants but 18 inches between rows so you can walk, hoe, and let air circulate. This calculator assumes one spacing value in both directions (a true grid), which matches intensive square-foot style planting. If your crop needs wide rows for access, use the plant spacing here and keep your rows at the packet's row spacing by hand; the triangular layout option is the closer match for tight intensive beds.

Tips for raised beds and containers

Raised beds are the ideal place to plant intensively, since the loose deep soil and defined edges suit tight grids and offset rows; this is the same grid math behind square-foot gardening. Leave 3 to 4 inches of unplanted margin around the bed edges so border plants do not hang over the frame, and remember the calculator counts edge positions, so a real bed usually fits one or two fewer plants than the grid total. Containers work the same way: treat the pot's soil surface as a small bed, use its diameter as both length and width, and stick to one plant per large container for tomatoes or peppers, while herbs and greens can share. Water and feed intensive plantings a little more generously, because more plants per square foot means more competition for moisture and nutrients.

Worked example: an 8 by 4 foot bed

A gardener has an 8 ft by 4 ft raised bed and wants to grow lettuce at 8 inch spacing. Convert spacing to feet first: 8 inches = 0.667 ft. Bed area = 8 × 4 = 32 square feet. Square layout: plants = ceil(32 / 0.667²⁾ = ceil(32 / 0.444) = ceil(72) = 72 plants. Grid: rows = floor(4 / 0.667) + 1 = 6 + 1 = 7 rows, plants per row = floor(8 / 0.667) + 1 = 12 + 1 = 13, grid total = 7 × 13 = 91 positions. Triangular layout: plants = ceil(32 / (0.667² × 0.866)) = ceil(32 / 0.385) = ceil(83.1) = 84 plants, about 17% more than the square estimate here. The grid total is higher than the area estimate because it counts edge positions; buy transplants against the area-based figure and you will not run short.

Frequently asked questions

Measure your bed's length and width, pick the unit (feet, inches, or meters), and enter the spacing recommended on the seed packet. The calculator shows plants for a square layout, plants for a triangular (offset) layout, rows, plants per row, a grid cross-check, and the bed area. Compare the two layouts to decide which planting pattern to use.

A square layout places plants on a regular grid, one spacing apart in both directions. A triangular (offset) layout shifts every other row by half a spacing, so plants pack in a honeycomb pattern. The offset pattern fits about 15% more plants in the same area, which makes it the better choice for maximum yield of leafy greens and other crops that tolerate close neighbors.

Standard garden tomatoes need 18 to 24 inches between plants, measured center to center, with 24 to 36 inches between rows if you need walking space. Determinate (bush) varieties can use the tighter end of the range; indeterminate (vining) varieties staked or caged do best at 24 inches. In a small raised bed, many gardeners plant tomatoes at 18 inches in a triangular pattern for the best yield per square foot.

Plant spacing is the distance between plants within a row, measured center to center. Row spacing is the distance between rows. They often differ because rows need extra room for walking, tools, and airflow while plants within a row can sit closer. This calculator uses one spacing in both directions, matching intensive grid planting.

Yes. Enter the bed's length and width and the spacing for your crop, exactly as you would for an in-ground bed. Raised beds suit intensive spacing and triangular layouts well; just leave 3 to 4 inches of unplanted margin at the edges. For containers, treat the pot's soil surface as a small bed and use its diameter for length and width.

Always measure center to center, from the middle of one plant (or seed) to the middle of the next. That is the convention seed packets and spacing charts use, and it is what the calculator's formulas assume. Measuring edge to edge would over-pack the bed because it ignores the size of the plants themselves.

For an irregular bed, split it into rectangles, run the calculator for each part, and add the results. For a roughly circular bed, use the diameter for both length and width and treat the result as a close estimate. For a curved or wedge-shaped bed, use its average width. The area-based plant counts handle odd shapes well; the rows figure is most accurate for rectangles.

Yes, it matters a lot. Overcrowded plants compete for light, water, and nutrients, grow weak and leggy, and trap humidity that encourages fungal disease. Correctly spaced plants reach full size, yield more per plant, and are easier to weed, water, and harvest. The small effort of spacing correctly pays back across the whole season.

A 4x8 raised bed is 32 square feet. At 6-inch spacing it holds about 128 plants, at 9-inch spacing about 57, and at 12-inch spacing about 32. Leave the outer 3 to 4 inches as a border so leaves are not cramped against the frame. Enter your bed dimensions and spacing above for an exact count.

Related calculators