Deck Stain Calculator

This deck stain calculator estimates how many gallons of stain you need for your deck floor, railings and stairs. Enter your measurements, pick a stain type and number of coats, and get a rounded-up shopping quantity with an estimated cost.

Top-down deck diagram showing length, width, railing and stairs with your values

Deck floor

Railing (optional)

Stairs (optional)

If filled in, this rate is used exactly as typed and the wood condition setting is ignored. Best for a rate measured on a test patch.

Estimates only. By using this calculator you agree to our Terms.

Planning estimate only. Stain quantity is not governed by any building code, but railing height and other deck rules vary by location. Check your local building department, and always follow the instructions and safety data on your stain label.

How to Use This Deck Stain Calculator

Choose feet or meters, then enter your deck length and width. Add railing length and height and the number of stair steps if you plan to stain them. Pick your stain type, the condition of the wood and the number of coats. The calculator returns total surface area, the gallons you need including waste, a pail-and-can shopping suggestion, an estimated cost, and a side-by-side comparison of one, two and three coats. If you already know your real-world coverage from a test patch, type it into the coverage box and it will be used exactly as entered.

Why This Matters

Deck stain is one of the most expensive parts of deck maintenance, and guessing wrong costs real money. A quality semi-transparent stain runs $35 to $70 per gallon, so a 400 sq ft project that needs five gallons is a $175 to $350 purchase. Buy too little and you face a mid-project trip to the store, a possible color-batch mismatch, and lap marks where old and new coats meet. Buy too much and you are stuck with partial cans that rarely get reused.

Homeowners usually measure only the deck floor and forget that railings, balusters, posts and stairs can add 50 to 100 percent more surface. A 16 × 12 ft deck has 192 sq ft of floor, but add 40 feet of baluster railing and a four-step staircase and the real surface is more than double. Contractors quoting a refinishing job and DIYers planning a weekend project need the same thing: a realistic gallon count before opening their wallet.

How It's Calculated

The calculator adds the three surfaces together, converts them to a gallon requirement using an effective coverage rate, multiplies by coats, and adds a waste allowance.

Deck area = length × width
Railing area = railing length × (height ÷ 12) × 2 sides × style factor
Stair area = steps × stair width × 1.54 ft (11 in tread + 7.5 in riser)
Effective coverage = your own rate as typed, or base coverage × wood condition factor
Gallons = total area × coats ÷ effective coverage × (1 + waste %)

Base coverage is 300, 250 or 200 sq ft per gallon for transparent, semi-transparent and solid stains on new smooth wood. These sit inside the 150 to 350 sq ft per gallon range most manufacturers print on their labels. Weathered and rough-sawn boards absorb more, so the condition factor lowers coverage to 85% or 70%. If you type your own coverage rate, the condition factor is skipped so the rate is not discounted twice. The railing style factor (1.0, 0.75 or 0.4) approximates how much of a railing panel is actually wood. Railing height is entered in inches (or centimeters in metric mode). Many residential codes, such as IRC R312, call for guards at least 36 in high, but your local code may differ.

Simplifications: stair area counts treads and risers only. Stringers, the sides of steps, board edges and gaps between boards are not measured separately. They are covered by the waste allowance, so choose 15 to 20% if you plan to coat those surfaces thoroughly. The result is rounded up to whole 1-gallon cans, and every five cans are shown as one 5-gallon pail. No building code governs stain quantity, so your product label always takes priority.

Worked Example

Take a 16 × 12 ft deck with 40 ft of baluster railing at 36 in high and four steps 4 ft wide. The wood is previously stained, and you want two coats of semi-transparent stain.

  • Deck floor: 16 × 12 = 192 sq ft
  • Railing: 40 × 3 ft × 2 sides × 0.75 = 180 sq ft
  • Stairs: 4 × 4 × 1.54 ≈ 24.7 sq ft
  • Total surface: about 396.7 sq ft
  • Effective coverage: 250 × 0.85 = 212.5 sq ft per gallon
  • Two coats: 396.7 × 2 ÷ 212.5 = 3.73 gallons
  • Add 10% waste: 4.11 gallons

Four gallons would leave you short, and 4.11 gallons rounds up to five 1-gallon cans, which the tool shows as one 5-gallon pail. At $45 per gallon that is about $225. For comparison, one coat comes to 2.05 gallons (buy 3) and three coats to 6.16 gallons (buy 7, shown as one pail plus two cans).

Tips & Common Mistakes

  • Measure the railings. They are the most commonly forgotten surface and can add 100+ sq ft on a mid-size deck.
  • Do not assume the second coat is free. On penetrating stains, a second coat applied wet-on-wet often needs less product. This calculator assumes a full rate for every coat, which keeps you from running short.
  • Test a small area first. Real absorption varies by wood species, age and moisture. Stain a few boards, work out how many square feet a gallon would cover, and enter that in the coverage box. It is used exactly as typed, so the wood condition setting is ignored.
  • Buy everything at once. Stain tint varies from batch to batch. Mix all cans together in a large bucket (called boxing) so the color stays consistent.
  • Handle oily rags safely. Rags soaked in oil-based stain can heat up and ignite on their own. Lay them flat outdoors to dry, or seal them in a metal container filled with water.

Frequently Asked Questions

How many gallons of stain do I need for a 12x12 deck?

A 12 × 12 deck has 144 sq ft of floor. At about 250 sq ft per gallon, one coat needs roughly 0.6 gallons and two coats about 1.2 gallons. Add railings and stairs and you will probably need 2 to 3 gallons.

How much does a gallon of deck stain cover?

Most labels list 150 to 350 sq ft per gallon. Transparent stains stretch the furthest, while solid stains and rough, weathered wood use more product per square foot.

Do I need two coats of deck stain?

It depends on the product. Many penetrating semi-transparent stains call for one generous coat or two wet-on-wet coats, while solid stains typically need two. Follow the directions on your can, and use the coats slider to compare quantities.

Should I include railings and stairs in my estimate?

Yes. Railings, balusters, posts, treads and risers all absorb stain. The calculator measures stair treads and risers directly, and covers stringers and step sides through the waste allowance, so raise it if you plan to coat those thoroughly.

How much extra stain should I buy?

A 10% allowance covers spills, brush loading and uneven absorption. Increase it to 15 or 20% for rough-sawn lumber, spray application, or decks with wide board gaps and lots of edges.

Does the calculator account for board edges and gaps?

Not directly. The waste allowance and the wood condition factor absorb the extra surface, so choose a higher allowance if your boards have wide gaps or you plan to stain the edges thoroughly.

Related Tools

Calculator by Toolwick