Skip to content
HatchCalc

Deck Stain Calculator

Gallons of stain for your deck and railings, at one or two coats.

Total linear feet of railing.

Check your can — typically 150–300, less on rough or thirsty wood.

Stain needed

1.5gal

Total area to stain (sq ft)192
Deck surface area (sq ft)192
Suggested purchase1 gal 3 qt

Railing area assumes about 3.5 sq ft of stainable surface per linear foot — both sides of a standard 36 in railing plus balusters. Purchase amount is rounded up to the nearest quart.

Formula and a worked example

The math behind this calculator is simple area math, done twice — once for the deck boards and once for the railing — then scaled by how many coats you're applying:

Deck area = Length × Width
Railing area ≈ Railing length × 3.5
Gallons = (Deck area + Railing area) × Coats ÷ Coverage per gallon

The 3.5 figure for railing is an assumption, not a measurement of your specific railing: it estimates the stainable surface of a standard 36 in railing — top rail, bottom rail, posts, and balusters, both faces — per linear foot. Ornate or widely-spaced balusters will need a bit more; simple cable or glass-panel railings will need less.

Take a 12 ft by 16 ft deck with 20 ft of railing, stained twice at the typical 250 sq ft per gallon coverage rate:

Deck: 12 × 16 = 192 sq ft
Railing: 20 × 3.5 = 70 sq ft
Total: 192 + 70 = 262 sq ft
262 × 2 ÷ 250 = 2.1 gallons

That 2.1 gallons is the exact math. Since stain is sold in whole quarts, this calculator rounds that figure up to the nearest quart — 2 gallons 1 quart — so you buy enough to finish the job in one pass instead of stopping short a few boards from the end.

Why coverage varies so much

The single biggest source of error in a stain estimate isn't the math, it's the coverage number. Manufacturers print a coverage range on the can — often somewhere between 150 and 300 sq ft per gallon — and where your deck actually falls in that range depends on the wood, not the stain brand.

Rough-sawn, weathered, or never-before-sealed wood is thirsty. It pulls stain into the grain much faster than smooth, previously sealed wood does, so the same gallon covers noticeably less ground. A first-time stain job on old, sun-bleached boards should budget toward the low end of the can's printed range; a routine re-coat on a deck that's been maintained every couple of years can usually plan on the high end.

The default of 250 sq ft per gallon in this calculator is a reasonable middle-of-the-road planning number, but it's a placeholder — swap in the number printed on your actual can before you buy, since that's the figure the manufacturer tested it against.

One coat or two

Most semi-transparent stains are designed for two thin coats, often applied wet-on-wet — the second coat goes on shortly after the first, before it dries, so the two blend into one even layer rather than sitting on top of each other. Check the label, though: some semi-transparent products are formulated to fully penetrate in a single coat, and a second coat just beads up and wipes away instead of adding color.

Solid stains behave more like a thin paint and almost always call for two coats for even color and reasonable durability. Going from two coats to one roughly halves how much you need — that same 192 sq ft deck at one coat instead of two comes to 192 × 1 ÷ 250 = 0.8 gallons, versus 1.5 gallons at two coats.

Prep is the real work

None of this coverage math matters much if the wood underneath isn't ready for stain. A dirty, mildewed, or graying deck needs a wash with a deck cleaner and brightener first, both to remove surface grime and to reopen the wood grain so the stain can actually soak in rather than sitting on top and peeling later.

If the old finish is failing — peeling, flaking, or chalky to the touch — it needs to be stripped or sanded off, not stained over. New stain applied on top of failing stain tends to fail at the same spots almost as fast, since it never bonded to bare wood in the first place.

After cleaning or stripping, let the deck dry fully before you stain — typically 24 to 48 hours, longer in humid or shaded conditions. Wood that still holds moisture from washing (or from rain) won't accept stain evenly, and trapped moisture under a fresh coat is a common cause of early blotching and peeling. Good prep, more than any brand of stain, is what makes a deck finish last.

Frequently asked questions

How much stain do I need for a 12x16 deck?

A 12x16 deck has 192 square feet of surface. At the common defaults of two coats and 250 sq ft of coverage per gallon, that works out to 192 × 2 ÷ 250 = 1.536, or about 1.5 gallons — round up to 1 gallon plus 3 quarts when you buy so you don't run short mid-coat. That figure is deck surface only; add square footage for railings if your deck has them, or run your exact numbers through the calculator above.

How many square feet does a gallon of stain cover?

It varies by product, but most deck stain cans list somewhere between 150 and 300 square feet per gallon. Smooth, previously sealed wood sits at the high end of that range, while rough-sawn, weathered, or never-sealed wood soaks up far more stain and lands closer to 150. Always use the coverage number printed on your specific can rather than guessing — it's the single biggest factor in how much you'll actually need.

Do railings really need that much stain?

Yes, and it's easy to underestimate. A standard 36 in railing has a top rail, bottom rail, posts, and a row of balusters, and you're staining both faces of nearly all of it. This calculator assumes roughly 3.5 sq ft of stainable surface per linear foot of railing — so 20 ft of railing adds about 70 sq ft, which is more area than a lot of people expect from a run that's only 20 ft long on paper.

Can I stain over old stain?

Usually yes, as long as the old coat is still sound and you're using a compatible product — solid-on-solid or semi-transparent-on-semi-transparent generally works, but switching from solid to transparent rarely looks good since solid stain hides the wood grain underneath. Clean the deck and strip or sand away any peeling, flaking, or chalky areas first; stain applied over failing stain will fail again just as fast, regardless of how much you buy.

How many coats of deck stain should I apply?

Most semi-transparent stains go on in two thin coats applied wet-on-wet, meaning the second coat goes on shortly after the first before it fully dries — check your product's label, since some are formulated for a single coat and a second just sits on top without soaking in. Solid stains, which act more like thin paint, are almost always applied in two coats for even color and durability.

What if I run out of stain partway through?

Try not to — stopping mid-board or mid-section and picking up again later with a fresh can, even the same product, can leave a visible lap line where the two applications overlap. Buying the rounded-up amount this calculator suggests (to the next whole quart) rather than the bare exact figure is meant to prevent exactly this, since running out with a few boards left is a common and avoidable mistake.

Related tools