How deck stain gallons are calculated

Last updated 2026-11-29

A deck has two surfaces, a floor and a railing, and they are measured in different units. This page shows how both become square feet, how square feet become gallons, and how a 16 by 12 ft deck ends up needing two gallons instead of one.

1. Measure the floor and the railing separately

Stain is ordered by the gallon but applied to two surfaces: the floor you walk on and the railing you lean on. Measure them separately. The floor is a rectangle, so length times width gives the area in square feet. Leave fascia, stairs and posts out of that figure unless you plan to stain them; add those as their own allowance.

Deck floor area = length (ft) × width (ft)

A 16 by 12 ft deck is 192 sq ft, and that is the number the rest of the calculation starts from. Measure the actual boards, not the frame: a deck built from 16 ft boards can finish at 15 ft 9 in once the rim joist and fascia are fitted.

Measure twice and write the number down; walking back and forth is how length and width get swapped.

2. Railing is measured in linear feet

Railing is the part most estimates miss. A railing has a top rail, a bottom rail, posts and balusters, and the balusters alone can double the surface you have to cover. Instead of measuring every spindle, the trade allows 2 sq ft of surface for every linear foot of railing.

Railing area = railing length (ft) × 2 sq ft per ft

Twenty-four feet of railing adds 48 sq ft, which is a quarter of a 192 sq ft deck. On a deck with stairs and a long guardrail, railing can reach 30% of the total area. Measure each run, including both sides of a staircase.

Railing lengthRailing areaShare of a 192 sq ft deck
10 ft20 sq ft10%
20 ft40 sq ft21%
30 ft60 sq ft31%
40 ft80 sq ft42%
50 ft100 sq ft52%

Count only the railing you will stain; tape and brushes cost time, not stain.

3. Coverage per gallon decides the total

Every can lists a coverage figure, usually between 200 and 350 sq ft per gallon. The range is wide because the same stain behaves differently on new cedar and on a deck that has baked in the sun for ten years. New, planed wood takes about 350 sq ft; weathered boards can drink a gallon over 200.

Gallons per coat = total area ÷ coverage per gallon

At 250 sq ft per gallon, 192 sq ft needs 0.768 gallons for one coat. At 200 it needs 0.96 gallons; at 350 it needs 0.549. That is the difference between one can and two.

Use the lower end of the label range for old, dry or rough wood. The optimistic number is the most common reason a deck runs out halfway through the second coat.

4. Two coats, then a waste allowance

Two coats are normal for a deck that sees weather. The first coat soaks in and seals the grain; the second builds the film that sheds water and blocks ultraviolet light. A bare deck needs two.

Total stain = gallons per coat × coats × (1 + waste)

The waste allowance is not optional. Brushes, roller pads, spills, lap marks and the last few boards consume material that never reaches the deck. Five percent suits a simple rectangle; ten percent covers stairs, corners and railing. For the 16 by 12 ft deck: 0.768 × 2 × 1.10 = 1.69 gallons.

Gallons to buy = ⌈ total stain ⌉

Stain is sold in whole gallons. 1.69 gallons means two cans, and the leftover half gallon is useful for touch-ups.

5. Water-based and oil-based stains

The stain type changes the schedule, not the arithmetic. Water-based stains dry fast and can take a second coat in two to four hours. Oil-based stains need about 24 hours between coats. Both spread at similar rates, so the gallon count stays the same.

The calculator shows the recoat interval for the type you select. It does not change the gallon count.

6. Worked example: a 16 by 12 ft deck

A 16 ft by 12 ft deck with no railing, two coats, 250 sq ft per gallon and a 10% waste allowance.

StepCalculationResult
Floor area16 × 12192 sq ft
Railing area0 × 20 sq ft
Total area192 + 0192 sq ft
Per coat192 ÷ 2500.768 gal
Two coats0.768 × 21.536 gal
With waste1.536 × 1.101.69 gal
Gallons to buy⌈1.69⌉2 gallons

Add 24 ft of railing and the total area rises to 240 sq ft. Per coat is 0.96 gallons, the total is 2.11 gallons, and the order becomes 3 gallons.

7. What the estimate leaves out

The result covers the deck floor and the railing you enter. It does not include stairs, pergola posts, planter boxes or the underside of an elevated deck. Measure those separately and add them as extra railing length, or price them on their own.

A clear sealer often goes further than a heavy solid stain, which covers less and hides the grain.

8. Ordering and storing stain

Keep leftover stain. A quart from the original batch is the only reliable way to match a repair two years later.

Open the Deck Stain Calculator

Keep reading