Skip to content
Explore calculators

Window Box Planting Calculator

Window boxes look best when they are full, but overcrowding leaves plants competing for a small volume of soil. Knowing exactly how many plants fit helps you buy the right number of plugs and pots.

Reviewed November 2026Metric & imperialFormula shownPrintable plan
Window Box Planting Calculator
Quick fill

Typical close spacing for containers. Adjust for your varieties.

Box (inside measurements)
cm

cm

cm

Planting
cm

cm

Soil
cm

L

Result…
Full result ↓
Calculating…

Runs in your browser. Nothing you enter is stored.

What this calculator does

Enter the inside measurements of your box and the spacing you want. The calculator places plants along one row or two staggered rows, draws the layout from above and works out how much potting mix fills the box.

How to use the window box planting calculator

  1. Optional: pick a plant type to fill in a typical container spacing.
  2. Measure the inside length, width and depth of the box. Inside measurements matter because walls can be thick.
  3. Enter the spacing between plant centres and the gap you want from each end wall.
  4. Choose a single row or two staggered rows. Zigzag rows suit boxes wider than the plant spacing.
  5. Set how far below the rim the soil sits and your bag size to see how much mix to buy.

How the calculation works

usable length = inside length − (2 × end gap)
plants in row 1 = floor(usable length ÷ spacing) + 1
plants in row 2 (staggered) = floor((usable length − spacing ÷ 2) ÷ spacing) + 1
soil volume = length × width × (depth − space below rim)
bags = ceil(soil volume × boxes ÷ bag size)

Staggered rows are offset by half a spacing so the plants interlock in a zigzag. Soil volume uses inside dimensions; tapered boxes hold a little less than the result.

Worked example

A 76 cm box with 5 cm end gaps leaves 66 cm usable. At 15 cm spacing a single row fits 5 plants. Switching to two staggered rows adds a second row of 4, for 9 plants. Filling the 76 × 20 × 20 cm box to 2.5 cm below the rim takes 26.6 L of potting mix.

Assumptions and limitations

  • Spacing figures are typical close container spacings, which are tighter than in-ground spacing. Adjust for vigorous varieties.
  • Two staggered rows only make sense when the box is wider than about the plant spacing. The calculator warns you when it is not.
  • The calculator never estimates the weight a window ledge or railing bracket can carry; check fixings separately.

Frequently asked questions

How many plants go in a 30-inch window box?

With a 2-inch gap at each end and 6-inch spacing, a single row fits 5 plants. In an 8-inch-wide box two staggered rows fit about 9 compact plants.

How much soil does a window box need?

Multiply the inside length, width and depth (minus the space you leave below the rim). A 30 × 8 × 8-inch box filled to 1 inch below the rim holds about 0.97 cubic feet, or roughly 27.5 litres.

How deep should a window box be?

At least 15–20 cm (6–8 in) of soil depth suits most herbs and annuals. Deeper boxes dry out more slowly.

Can I plant herbs close together in a window box?

Yes, compact herbs tolerate closer spacing in containers if you water and feed regularly, but give vigorous herbs such as mint their own container.