Deck & Fence Stain Calculator

This deck & fence stain calculator works out the gallons of stain to buy for your deck size โ€” or your fence length and height โ€” by coats and coverage. No sign-up. The working is shown under every number.

Quick example: a 16 ร— 12 ft deck with 2 coats of stain at 200 sq ft per gallon coverage needs 2 gallons โ€” $76.00 at the example prices.

Close-up of richly stained wooden deck boards

Your project

ft
ft
ft

Total length of railing you are staining, 0 if none.

Deck steps you are staining, 0 if none.

sq ft

200 is standard. Use ~150 for rough or weathered wood, ~250 for smooth new wood.

The same maths works for exterior paint and deck sealer โ€” check the coverage figure on your tin and type it in.

Your prices โ€” put your store's prices here

These prices are examples to start from, not live prices. Type your store's prices and the total updates instantly.

Shopping list

ItemBuyCost
Estimated total$0.00

Gallons are rounded up to whole gallons. Keep the part-used gallon for touch-ups โ€” stain colour varies slightly between batches, so buy all you need in one trip.

Estimate only โ€” not a guarantee. Mistakes are possible, so always check the quantities with your supplier or a builder before you buy or build.

Next step for this job

How much stain to buy: measuring decks and fences in square feet, and the coverage trap

Turn the deck or fence into square feet โ€” including the bits people forget

Stain is bought by area, so measure the area the way the wood presents it. A deck floor is easy: length ร— width. Then add the parts that drink stain quietly: railings, which this calculator counts at 3 sq ft per foot of railing (posts, top rail and balusters together โ€” a fair average for a standard railing), and steps at 4 sq ft each. A long railing run around three sides of a deck can add half as much area again, and it is the line most often missing from a first estimate. For a fence, the area is length ร— height ร— the number of sides โ€” and "sides" is where fence budgets double: a 100 ft fence stained on both faces is not a 600 sq ft job, it is a 1,200 sq ft one. If the fence is board-on-board or shadowbox, the overlaps expose more wood than the flat measurement suggests; count it as flat, then choose the lower coverage figure below to compensate. Measure a gate as fence โ€” it is.

Coverage: the number printed on the tin is the optimistic one

Gallons = area ร— coats รท coverage per gallon. Everything hangs on the coverage, and it is not a constant: manufacturers quote roughly 150โ€“300 sq ft per gallon across products. Smooth, new, previously coated wood sits at the generous end; rough-sawn, dry, grey and weathered wood can drag coverage toward 125โ€“175 sq ft per gallon, and a thirsty first coat always drinks more than the second. This calculator starts at 200 โ€” a sensible middle. Drop it to 150 for an old fence that has never been stained, raise it toward 250 for smooth new decking, and let the gallon count follow. Stain is rounded up to whole gallons, because that is how it is sold and because a part-gallon shortage mid-fence means a second batch โ€” and batches vary in color.

Worked example: an 18 ร— 14 ft deck with a railing and steps

Floor = 252 sq ft. Add 36 ft of railing ร— 3 = 108 sq ft, and 4 steps ร— 4 = 16 sq ft: total area 376 sq ft. Two coats at 200 sq ft per gallon: 376 ร— 2 รท 200 = 3.76 gallons, rounded up to 4 gallons to buy โ€” $152.00 at the example $38 a gallon. Watch what the coverage setting does to the same deck: at 150 sq ft per gallon (weathered wood) the exact figure becomes 5.01 gallons and the list says 6; at 250 it is 3.01, and the list says 4. Same deck, same coats โ€” the wood's thirst is worth two gallons, which is why this page asks you for the coverage instead of hiding it.

Where stain jobs waste money

Buying tips

Buy the whole job in one trip and keep the part-used gallon, sealed and labeled with the product and color, for touch-ups โ€” stain colors drift between batches and between years, and a touch-up from the same tin is invisible while a new tin is not. Quarts exist for a reason: if the calculator says 4.1 gallons, four gallons plus a quart beats five gallons on price and on storage. Finally, check the tin's own coverage figure against the setting you used here; if they disagree, believe the tin for that product and re-run the numbers โ€” thirty seconds in the calculator beats a second trip with a half-stained fence behind you.

Read next: Planning a deck project, step by step โ€” staining is the last step of a deck build, not the first โ€” the full sequence, including when new wood is ready for stain.

Quick answers

How many gallons of stain do I need for a fence?

Work out the fence area first: length ร— height ร— the number of sides you are staining. A 100 ft long, 6 ft high fence stained on both sides is 1,200 sq ft; at the standard 200 sq ft per gallon coverage that is 6 gallons for one coat โ€” the same figure published fence-stain examples give. This calculator does the area for you in fence mode.

How much stain do I need for a 16 ร— 12 ft deck?

The floor of a 16 ร— 12 ft deck is 192 sq ft. At 200 sq ft per gallon, one coat takes about 1 gallon and the usual two-coat job takes 2 gallons (1.92 worked out exactly, rounded up to whole gallons). Railings and steps add area โ€” the calculator adds about 3 sq ft for every foot of railing and 4 sq ft per step if you enter them.

How far does a gallon of stain actually cover?

Manufacturers quote anywhere from about 150 to 300 sq ft per gallon. Smooth new wood drinks the least; rough, dry or weathered wood can pull coverage down toward 125โ€“175 sq ft per gallon, and a first coat always drinks more than a second. This calculator starts at 200 sq ft per gallon โ€” lower it toward 150 for old weathered wood so you do not run short mid-fence.

How many coats of stain should I apply?

Two thin coats is the standard recommendation for decks and fences: the first seals the wood, the second evens the colour and adds the weather protection. One coat can look patchy within a season. Very weathered wood sometimes needs a third light coat on the worst boards โ€” the calculator lets you set 1, 2 or 3 coats.

Common deck jobs โ€” 2 coats at 200 sq ft per gallon, at the default settings

Deck jobAreaStain (exact)Gallons to buyTotal
12 ร— 12 ft deck144 sq ft1.44 gal2$76.00
16 ร— 12 ft deck192 sq ft1.92 gal2$76.00
16 ร— 12 ft deck + 24 ft of railing264 sq ft2.64 gal3$114.00
20 ร— 16 ft deck320 sq ft3.20 gal4$152.00

Railing area is counted at 3 sq ft per foot of railing (posts, rails and balusters together) and steps at 4 sq ft each. Gallons are rounded up to whole gallons โ€” stain is normally sold by the gallon (and quart for touch-ups).

More free calculators

Deck material calculator
Boards, joists, screws, posts and cost for any deck size.
Fence material calculator
Posts, rails and pickets for a wood fence, with cost.
Concrete slab calculator
Cubic yards of ready-mix, or how many bags, for any slab.
Gravel calculator
Tons, cubic yards and bags for driveways and paths.
Mulch calculator
Bags or bulk cubic yards for garden beds.
Roof pitch calculator
Pitch, angle, roof area and shingle bundles.
Patio paver calculator
Pavers, base gravel, bedding sand and edging for any patio.
Retaining wall block calculator
Wall blocks, caps, base and drainage gravel for any wall.
Sod calculator
Rolls or pallets of sod for any lawn, with cost.
Soil calculator for raised beds
Bags or bulk soil for raised beds and garden soil jobs.
Post hole concrete calculator
How many bags of concrete per fence or deck post hole.
Topsoil calculator
Cubic yards, tons and bags of topsoil for lawns and leveling.
Grass seed calculator
How much seed for a new lawn or overseeding, by grass type.
Deck & fence stain calculator
Gallons of stain or paint for decks and fences, by coverage and coats.
Sand calculator
Tons and bags of sand for sandboxes, patios and pools.
Deck stair calculator
Risers, treads, run and stringers for deck stairs, with materials.
Fire pit calculator
How many blocks for a round fire pit, plus base gravel.
12 ร— 16 deck material list
The full precomputed shopping list and cost for a 12 ร— 16 ft deck.
Roof pitch chart
Every pitch with its angle and multiplier, roof types and minimum pitches by material.

Disclaimer โ€” please read before you build

These figures are planning estimates only โ€” not a guarantee and not professional advice. Mistakes are possible, including through an error in this calculator. Always check the quantities, sizes, spacings and depths with your supplier, a licensed builder, and your local building code before you buy materials or start work. The owner of this site accepts no responsibility or liability for any loss, cost, damage, injury, wasted material or failed inspection that results from using these estimates. Prices are examples to start from, not live prices or quotes.