Skip to content

Deck & Fence Stain Calculator

Find out how many gallons of stain you need for a deck (floor, railings and stairs) or a fence, one or both sides.

Enter your measurements

ft
ft
ft
in
ft
sq ft/gal

Check the label. Often about 150–300 sq ft per gallon for the first coat; rough or weathered wood is at the low end.

Stain needed1.89 gal

Stain needed

1.89 gal

Gallons to buyRounded up
2
Or 5-gallon pails
1
Area to stain
378.5 sq ft

Estimates only. Check product labels and local codes before you buy.

How to use the stain calculator

  1. Choose deck or fence.
  2. Deck: enter the floor size, the railing length and height, and the number and width of stair steps.
  3. Fence: enter the length and height, and whether you’re staining one side or both.
  4. Enter the coverage from the stain label and the number of coats.

The formula

Deck area = floor (length × width) + railings (length × height × 2 faces) + stairs (steps × width × about 18.5 in. for tread and riser)

Fence area = length × height × sides

Gallons = area × coats ÷ coverage per gallon

Railings with balusters have many faces; counting the railing as two solid faces is a rough allowance. Spindle-heavy railings can take more.

Worked example

A 16 × 12 ft deck with 28 ft of 36 in. railing and three 4 ft wide steps, one coat at 200 sq ft per gallon:

  • Floor: 16 × 12 = 192 sq ft
  • Railings: 28 × 3 × 2 = 168 sq ft
  • Stairs: 3 × 4 × 18.5 ÷ 12 = 18.5 sq ft
  • Total: 378.5 sq ft, so 378.5 ÷ 200 = 1.9 gallons: buy 2 gallons

Tips

  • Coverage drops on thirsty wood. Rough-sawn, weathered or newly cleaned wood absorbs more stain. Many labels list a lower coverage for the first coat and a higher one for the second.
  • Test the wood first. Sprinkle water on the boards: if it soaks in quickly, the wood is ready for stain; if it beads, wait or clean the surface.
  • Weather matters. Follow the label’s temperature range and dry time, and pick a stretch with no rain forecast.
  • Don’t over-apply. Penetrating stains are designed to soak in; extra stain that can’t absorb may stay tacky or peel. Wipe off what isn’t absorbed, as the label directs.
  • Buy one batch of tinted stain for the whole job so the color matches.

Frequently asked questions

How much will 1 gallon of deck stain cover?

Most deck stain labels list roughly 150–350 sq ft per gallon for the first coat. Rough, weathered or porous wood is at the low end, and second coats usually go further. Use your stain's label.

How many gallons of stain do I need for a 20x20 deck?

The 400 sq ft floor alone needs 2 gallons for one coat at 200 sq ft per gallon. Railings and stairs add more, and a second coat roughly doubles it.

How much will 1 gallon of stain cover on a fence?

At 200 sq ft per gallon, one gallon covers about 33 ft of a 6 ft high fence on one side, or about 17 ft if you stain both sides.

Is 3 coats of deck stain too much?

For most penetrating stains, yes. The wood can only absorb so much; extra stain may stay tacky or peel. Most labels call for one or two coats.

When is the best time to stain a deck?

When the wood is dry and the weather is mild and dry for at least the label's dry time. Check the label for its temperature range, and avoid staining in direct midday sun or just before rain.

Last reviewed November 3, 2026. Found a problem? Tell us.