How to use the deck stain calculator
- Enter the deck size. Add a section for each level or for an L-shaped deck.
- Add the railings. Quick mode uses length × height; detailed mode counts the posts, rails and balusters for you.
- Add stairs and skirting if you are staining them.
- Choose the stain and coats. The coverage fills in from manufacturer data — replace it with the number on your can — then set the wood condition and whether you brush or spray.
- Read the result: stain needed, the cans to buy, deck cleaner, and the DIY and professional cost. Copy, print or share it.
How to calculate how much deck stain you need
Area = floor + railings + stairs + skirting
Coat 1 (gal) = area ÷ coverage
Coat 2 (gal) = area ÷ (coverage × second-coat factor)
To buy = (coat 1 + coat 2) × (1 + extra %)Example: the 16 × 20 ft floor is 320 sq ft and the 40 ft railing adds 226.7 sq ft, for 546.7 sq ft. With semi-transparent stain at 250 sq ft per gallon, the first coat takes 2.19 gallons; the second coat, at 375 sq ft per gallon, takes 1.46. Add 10% and you need 4.01 gallons — buy 5 one-gallon cans, or a 5-gallon pail if your store sells one for less.
How much does a gallon of deck stain cover?
The more pigment, the more the stain sits on the surface — but coverage depends far more on the wood than the label suggests. These are the published figures the calculator starts from, all from one manufacturer family so they compare fairly:
| Stain type | 1st coat | 2nd coat | Calculator default | 20 × 20 ft, 2 coats |
|---|---|---|---|---|
| Transparent / toner | 300–350 ft²/gal | 600–700 ft²/gal | 300 ft²/gal | 2.44 gal |
| Semi-transparent | 250–300 ft²/gal | 500–600 ft²/gal | 250 ft²/gal | 2.93 gal |
| Solid colour | 200–400 ft²/gal | 400–800 ft²/gal | 250 ft²/gal | 2.93 gal |
The calculator uses the low end of each first-coat range so you are less likely to run short, and a second coat that goes 1.5× as far — between TWP’s figures (about 1.3–1.5×) and BEHR’s (about 2×). Then it adjusts for the wood:
- New or smooth boards — label coverage (× 1).
- Weathered, grey wood — × 0.8. A 20 × 20 deck goes from 2.93 to 3.67 gallons.
- Rough-sawn or very porous wood — × 0.62, from Duckback SuperDeck’s published rough (175–225) vs smooth (275–375) coverage. The same deck needs 4.73 gallons.
Always brush a test board first. If the first coat disappears into the wood, use a lower coverage number in the calculator before you buy the rest.
Deck stain needed by deck size
Floor only, semi-transparent stain on smooth wood, 10% extra, at the calculator’s default prices ($45 per gallon, cleaner at $17, pro labour $1.50/ft² plus washing). Add railings and stairs with the calculator.
| Deck | Area | 1 coat | 2 coats | Buy (2 coats) | DIY cost | Pro cost |
|---|---|---|---|---|---|---|
| 10 × 10 ft | 100 ft² | 0.44 gal | 0.73 gal | 1 gal | $62 | $230 |
| 12 × 12 ft | 144 ft² | 0.63 gal | 1.06 gal | 2 gal | $107 | $356 |
| 12 × 16 ft | 192 ft² | 0.84 gal | 1.41 gal | 2 gal | $107 | $445 |
| 16 × 20 ft | 320 ft² | 1.41 gal | 2.35 gal | 3 gal | $169 | $727 |
| 20 × 20 ft | 400 ft² | 1.76 gal | 2.93 gal | 3 gal | $169 | $875 |
| 20 × 24 ft | 480 ft² | 2.11 gal | 3.52 gal | 4 gal | $214 | $1,068 |
| 24 × 30 ft | 720 ft² | 3.17 gal | 5.28 gal | 6 gal | $321 | $1,602 |
How to measure railings, balusters and stairs
Measure the total length of railing, including the rails down the stairs, and its height. Most residential deck guards are at least 36 inches high, and the gaps between balusters must stop a 4-inch sphere passing through (IRC R312). Detailed mode then works out:
- Posts — one every 6 ft plus one at the end, four faces each.
- Rails — the full perimeter of each rail (top, bottom and both sides) times the length.
- Balusters — length ÷ (baluster width + gap), four faces each (or π × diameter for round ones).
For 40 ft that is 227 sq ft — the quick “length × height × 2” estimate gives 240 sq ft, close enough for a rough budget.
| Railing length | Posts | Balusters | Area | Stain, 2 coats |
|---|---|---|---|---|
| 20 ft | 5 | 48 | 117 ft² | 0.86 gal |
| 40 ft | 8 | 96 | 227 ft² | 1.66 gal |
| 60 ft | 11 | 144 | 337 ft² | 2.47 gal |
| 80 ft | 15 | 192 | 450 ft² | 3.30 gal |
Stairs: each step has a tread and a riser, and the outside stringers show on both faces. Four steps, 4 ft wide, with 10½-inch treads and 7½-inch risers add 40.1 sq ft (14 treads, 10 risers, 16.1 stringers).
One coat or two?
Read the can. Many water-based semi-transparent and solid stains are designed as two thin coats, the second applied while the first is still workable or soon after; some oil-based penetrating stains are one-coat products, and a second coat just sits on top and stays sticky. On a 20 × 20 ft deck the difference is 1.76 gallons for one coat against 2.93 for two. The second coat needs less stain because the wood is already partly filled.
Prep: cleaner, brightener and stripper
Stain soaks into clean, dry wood. Wash the deck first — Olympic lists about 250–350 sq ft per gallon for its ready-to-use deck cleaner, so the example deck needs 3 gallons at 250 sq ft per gallon. A brightener after a cleaner or stripper restores the wood’s colour. Old film-forming or solid stain usually has to be stripped before you change to a lighter or penetrating stain. If you hire a pro, Fixr lists washing at about $0.30–$0.40 per sq ft, stripping at $1–$3 and sanding at $1–$4.
Cost to stain a deck: DIY vs hiring a pro
Materials are the cheap part. Fixr lists deck stain at about $25–$90 a gallon depending on type and brand; the calculator defaults to $45. Labour is where the money goes: Angi’s 2026 data puts professional staining labour at about $1–$2.50 per sq ft. For the example deck that means $276 doing it yourself (stain and cleaner) against $1,236 for a pro at $1.50/ft² with washing — $3.86 per sq ft of deck once the railing is counted.
- Ask for a price per square foot and per linear foot of railing — railings take far longer than open floor.
- Check what prep is included: a wash, a strip or a sand change the price a lot.
- Buy by the pail when it is cheaper — enter the pail price and the calculator picks the cheapest mix of pails and gallons.
Tips for a better stain job
- Stain when the wood is dry and the weather is mild — out of direct midday sun, with no rain forecast for a day or two.
- Work a few boards at a time, end to end, so you never leave a lap mark in the middle of a board.
- Do the railings first, then the floor, working towards the stairs so you don’t trap yourself.
- Keep a brush handy even if you spray or roll, to work stain into end grain and gaps.
- Fence too? Use the fence stain calculator for the panels.
- Building a new deck or replacing damaged framing? Estimate materials and labor with our Deck Cost Calculator.
Frequently asked questions
How much stain do I need for my deck?
Add up the floor, railings, stairs and any skirting, then divide by the coverage on your can for each coat. A 16 × 20 ft deck with 40 ft of railing has about 547 sq ft to stain; two coats of semi-transparent stain at 250 sq ft per gallon need 4.01 gallons with 10% extra — so buy 5 gallons.
How much does a gallon of deck stain cover?
It depends on the type. BEHR lists about 300–350 sq ft per gallon for the first coat of its transparent finish, 250–300 for semi-transparent and 200–400 for solid colour, with a thinner second coat going roughly twice as far. Rough or weathered wood can take much more.
How much stain do I need for a 20 × 20 deck?
The 400 sq ft floor needs about 2.93 gallons for two coats of semi-transparent stain on smooth wood (buy 3), or 1.76 gallons for one coat. On weathered boards plan on about 3.67 gallons, and on rough-sawn wood 4.73. Railings and stairs are extra.
How many square feet will 5 gallons of deck stain cover?
At 250 sq ft per gallon, 5 gallons covers about 1,136 sq ft in one coat, or about 682 sq ft in two coats (with the second coat going 1.5× further), after a 10% allowance for waste.
Do I need two coats of deck stain?
Many semi-transparent and solid stains are made to go on as two thin coats — BEHR asks for two thin coats on its stain-and-sealer products — while some penetrating oils are one-coat products. Follow your can. Two thin coats look more even than one heavy coat that stays tacky.
How much stain do I need for deck railings?
More than most people expect, because every post, rail and baluster has four sides. A 40 ft railing, 36 in high, with 4×4 posts every 6 ft, two rails and 2×2 balusters has about 227 sq ft of wood (8 posts and 96 balusters) — two coats of semi-transparent stain need about 1.66 gallons.
How much does it cost to stain a deck?
Doing it yourself, a 20 × 20 ft deck costs about $169 in stain and cleaner at $45 a gallon. Hiring a pro adds labour — Angi’s 2026 data puts it at about $1–$2.50 per sq ft — so the same deck comes to roughly $875 with washing at our default rates.
Does old or rough wood need more stain?
Yes. Grey, weathered wood and rough-sawn boards soak up stain. The calculator multiplies the label coverage by 0.8 for weathered wood and 0.62 for rough-sawn — the second figure comes from a brand that lists rough and smooth coverage separately (Duckback SuperDeck).
Does spraying use more stain than brushing?
Usually, because of overspray and the stain you back-brush into the boards. The calculator adds 15% for a sprayer and 10% for a brush, roller or pad — on the example deck that is 4.19 gallons instead of 4.01.
How much deck cleaner do I need?
Olympic lists about 250–350 sq ft per gallon for its ready-to-use deck cleaner. At 250 sq ft per gallon the example deck needs 3 gallons. Concentrates go much further once mixed — read the dilution on the label.
How This Calculator Works: Formula, Defaults & Sources
Formula
- Floor = Σ length × width; board edges (optional) = floor × 2 × board thickness ÷ (board width + gap)
- Railing (detailed) = posts × 4 × post width × height + rails × (2 × width + 2 × thickness) × length + balusters × 4 × width (or π × diameter) × (height − rail thicknesses); balusters = length ÷ (width + gap); posts = length ÷ spacing + 1
- Railing (quick) = length × height × 2 faces
- Stairs = steps × width × (tread + riser) + visible stringers × 2 faces × stringer length × depth
- Coat 1 (gal) = area ÷ (label coverage × wood factor); coat 2 = area ÷ (coat-1 coverage × second-coat factor)
- To buy = (coat 1 + coat 2) × (1 + extra %), split into 5-gallon pails and 1-gallon cans (or 5 L, 2.5 L and 1 L tins)
- DIY = stain + cleaner; pro = stain + labour × area + prep × area
Default values (you can change them)
- Coverage, 1st coat: transparent 300, semi-transparent 250, solid 250 ft²/gal — low end of the BEHR PREMIUM ranges (300–350, 250–300, 200–400)
- Second coat: 1.5× the first-coat coverage — between TWP (about 1.3–1.5×) and BEHR (about 2×)
- Wood condition: smooth × 1.0; weathered × 0.8 (working assumption); rough-sawn × 0.62 (Duckback SuperDeck rough 175–225 vs smooth 275–375)
- Extra allowance: 10% brush, roller or pad; 15% sprayer (working assumptions — editable)
- Railing: 36 in high (IRC minimum guard height for most decks), 4×4 posts every 6 ft, two 2×4 rails, 2×2 balusters with gaps under 4 in (IRC R312)
- Stain price: $45 per gallon (Fixr: $25–$90 by type and brand)
- Deck cleaner: 250 ft²/gal ready to use (Olympic: 250–350); $17/gal (Fixr brightener $16–$18)
- Pro rates: labour $1.50/ft² (Angi 2026: $1–$2.50); washing $0.35, stripping $2, sanding $2.50 per ft² (Fixr)
Sources
- BEHR PREMIUM Semi-Transparent Waterproofing Stain & Sealer (No. 5077) — product page and technical data sheet — 1st coat 250–300 ft²/gal, thinner 2nd coat 500–600 ft²/gal; two thin coats
- BEHR PREMIUM Solid Color Waterproofing Stain & Sealer (No. 5011) — technical data sheet — 200–400 ft²/gal depending on application method and porosity; product page: 2nd coat 400–800
- BEHR PREMIUM Transparent Waterproofing Wood Finish (No. 500) — 1st coat 300–350 ft²/gal, 2nd coat 600–700 ft²/gal
- Duckback SuperDeck semi-transparent stain — retailer product data (True Value) — smooth 275–375 ft²/gal, rough 175–225 ft²/gal
- Olympic Exterior Deck Cleaner — product page — about 250–350 ft² per gallon
- Angi — How Much Does It Cost to Stain a Deck? (2026 data) — labour about $1–$2.50 per ft²
- Fixr — Cost to Stain a Deck (updated Jan 31, 2025) — stain $25–$90 per gallon; washing, stripping, sanding and brightener costs
- International Residential Code (IRC) R312 — Guards — 36 in minimum guard height for most residential decks; openings must not pass a 4 in sphere
Results are planning estimates, not engineering advice. Confirm quantities with your supplier and follow your plans and local building code. Last updated: November 15, 2026. Spotted a wrong number? Email us or use the contact page.
Related calculators
Disclaimer: results are estimates. Coverage varies with the product, the wood and how it is applied; follow the instructions and coverage on your stain can and test a small area first. Prices are US figures from the sources above and change over time. See our disclaimer.