Plant Spacing Calculator

Last Updated:

Find out how many plants fit your bed. Square, staggered or row layout, feet or meters, with spacing presets for 20 vegetables.

Quick answer: Plants per row = floor(length ÷ spacing) + 1, and rows = floor(width ÷ spacing) + 1. Multiply the two. A 10 × 4 ft bed at 24 inches (tomatoes) fits 6 × 3 = 18 plants. Spacing ranges come from K-State Research and Extension's intensive raised-bed chart. The tool also does staggered rows, metric beds, an edge distance and plants per square foot.

Required
Required

Enter your figures above to see your result.

Plants That Fit

Plants Per Row
Number of Rows
Spacing Used
Vegetable
Bed Area
Plants Per Sq Ft

📐 Formula

Square grid: plants per row = floor[(length − 2 × edge distance) ÷ spacing] + 1, rows = floor[(width − 2 × edge distance) ÷ spacing] + 1, total = plants per row × rows. Staggered: rows sit 0.866 × spacing apart and every second row is shifted by half a spacing. Rows layout: the same grid sum with the in-row spacing along the length and the row distance across the width.

How to Use the Plant Spacing Calculator

1

Choose feet or meters and enter the bed size

Pick feet and inches or meters and centimeters, then type the bed length and width. For an irregular bed, use the longest length and widest width, or split it into rectangles.

2

Pick a vegetable or enter a custom spacing

Choose one of 20 vegetables with a spacing taken from the K-State chart, or choose Custom and type your own figure from a seed packet or plant tag.

3

Choose a layout and an edge distance

Use a square grid, staggered rows, or rows with a separate between-row distance. Set the edge distance to none, half a spacing or your own figure.

4

Read the plant count

Read the total, plants per row, number of rows, plants per square foot and the count for the other layout, then change the spacing to compare.

How the Plant Spacing Calculator Counts Plants

The quick way to guess a plant count is bed area divided by spacing squared. A 10 × 4 ft bed at 24 inches is 40 sq ft at 4 sq ft per plant, so the shortcut says 10. It is only right when every plant owns a full square and the bed divides evenly, so it ignores how many plants really fit along each edge.

This calculator counts the way you plant. It converts the bed to inches, divides each side by the spacing, rounds down to a whole number and adds one for the plant on the edge. Plants per row times rows is the total. For a 10 ft × 4 ft bed at 24 inches: 120 ÷ 24 = 5, plus 1 is 6 along the length; 48 ÷ 24 = 2, plus 1 is 3 across; 6 × 3 = 18 plants with a plant on each edge, against the 10 the area shortcut gives. Keep half a spacing clear of the edges and the grid count falls to 10, the same as the shortcut.

Counting a plant on every edge is one convention, not the only one. Some gardeners keep half a spacing clear of the bed edge, which is how a square foot garden works, because each plant owns a full square. The edge distance setting handles both. Pick none, half a spacing, or type your own distance.

Worked Examples, By Hand

Tomatoes, plants on the edge: 10 × 4 ft at 24 in gives 6 × 3 = 18 plants.

Tomatoes, half a spacing from the edge: the same bed with 12 inches kept clear on every side leaves 96 × 24 inches. 96 ÷ 24 = 4, plus 1 is 5; 24 ÷ 24 = 1, plus 1 is 2. Total 10 plants. The edge setting changes the count a lot in a small bed, so decide it before you shop.

Carrots, square foot style: a 4 × 4 ft bed at 3 inches with 1.5 inches kept clear leaves 45 × 45 inches. 45 ÷ 3 = 15, plus 1 is 16 each way, so 256 plants, which is 16 per square foot across 16 squares.

Staggered rows: a 20 × 20 ft bed at 12 in. A square grid fits 21 × 21 = 441. Staggered rows sit 10.39 inches apart, which gives 24 rows alternating 21 and 20 plants, so 492 plants, about 11.6% more. In a 4 ft bed the gain is small, because only a few rows fit.

Rows: a 10 × 4 ft bed with plants 12 in apart in rows 24 in apart: 11 plants per row and 3 rows, so 33 plants.

Type any of these into the calculator. If you do not get the same total, something in the entries differs.

Plants Per Square Foot at Each Spacing

Gardeners often start from plants per square foot. The sum is 144 divided by the spacing in inches squared. Square foot gardening rounds this to four groups: 1, 4, 9 or 16 plants per square.

SpacingPlants per sq ftTypical square foot group
3 in1616 per square: carrots, radishes, onions
4 in99 per square: snap beans
6 in44 per square: leaf lettuce, chard
9 in1.78No standard group
12 in11 per square: peppers, broccoli, cabbage
18 in0.44One plant takes about 2.25 squares
24 in0.25One plant takes 4 squares

The density column is our arithmetic. The results panel also shows the average for your own bed, which comes out higher than the table when you count a plant on every edge.

Vegetable Spacing Chart for 20 Crops

These presets use K-State Research and Extension's intensive spacing for raised beds. That is one distance in every direction with no walking rows, so the figures run tighter than the in-row and between-row distances on a seed packet (common practice: packets are written for single rows with paths between them). The default is the figure the calculator starts with, picked inside the K-State range.

VegetableK-State rangeCalculator defaultPer 1 ft squareNote
Tomatoes18-24 in24 in1Large vining types suit the wider end (common practice)
Peppers12-15 in15 in1-
Eggplant12-18 in15 in1-
Broccoli12 in12 in1K-State gives one 12-inch square, not a range
Cabbage15-18 in18 in1-
Cauliflower12-15 in15 in1-
Cucumbers12-18 in15 in1-
Summer squash / zucchini8-24 in24 innot listedK-State gives a wide range with a footnote; we start at the top
Winter squash / pumpkins24-36 in36 innot listed-
Corn8-10 in9 in1 (K-State)K-State lists 8-10 in the chart and one per 12-inch square in the square foot note
Beans (snap or bush)3-4 in4 in9-
Peas1-2 in2 in9 (UF/IFAS)UF/IFAS gives a wider spacing than K-State
Lettuce (head)10-12 in12 in4 (UF/IFAS)UF/IFAS puts all lettuce at 4 per square; K-State lists head lettuce at 10-12 in
Lettuce (leaf)3-6 in6 in4-
Spinach2-4 in4 in4 or 9The two sources differ
Carrots2-3 in3 in16-
Beets2-3 in3 in9 or 16The two sources differ
Radishes2-3 in3 in16-
Onions (bulb)3-4 in3 in1616 per square is the 3 in spacing
Basil12-18 in12 innot listed-

The "per 1 ft square" column comes from the square foot notes in the same K-State sheet and from UF/IFAS Extension. Where the two disagree, both figures are shown. Strawberries and the shade perennials people often search for next to these are not in the K-State sheet, so they are left out rather than guessed. Kale (6 to 8 in in that sheet) and the other crops it lists are not presets either; use Custom for them.

Square Foot Gardening or Extension Spacing?

Square foot gardening packs plants tighter than the extension chart. The two guides do not always agree. UF/IFAS puts one tomato, pepper, broccoli or cabbage in each square foot. K-State gives tomatoes 18 to 24 inches, which is a 1.5 to 2 ft square for one plant. Spinach is 4 per square in one guide and 9 in the other, and beets 9 or 16. Neither is wrong. The chart gives a range because variety, soil and trellising change how much room a plant uses.

UF/IFAS also makes a layout point that matters for any bed: a 4 × 4 ft box is a good size because you can reach the middle from the sides without stepping in, and aisles around boxes are generally 3 ft wide. In our experience a bed much wider than 4 ft puts the middle out of reach, so plan a path through it. When the calculator gives you a count, check that you can reach every plant.

Rows, Staggered Planting, Metric Beds and Hedges

Rows. Seed packets give in-row and between-row distances. Choose the Rows layout, keep the vegetable's spacing as the in-row distance, and type the row distance. Rows run along the length of the bed.

Staggered or triangular. Every second row moves half a spacing sideways. The rows then sit 0.866 × spacing apart (sin 60°), so more fit across the bed. The result panel shows the square grid count beside it, so you can see whether the shift is worth it for your bed.

Metric beds. Switch the units to meters and centimeters. The presets convert at 2.54 cm per inch, so the same crop gives the same count in either unit. Spacing depends on the plant and how you grow it, so a UK, Australian, New Zealand or Canadian bed uses the same figures.

Per acre or per hectare. Divide the area by the area each plant takes. An acre is 43,560 sq ft: at 12 in in the row and 30 in rows each plant takes 2.5 sq ft, so about 17,424 plants. A hectare is 10,000 sq m: 30 cm by 75 cm is 0.225 sq m, so about 44,444. These are our arithmetic and ignore headlands.

Hedges. A single line needs length ÷ spacing, rounded down, plus 1. Use the shrub's mature width from the plant tag as the spacing.

Shade Plants and Perennials

Hostas, ferns, astilbe and other shade perennials are spaced by mature width, and that varies a lot between varieties. We do not have an extension chart we can read for them, so they are not in the presets. Read the mature spread on the plant tag, choose Custom and enter it, and the calculator gives the count for your bed.

Once You Know What Fits

Plant count answers one part of planning a bed. The other parts are what to fill it with and when to plant. If you are still building the bed, our raised garden bed calculator works out the soil for the same length and width, and the garden soil calculator covers topping up and mulch. The compost calculator works out how much compost to make or buy. The vegetable planting calendar calculator tells you when to start seeds or transplant by USDA hardiness zone, and the garden watering calculator turns the same bed size into gallons a week.

⚠️ Disclaimer Plant counts are an estimate from the length, width, spacing and layout you enter. Real capacity depends on variety (dwarf or vining), trellising and the shape of your bed. The spacing figures are general starting points from published guidance, not a substitute for the seed packet or plant tag of the variety you are planting.

Frequently Asked Questions

Convert the bed length and width to inches, divide each by the spacing and round down, then add 1 for the plant on the edge. Multiply the two numbers. A 12 × 6 ft bed at 18 inches: 144 ÷ 18 = 8, plus 1 is 9 along the length; 72 ÷ 18 = 4, plus 1 is 5 across; 9 × 5 = 45 plants. The calculator does the same sum and also handles meters, staggered rows and an edge distance.

It depends on the spacing. Divide 144 by the spacing in inches squared: 12 inches gives 1 plant per square foot, 6 inches gives 4, 4 inches gives 9 and 3 inches gives 16. Square foot gardening uses exactly these four numbers, and the results panel shows the average for your own bed.

Dividing area by spacing squared assumes every plant owns a full square and the bed divides evenly. A real bed has a remainder along each side, and whole plants cannot be split. It also ignores the edge: with a plant on every edge you fit more than the shortcut says, and with half a spacing kept clear you fit at most as many. Counting along the length and across the width and multiplying matches what you get when you mark the spots with a tape measure.

Plant spacing is the gap between plants in the same row. Row spacing is the gap between rows. Seed packets often give both. Intensive and raised-bed spacing uses one distance in every direction and no walking rows. Choose the Rows layout in the calculator when you want to enter both numbers.

K-State Research and Extension gives 18 to 24 inches for tomatoes in an intensive bed, and the calculator starts at 24 inches. As common practice, use the wider end for large vining types and the tighter end for compact types. For a raised bed, enter your bed size and compare 18, 21 and 24 inches in the Custom field.

Not always. Square foot gardening puts one tomato, pepper or cabbage in each 12-inch square, which is tighter than the 18 to 24 inches K-State gives for tomatoes. The two guides also differ on spinach, beets and head lettuce. Treat the chart as a range, pick the end that suits your variety, and read the seed packet or plant tag.

Switch the unit to Meters and centimeters. The calculator converts the presets (1 inch is 2.54 cm) and takes your bed size in meters and your spacing in centimeters. If you already have a metric seed packet, choose Custom spacing and type the centimeter figure.

Staggered rows shift every second row by half a spacing, so the rows sit closer together: 0.866 times the spacing instead of 1 times. On a very large bed that approaches 15% more plants (our arithmetic, 1 ÷ 0.866) for the same spacing; on a 20 × 20 ft bed at 12 inches it is 11.6%. On a small bed the gain is smaller or zero because of rounding. Choose the Staggered layout and read the comparison line to see both counts.

Divide the area by the area each plant takes. An acre is 43,560 square feet. At 6 inches in the row and 18-inch rows each plant takes 0.75 square feet, so about 58,080 plants per acre. A hectare is 10,000 square meters: 20 cm by 50 cm is 0.1 square meters, so 100,000 per hectare. These are our arithmetic and ignore headlands and paths.

A single line of plants needs the length divided by the spacing, rounded down, plus 1. A 20 ft hedge at 3 ft spacing needs 6 plus 1, so 7 plants. Take the spacing from the plant tag, since it depends on the shrub's mature width.

Yes, but you trade yield per plant for more plants overall. K-State notes that closer spacing raises the return per bed. In common practice, crowded plants also compete for water and light, so each one yields less. The preset spacings are ranges, not hard limits. Use Custom to try a tighter figure and compare the plant count before you buy seedlings.

Sources & Methodology

Spacing ranges are from K-State Research and Extension (Johnson County), "Intensive Spacing for Raised Beds", read in full on 2026-11-19. The square foot groupings (1, 4, 9 or 16 plants per square), the 4 × 4 ft box and the 3 ft aisle come from UF/IFAS Extension, "Square Foot Gardening", read on 2026-11-19. Plants per square foot, staggered spacing (0.866 × spacing), plants per acre and per hectare, and the hedge count are our arithmetic. The calculator's default within each range is our choice.