Deck stain calculator: gallons for deck and railing

Estimate how many gallons of deck stain or sealer you need for the floor, railings and stairs.

Quick sizes:
ft
ft
ft
Two coats is normal
$
Optional. Shows the total cost.

The numbers start with a worked example. Change any box and the result updates instantly. Your last entries are remembered on this device.

Stain for 2 coats

3.8

gallons

Floor192 sq ft
Railings + stairs144 sq ft
Buy4 gal
Estimated cost$180.00

Estimate only. Check product labels and local codes. Updated December 2026.

How to use the deck stain calculator

Old, dry wood drinks stain. This calculator adds the deck floor, railings (both sides with balusters) and stairs, then adjusts coverage for the condition of the wood.

Enter your measurements in the boxes above. Every result updates as you type, and you can add a price to see the total cost. Use Copy result to save the numbers to your phone before you go to the store.

Formula

Area = deck length × width + railing length × 3 + steps × 6
Gallons = area × coats ÷ coverage

Worked example

With deck length 16 ft, deck width 12 ft, railing length 40 ft, stair steps 4, coats 2, wood condition: Weathered (175 sq ft/gal), you need 3.8 gallons (floor: 192 sq ft; railings + stairs: 144 sq ft). With a price per gallon of $45.00, the estimated cost is $180.00.

Quick reference chart

Common sizes worked out with the same formula and the default settings above.

Deck (no railing)Gallons, 2 coats
10 × 10 ft1.1
12 × 12 ft1.6
12 × 16 ft2.2
16 × 16 ft2.9
16 × 20 ft3.7
20 × 24 ft5.5

Tips before you buy

  • Clean and brighten the deck and let it dry 48 hours before staining.
  • Most semi-transparent stains need two thin coats. Solid stains may need one.
  • Do a water test: if drops soak in, the wood is ready for stain.

Frequently asked questions

How much stain for a 12x16 deck?

The floor is 192 sq ft. With 40 ft of railing and two coats on weathered wood, you need about 3.6 gallons.

How much does a gallon of deck stain cover?

About 150 to 300 sq ft per coat, depending on the wood and stain type.

Why include railings?

Railings and balusters have many sides and often take as much stain as a big part of the floor.

Add this calculator to your website

Run a blog, a store or a contractor website? Paste this code to give your visitors this free deck stain calculator.

Deck Stain Calculator by HatCalc – more free calculators →