Put your tallest crops on the north side so they don't shade everything else. Give each plant its real spacing, because crowding kills more beds than pests do. Keep the crops you pick every day, like tomatoes and herbs, closest to the door. Sketch it before you plant. Start with sun, then height, then spacing, then paths wide enough to work in.
The four rules that decide every layout
Everything below is these four rules applied to a shape. Get them right and a plain rectangle will out-produce a clever design.
1. Sun first, and measure it instead of guessing. Stand in the spot and look at it three times in one day: nine in the morning, one in the afternoon and five in the evening. Where do six to eight hours of sun actually land? A brilliant plan in a four-hour spot loses to a dull one in full sun, every year.
2. Tall things go on the north side. Our sourced records put staked tomatoes at 2 to 6 feet and pole beans at 6 to 8. If you put anything that tall on the south edge, the rest of the bed is in shade by July. On the north edge, it shades nothing but the fence.
3. Real spacing, not hopeful spacing. This is the rule that costs people a season, so it gets its own section below. The number that matters isn't the one on the front of the seed packet.
4. Paths you can actually kneel in. Make them eighteen to twenty-four inches wide. If you can't reach the middle of a bed, you'll stop weeding it by July. A weedy bed gives you less than a smaller, tidy one would have.
The number that ruins layouts, and it is not the one you think
Seed packets and layout guides talk about spacing in the row, like putting your lettuce four inches apart. That number is fine. It just isn't the one that decides whether your plan fits.
The row-to-row figure is a different number, and a much bigger one. Across the thirteen crops we checked, it runs from about one and a half times the in-row spacing up to ten times it. The pattern is the opposite of what you'd guess. The smaller the plant, the bigger the gap. Bush beans sit 2 to 4 inches apart in the row and want 24 to 36 inches between rows, because you can pack the plants close but you still need somewhere to put your feet.
Here's what our own sourced records say about the crops people put in a first bed.
Cucumbers need 8 to 12 inches in the row, and 48 to 72 inches between rows. Summer squash needs 24 to 36 in the row and 36 to 48 between. Staked tomatoes need 18 to 36 in the row and 36 to 60 between. Bush beans need 2 to 4 in the row and 24 to 36 between.
A 4×8 raised bed is 48 inches wide. Put those two facts together and the math gets uncomfortable. One row of cucumbers, at its published row spacing, takes up the whole bed. It doesn't take a corner of it. It takes all of it.
That's why so many first beds disappoint. The plan looked fine, and every plant went in at its packet spacing. By July the bed is a thicket where three crops fight over one crop's worth of light and water. You didn't do anything wrong. Nobody ever ran the math.
Now let's run the same check on the plan we recommend below. It fails too, and that's the point.
The four-row bed further down puts tomatoes, peppers, a chard-and-basil row and lettuce across those 48 inches. Their published row spacings start at 36, 18, 18 and 12 inches. Add up the three gaps between four rows and the smallest published arrangement needs 72 inches of gaps. A 48-inch bed, with a sensible six inches of margin at each edge, gives you 36. Our own recommended plan runs at half the row spacing our own database publishes.
We're printing that instead of quietly rounding it away, because the answer is the useful part. Those figures assume a person walking between the rows. Extension services write them for growers with a hoe and a field. In a four-foot bed you reach in from both sides and never step inside. The walkway the number reserves isn't needed, so half is genuinely fine.
What isn't fine is doing that without knowing. If you shave a number you've seen, you're making a decision. If you shave one you never met, you're guessing and calling it a plan. So the math is on this page, even where it goes against us.
Four example layouts you can copy
Each one is a real bed with real counts. The last column gives our sourced spacing for that crop, and the counts come from dividing the bed by it. You can check every row of this table against the plan.
| Where in the bed | What goes there | Why that many |
|---|---|---|
| North edge | 4 staked tomatoes | Sourced at 18–36 in apart in the row. At 24 in, four fit across the 96-inch length. They're the tallest thing here, so they shade the fence instead of the bed. |
| Second row | 5 peppers | 12–24 in apart in the row. At 18 in that's five, and peppers top out at 1–4 ft. That puts them under the tomatoes and over everything after them. |
| Third row | Swiss chard and basil | Both 6–12 in apart in the row. Chard runs 1–2 ft tall and basil 12–18 in, so they sit below the peppers and above the last row. |
| South edge | Leaf lettuce, then a short row of radish | Lettuce 4–12 in, radish 1–3 in. These are the two shortest crops, so they go on the sunniest edge. You'll pick them most often, so they're also nearest where you stand. |
| Deliberately absent | Cucumbers, squash, pole beans | Cucumbers want 48–72 in between rows and squash wants 36–48. Either one takes over the bed on its own. They belong in a second bed, not a corner of this one. |
Why that order, in one line
Tomatoes 2–6 ft, peppers 1–4 ft, chard 1–2 ft, lettuce 6–12 in. The bed steps down from north to south, so no row shades the row behind it. When height and convenience disagree, height wins. A tomato is a daily pick and it still belongs at the back, because a shaded row loses all season and a few extra steps cost you nothing.
The other three layouts
These follow the same rules as the bed above. They use real counts, and we say the math out loud where it bites.
Two 4×8 beds, with the rotation built in
Bed one is the plan above. Bed two is where the crops that wouldn't fit go. That's the real reason for a second bed, not a vague wish for more room.
Put summer squash at one end. At 24–36 inches in the row, you get three or four plants across the 96-inch length, and that's all you get. Cucumbers take the north side on a trellis. Going vertical buys back the row spacing. A cucumber sprawls 3 to 8 feet across the ground, but it takes almost none of that width if you send it up.
Then next spring, swap the two beds. You don't have to memorize a rotation chart. You just move two labels, and each plant family ends up where it should be because there are only two places it can go.
A 10×10 in-ground plot
Ten feet of width is the first size where you can follow the published row spacing instead of arguing with it. A 120-inch width takes two tomato rows at their widest published spacing, or three at their tightest, and two cucumber rows, which a 4-foot bed can't do at all. That's the real difference between a bed and a plot. It's worth knowing before you decide which one you're building.
Put the tall crops in the northern third. Put the heavy feeders through the middle, where you'll be adding compost anyway. Put the quick crops on the south edge, where you can get at them. Two 24-inch paths cost you 20 of your 100 square feet. That's a fifth of the plot, which sounds like a lot until August. By then, the plot without paths is the one you've stopped weeding.
Small space — containers plus one bed
This is the honest patio version. Use one bed for the crops that repay the space, and containers for the ones that don't care where they live.
A five-gallon bucket is the right size for bush beans, carrots, Swiss chard, cherry tomatoes and cabbage, and too small for summer squash. For those five crops it isn't a compromise. It's the published figure. We work through all of it, including the four crops where five gallons is a minimum and not the answer, in what to grow in a five-gallon bucket.
The advantage nobody mentions is that a container has no row spacing at all. Every figure on this page reserves ground between rows, and a bucket you can pick up and move has none to reserve. In the tightest spaces, that makes containers the more efficient choice, not the consolation prize.
How to plan your own layout, step by step
Do these five steps in this order. The order matters more than any single choice. Each step limits the next one, and doing them backwards is how people end up moving a bed.
- Map the sun before you decide anything. Look at the spot at nine, one and five on one clear day and note where the shade falls. Aim for six to eight hours of sun for fruiting crops. This is the only step you can't fix later with effort.
- Pick four to six crops you will actually eat. Don't pick what looks good on paper. A bed of four crops you cook with beats one of twelve you admire. Fewer crops also means fewer spacing rules to keep in your head.
- Run the spacing math, rows first. For each crop, find the between-rows figure, not just the in-row one. Divide your bed's WIDTH by it. That tells you how many rows the bed can hold. It's usually fewer than you hoped, and it's better to learn that now than in July.
- Sketch it on paper, tallest to the north. Use a real pencil and draw a real rectangle. Put the tall crops on the north edge and work south by height. Draw the paths in before you fill the space, because paths added last always end up too narrow.
- Check pairings and dates before you buy. Make two last checks. Which of your crops shouldn't sit next to each other? And can each one still be planted where you live? Both checks are quick, and both are cheaper to do now than after you've paid.
A working rule for that third step, from the math further up this page: in a bed you never walk in, about half the published row spacing is fine. That's what our own recommended plan does, with 36 inches of gaps where the published figures ask for 72.
Halving stops working when a plant sprawls. A cucumber's 48-to-72-inch row figure isn't reserving a walkway. It's describing a vine that runs three to eight feet across the ground. You can't solve that by reaching in from the side, which is why cucumbers and squash get their own bed instead of a tightened row.
Layout mistakes that cost a season
None of these mistakes are stupid. Each one is a reasonable choice made without a number in front of you.
Crowding. This is the most common mistake and the most expensive. Plants at half their spacing don't give you half the harvest each. They shade each other and trap damp air between them, so every plant gives you only a fraction. We crowded a bed once and got roughly a third of what the same plants gave the next year with room.
Tall crops on the south edge. It's easy to do in April, when the tomato is eight inches high and shades nothing. By July it's six feet tall, and everything behind it has been in shade since June.
A bed you can't reach the middle of. Four feet wide is the standard for a reason, since you can reach two feet in from either side. Five feet looks like more growing space, but it's mostly space you stop maintaining.
Sowing the whole packet. A packet holds far more seed than a bed has room for. If you sow it all, your carefully spaced plan becomes a thicket in three weeks. Thinning feels like destroying something you grew, so most people skip it.
Planning for the sun you wish the spot had. No amount of care later on can repair this one.
Write down what went where
A layout only pays you back if you can remember it next spring. Which bed had the tomatoes? What did well? What did you swear you'd move? By March it's gone, and most gardeners rebuild last year's plan from a photo and a guess.
Paper is fine. A photo of your sketch on the fridge is fine. You can only rotate crops if you know what was there. A plan you didn't record is a plan you'll draw again from scratch.
We're building an app that remembers what you planted where, so next spring's plan starts from what actually happened and not from memory. The free tools on this page are the first pieces of it.
Questions about laying out a vegetable garden
What's the best vegetable garden layout for beginners?
Start with one 4×8 raised bed and five or six crops, with the tallest on the north edge. Put four staked tomatoes along the north end, then a row of peppers, a row of chard and basil, and lettuce and radish on the south side where you stand. You can plan that bed in an evening, and you'll still be keeping up with the weeding in August. Leave cucumbers and squash out of it. At their sourced row spacing of 48 to 72 and 36 to 48 inches, either crop takes over a 48-inch-wide bed on its own.
Should rows run north-south or east-west?
For most beds, run them north to south. Rows running north-south let the sun cross them through the day, so plants shade each other less than they do in east-west rows, where the front row keeps its shadow on the one behind it all morning. The exception is a bed on a slope. There you run rows across the slope, because losing soil to runoff costs more than losing light. In a bed only four feet wide, the direction makes a small difference either way. The height rule matters far more.
How many plants fit in a 4×8 raised bed?
It depends on the crop, and the honest answer is fewer than most plans show. A 4×8 bed is 48 by 96 inches. Staked tomatoes at their sourced 18 to 36 inch in-row spacing give you three to five along the 96-inch side. Peppers at 12 to 24 inches give you four to eight. Lettuce at 4 to 12 inches gives you eight to twenty-four in a row. But the limit is usually the row spacing across the 48-inch width, not the plant spacing along the length. That's the math this page exists to show.
Which vegetables shouldn't be planted next to each other?
The pairings worth avoiding are mostly about competition and shared pests, not folklore. In a small bed, the bigger issue is size, and you can check it. Anything that sprawls will take the space of whatever is beside it, whether or not the two plants get along. Our <a href="/tools/companion-planting-chart/">companion planting chart</a> covers the pairings. Read it alongside the spacing figures, not instead of them.
Sources
Every planting date, depth, and temperature on this page traces to these university extension guides. Where they differ, the ranges above hold the whole spread.
- University of Maryland Extension — Growing Cucumbers in a Home Garden
- University of Minnesota Extension — Growing cucumbers
- Utah State University Extension — How to Grow Cucumber in Your Garden
- Clemson Cooperative Extension HGIC — Cucumber
- University of Maryland Extension — Growing Summer Squash (Zucchini) in a Home Garden
- Clemson Cooperative Extension HGIC — Tomato
- University of Minnesota Extension — Growing beans in home gardens
- University of Maryland Extension — Growing Swiss Chard in a Home Garden
- GardenTrack plant database — Sourced spacing records for 153 crops
Four rules do most of the work: sun first, tall crops to the north, real spacing and paths you can kneel in. Everything else is preference.
Two free tools do the math on this page for you. The plant spacing calculator tells you how many fit, and the companion planting chart shows what goes beside what.