Gallons = stain area ÷ coverage for the first coat, plus half that for each extra coat, plus 10% for waste. Stain area = deck floor + railing length × height × 2 (for balusters) + about 1.6 sq ft per foot of stair width for each step. A 12 × 16 ft deck with 40 ft of 3 ft baluster railing and 4 steps 4 ft wide is about 457 sq ft, which takes about 3 gallons of semi-transparent stain for two coats on new wood, or about 5 gallons on weathered wood.
How the deck stain calculator works
Gallons = Area ÷ First-coat coverage + (Coats − 1) × Area ÷ (2 × Coverage), then + 10% waste
Stain cans give coverage as a range because wood drinks stain at very different rates. Cabot's semi-transparent stain lists about 200–300 sq ft per gallon on smooth wood and 100–200 on rough wood, and Behr's solid color stain lists 200–400 sq ft for the first coat and 400–800 for the second. That second number matters: once the pores are filled, a coat goes about twice as far, so two coats of stain take about 1.5 times the stain of one, not twice as much. The calculator uses the middle of those ranges for each stain type and wood condition, and you can type the number from your own can over it.
Weathered, gray, rough-sawn and freshly stripped boards sit at the low end of the range. Inch Calculator notes that softwoods like pine and cedar soak up more than hardwoods, and that new unfinished lumber takes more than wood that was stained before. If a splash of water soaks straight into your boards, choose "weathered".
Why railings take so much stain
The usual shortcut, railing length × height, treats the railing as a flat wall. A baluster railing isn't one. On a typical 3 ft wood railing, each running foot has a 2×6 cap, a top and bottom 2×4 rail and two or three 2×2 balusters, each stained on all four sides, plus a share of a 4×4 post every 6 ft. Add those faces up and it comes to roughly 6 sq ft of wood per foot of railing, about twice the 3 sq ft the shortcut gives. That's why the calculator multiplies a baluster railing by 2. A railing with cable, glass or metal balusters only needs the cap, rails and posts stained, which is close to length × height, so the factor is 1.
Worked example: a 12 × 16 ft deck with stairs
- Floor: 12 × 16 = 192 sq ft.
- Railing: 40 ft of 3 ft baluster railing: 40 × 3 × 2 = 240 sq ft. More than the floor.
- Stairs: 4 steps, 4 ft wide, treads and risers: 4 × 4 × 1.56 = 25 sq ft. Total 457 sq ft.
- Semi-transparent stain on new wood at 250 sq ft per gallon: first coat 457 ÷ 250 = 1.83 gal, second coat 457 ÷ 500 = 0.91 gal. Total 2.74 gal, plus 10% = 3.0 gallons.
- Same deck, weathered boards at 150 sq ft per gallon: 3.05 + 1.52 = 4.57 gal, plus 10% = 5.0 gallons, so one 5-gallon pail.
How much stain for common deck sizes
Two coats of semi-transparent stain, 10% extra, floor only and floor plus a 3 ft baluster railing around three sides:
| Deck | Floor only, new wood | Floor only, weathered | With railing, new wood |
|---|---|---|---|
| 10 × 10 ft (100 sq ft) | 0.7 gal | 1.1 gal | 1.8 gal (30 ft rail) |
| 12 × 12 ft (144 sq ft) | 1.0 gal | 1.6 gal | 2.4 gal (36 ft rail) |
| 12 × 16 ft (192 sq ft) | 1.3 gal | 2.1 gal | 2.9 gal (40 ft rail) |
| 16 × 20 ft (320 sq ft) | 2.1 gal | 3.5 gal | 4.3 gal (56 ft rail) |
| 20 × 20 ft (400 sq ft) | 2.6 gal | 4.4 gal | 5.0 gal (60 ft rail) |
Railing lengths assume one long side of the deck is against the house. Round up to whole gallons, and buy one batch so the color matches.
Measuring your deck
- Floor: length × width along the outside of the boards. For an L-shaped or multi-level deck, measure each rectangle and add them up, then use "I know the square feet".
- Railing: run a tape along the top cap all the way around, including the stair railings. Measure height from the deck boards to the top of the cap.
- Stairs: count the treads and measure their width. The calculator assumes about an 11¼ in tread (two 5½ in boards) and a 7½ in riser; if you also stain the stringers, add 10% to the stair area.
- Skip what you won't stain: joists and the underside of the boards usually stay bare, but the rim board and fascia are often stained. Add them as extra length on the railing line, or as square feet on the floor.
Before you start
Stain only clean, dry wood. YellaWood's staining guide says the wood should be below about 15% moisture: sprinkle water on a board and, if it doesn't soak in within a few moments, the wood is still too wet, which is common on new pressure-treated lumber (cedar vs pressure-treated explains why). It recommends staining between 55°F and 95°F, two thin coats rather than one heavy one, and keeping furniture off for a day or two while it cures (full cure takes at least 72 hours). Old stain that's peeling has to be stripped or sanded first, or new stain peels with it.
Building or replacing the deck boards instead? Price the railing posts with the fence post concrete calculator, and if you're staining a fence the same weekend, the fence calculator gives its length and height, and the same railing logic applies: a board fence has two faces. The square footage calculator handles odd deck shapes.
Sources: Cabot semi-transparent exterior stain product data (200–300 sq ft/gal smooth, 100–200 rough); Behr Premium solid color waterproofing stain (200–400 sq ft first coat, 400–800 second, 1–2 hr recoat, 72 hr cure); YellaWood, staining a deck (moisture test, 55–95°F, two thin coats wet-on-wet); Inch Calculator, deck stain calculator (absorption by wood type, 10% extra). The railing factor is our own count of a typical 2×2 baluster railing. Always check the coverage on your can.
Frequently asked questions
How many gallons of stain do I need for a 12x12 deck?
About 1 gallon for two coats of semi-transparent stain on the floor of new or smooth wood, or about 1.6 gallons on weathered wood. Add about 1.4 gallons more if it has 36 ft of 3 ft baluster railing, which has more surface than the floor.
How much does a gallon of deck stain cover?
Usually 200–300 sq ft on smooth wood and 100–200 sq ft on rough or weathered wood for the first coat. A second coat goes about twice as far. The exact range is printed on the can.
Do I need two coats of deck stain?
Most stains call for two thin coats. Semi-transparent and transparent stains go on wet-on-wet, with the second coat brushed on before the first dries; solid stains need the first coat dry, often 1–2 hours. Some penetrating stains say one coat; follow the can.
How do I calculate stain for deck railings?
Multiply the railing length by its height, then by about 2 for a wood baluster railing, because each baluster is stained on four sides. For cable, glass or metal balusters, length × height is close enough.
How long should I wait to stain a new pressure-treated deck?
Until the wood is dry, not a set number of days. Sprinkle some water on it: if the drops bead up and sit there, wait; if they soak in within a few moments, it is ready. Below about 15% moisture is the target.
Is it cheaper to buy deck stain by the 5-gallon pail?
Usually, if you need 4 gallons or more; a pail typically costs less than five single gallons. It also keeps the color consistent from start to finish. Check the price per gallon at your store.
Related guides
Run a landscaping, garden or contractor website? Add this calculator to your site for free.
Reviewed by the Backyard Numbers team. Last updated 2026-12-01. Material weights are typical industry averages and vary by supplier, moisture and compaction. How we calculate.