Skip to content

Deck Stain Calculator

How many gallons of stain to buy for a deck or a fence, with railings, both sides and every coat counted.

Deck Stain Calculator Results update as you type
What are you staining?
Job
Add stairs as extra floor: step width × (tread depth + riser height) × number of steps.
Total length of railing. Enter 0 if you're not staining railings.
Stain
Stain
sq ft
Sherwin-Williams gives about 250–350 sq ft per gallon, depending on the wood. Rough, dry or weathered wood soaks up more, so use the low end.
Most decks need one to two coats (Sherwin-Williams). The can says how many your stain needs.
Your price
Your price
$
Leave at 0 to skip the cost estimate.

Results

Stain to buy 3 gallons 372 sq ft × 2 coats at 250 sq ft per gallon.

Stain

Stain needed
2.98 gallons
5-gallon pails
0
Plus 1-gallon cans
3

Area

Surface to stain
372 sq ft

Cost

On this page 10 sections
  1. How much deck stain do I need?
  2. Worked example: a 16 × 12 ft deck with railings
  3. Deck stain by deck size
  4. Fence stain: how much for a fence?
  5. Getting the coverage number right
  6. Before you stain
  7. Frequently asked questions
  8. Related calculators
  9. Sources and method
  10. Add this calculator to your website

How much deck stain do I need?

Work out the square feet to stain (deck floor, plus railings and stairs), multiply by the number of coats, and divide by the coverage on the can. Sherwin-Williams puts a gallon at about 250–350 sq ft, depending on the wood, and says most decks need one to two coats. A 16 × 12 ft deck with 30 ft of railing is 372 sq ft; two coats at 250 sq ft per gallon is 2.98 gallons, so buy 3 gallons.

Worked example: a 16 × 12 ft deck with railings

A 16 by 12 foot deck seen from above, with 30 feet of railing: 16 feet along the front, 12 feet down one side and 2 feet on the other, leaving an opening for stairs. The floor is 192 square feet and the railing, counted on both faces at 3 feet high, adds 180 square feet: 372 square feet, or about 3 gallons for two coats at 250 square feet per gallon. Stain = (floor + railings) × coats ÷ coverage stairs, no rail house wall 16 ft 12 ft floor 192 sq ft railing 30 ft × 3 ft × 2 faces = 180 sq ft 372 sq ft × 2 coats ÷ 250 sq ft/gal = 2.98 → 3 gal
  1. Floor: 16 × 12 = 192 sq ft.
  2. Railing: 30 ft long × 3 ft high × 2 faces = 180 sq ft. Counting it as solid errs on the generous side, since balusters have gaps.
  3. Total: 372 sq ft.
  4. Stain: 372 × 2 coats ÷ 250 sq ft per gallon = 2.98 gallons, so 3 one-gallon cans.

On smooth, newer boards that take stain at the high end of the range (350 sq ft per gallon), the same deck needs 2.13 gallons, so 3 cans still covers it.

Deck stain by deck size

Deck floor only, at 250 sq ft per gallon. Gallons needed, with the whole gallons to buy in brackets.

DeckArea1 coat2 coats
10 × 10 ft100 sq ft0.4 gal (1)0.8 gal (1)
12 × 12 ft144 sq ft0.58 gal (1)1.15 gal (2)
16 × 12 ft192 sq ft0.77 gal (1)1.54 gal (2)
20 × 12 ft240 sq ft0.96 gal (1)1.92 gal (2)
16 × 16 ft256 sq ft1.02 gal (2)2.05 gal (3)
20 × 16 ft320 sq ft1.28 gal (2)2.56 gal (3)
24 × 16 ft384 sq ft1.54 gal (2)3.07 gal (4)

Add railings and stairs in the calculator. Rough, weathered or very dry wood soaks up more, so stay at the low end of the coverage range for those.

Fence stain: how much for a fence?

A fence has two faces, and each one gets stained. For a solid 6 ft privacy fence at 250 sq ft per gallon:

Fence lengthBoth sides, 1 coatBoth sides, 2 coats
50 ft2.4 gal (3)4.8 gal (5)
100 ft4.8 gal (5)9.6 gal (10)
150 ft7.2 gal (8)14.4 gal (15)
200 ft9.6 gal (10)19.2 gal (20)
300 ft14.4 gal (15)28.8 gal (29)

Picket fences with gaps take less. Above about 5 gallons, a 5-gallon pail is usually the easier buy. The calculator splits the total into pails and single gallons.

Getting the coverage number right

  • Use the number on the can. Coverage varies by product and stain type. Sherwin-Williams gives about 250–350 sq ft per gallon for deck stain, depending on the wood.
  • Old, rough or weathered wood drinks more. Use the low end of the range, or test a small area first.
  • Coats: Sherwin-Williams says most decks need one to two coats, with about 24 hours between them. The can gives the exact advice for your stain.
  • New pressure-treated wood: Sherwin-Williams advises waiting at least 6 months before staining, so the wood is fully dry.

Before you stain

  • Clean the wood, and strip old stain if you are changing color.
  • Wait 24–48 hours after rain, so the wood is dry (Sherwin-Williams).
  • Buy one batch for the whole job, and mix cans together so the color stays even.
  • Building the deck first? The deck calculator counts boards, joists and screws, and the fence calculator counts posts, rails and pickets.

Frequently asked questions

How much stain do I need for a 12 × 12 deck?
144 sq ft of floor takes about 0.58 gallons a coat at 250 sq ft per gallon, so 1.15 gallons for two coats: buy 2 gallons. Add railings and stairs on top.
How many square feet does a gallon of deck stain cover?
About 250–350 sq ft per gallon, depending on the wood (Sherwin-Williams). Rough or weathered wood is at the low end. Always check the can for your product.
How much stain do I need for a 100 ft fence?
A solid 6 ft fence, both sides, is 1,200 sq ft. At 250 sq ft per gallon that is 4.8 gallons for one coat or 9.6 gallons for two: 2 five-gallon pails.
Do I need two coats of deck stain?
Sherwin-Williams says most decks need one to two coats. The stain's label gives the exact advice. Wait about 24 hours between coats.
How do I add stairs?
Each step has a tread and a riser. Work out step width × (tread depth + riser height) for one step, multiply by the number of steps, and add that to the deck floor area.

Sources and method

Last checked October 13, 2026. How we build and test every calculator: methodology.

Add this calculator to your website

Free for any site: paste this code into a page and the calculator appears there, always up to date. No sign-up. It works on phones and resizes itself.

All embeddable calculators