How deck stain gallons are calculated
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 length | Railing area | Share of a 192 sq ft deck |
|---|---|---|
| 10 ft | 20 sq ft | 10% |
| 20 ft | 40 sq ft | 21% |
| 30 ft | 60 sq ft | 31% |
| 40 ft | 80 sq ft | 42% |
| 50 ft | 100 sq ft | 52% |
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.
- Water-based: recoat after 2 to 4 hours and clean tools with soap and water.
- Oil-based: recoat after about 24 hours and clean tools with solvent.
- Do not apply the second coat late in the day, when cool air slows drying.
- Read the label for the exact recoat window; humidity moves it by hours.
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.
| Step | Calculation | Result |
|---|---|---|
| Floor area | 16 × 12 | 192 sq ft |
| Railing area | 0 × 2 | 0 sq ft |
| Total area | 192 + 0 | 192 sq ft |
| Per coat | 192 ÷ 250 | 0.768 gal |
| Two coats | 0.768 × 2 | 1.536 gal |
| With waste | 1.536 × 1.10 | 1.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.
- Stairs: treads, risers and stringers are usually counted as railing length.
- Posts and pergola beams: measure the exposed faces and add them to the railing figure.
- Fascia and rim: a 16 by 12 ft deck has 56 ft of perimeter, or 112 sq ft if both faces are stained.
- Underside: an elevated deck can have as much area below as above.
A clear sealer often goes further than a heavy solid stain, which covers less and hides the grain.
8. Ordering and storing stain
- Buy all the stain in one trip and check that the batch numbers match.
- Keep cans out of direct sun and off a hot driveway while you work.
- Stir the stain instead of shaking it; shaking traps air bubbles in the finish.
- Seal partly used cans and store them indoors, away from freezing temperatures.
- Keep the label or photograph it for touch-ups next season.
Keep leftover stain. A quart from the original batch is the only reliable way to match a repair two years later.