Deck and Fence Stain Calculator

A stain order is an area divided by a coverage figure, and both halves of that division move: the area is every face you stain (deck floor, railing, steps, or both sides of a fence), and the coverage figure moves with the stain type, the wood condition and the coat. This deck and fence stain calculator does both modes on one page, in feet or metres. Deck mode adds the floor (length x width), the railing (total linear length x height, default 3 ft) and the steps (width x tread depth x count). Fence mode multiplies length x height x sides (1 or 2). Pick semi-transparent penetrating stain (200 sq ft per gallon first-coat planning default) or solid-colour stain (300 sq ft per gallon), set the wood condition (smooth/new, weathered, rough-sawn), choose 1 or 2 coats, add an optional 10% end-grain allowance, and override the coverage with your own can-label figure whenever it differs. The result is the total area in square feet and square metres, the gallons per coat, the total gallons rounded up to whole gallons, the 5-gallon pail count with the leftover quarts, the litres, and a cost from your own price per gallon. For the deck itself, use the deck calculator; for the fence, the fence calculator.

Quick answer: For a 300 sq ft deck floor, 1 coat of semi-transparent stain at 200 sq ft per gallon: 300 / 200 = 1.50 gallons exact (5.68 litres) — buy 2 gallons (7.57 litres), leaving 0.50 gallons (2 quarts) spare for touch-ups. For a 100 ft x 6 ft fence, both sides, 2 coats, rough-sawn: 100 x 6 x 2 = 1,200 sq ft; first coat 1,200 / 200 = 6.00 gallons, x1.30 rough-sawn = 7.80 gallons; second coat 7.80 x 0.5 = 3.90 gallons; total 11.70 gallons (44.29 litres) — buy 12 gallons (2 x 5-gallon pails + 2 gallons), leaving 0.30 gallons (1.2 quarts) spare.
Deck mode uses the floor, railing and step fields below and ignores the fence fields; fence mode uses only the fence fields. Only the fields for your mode are used.
The long side of the deck floor, in the unit selected here. All deck and fence lengths below use this same unit. Leave blank (with no railing or steps) only if you are staining a fence — use fence mode for that.
Same unit as the deck length above. Floor area = length x width. For an L-shaped deck, add the two rectangles together and enter the total as one length x width pair that gives the same area, or run the tool once per rectangle and add the gallons.
Same unit as the deck length above. The total length of railing you stain, all runs added together — leave blank for no railing. Railing area = this length x the railing height below, one face; if both faces are stained, enter the length twice.
Same unit as the deck length above. Default 3 ft (about 0.91 m) — the height of the railing face you stain, from the deck surface to the top of the cap. If you leave this blank but enter a railing length, the tool uses 3 ft.
Same unit as the deck length above. The width of one step (usually the stair width). Leave blank for no steps. Step area = width x tread depth x step count, tread surface only — risers are not counted, see the limitations.
Same unit as the deck length above. The depth of one tread, front edge to back (often about 11 in / 0.28 m for a standard tread). Leave blank for no steps.
How many step treads you stain. Leave blank for no steps.
Same unit as the deck length above. The run of fence you stain, end to end. Fence mode only — ignored in deck mode.
Same unit as the deck length above. The height of the fence face, ground to top (a common privacy fence is 6 ft / 1.83 m). Fence mode only.
A fence stained on both faces needs twice the stain of the same fence stained on one face: 100 ft x 6 ft is 600 sq ft one side, 1,200 sq ft both sides. Fence mode only.
Semi-transparent penetrating stain soaks into the wood and shows the grain; solid-colour stain sits on the surface like paint and hides the grain. The figures are planning defaults inside the published 150-300 sq ft per gallon first-coat band — if your can label claims a different coverage, enter it in the override field below and it wins.
Smooth new wood takes the default coverage. Weathered or porous wood drinks stain: published guidance says it can cut coverage by up to about 50%, so this tool plans at x1.50 gallons. Rough-sawn boards take +30% (the midpoint of the published +20-40% rough-sawn range). If half the job is weathered and half is not, run the tool twice and add the gallons.
New wood under 1 year old usually needs 1 coat only (TWP). The second coat is NOT a second full coat: it uses half the first-coat gallons, because the first coat has already sealed much of the wood. Penetrating second coats are commonly applied wet-on-wet — follow your can label.
Leave blank to use the stain-type planning default above. If your can label claims a different first-coat coverage, enter it here and the tool uses your figure instead (second coat still uses half the first-coat gallons). This is the single most important field when the label disagrees with the default.
Cut board ends, post tops and step nosings drink stain fastest. +10% is this tool's planning assumption, not a manufacturer figure — turn it on for a job with many cut ends, leave it off for long uncut boards.
Your price for one gallon of the stain you are buying, in dollars — leave blank to skip the cost. Applied to the BUY (rounded-up) gallon count, not the exact figure. Brushes, cleaners and sprayer rental are not included.

Planning this project? Save to Pinterest to find this calculator again later.

How to use the Deck and Fence Stain Calculator

  1. Pick the mode first: deck mode for a deck floor with railing and steps, fence mode for a fence run. Only the fields for your mode are used — the other mode's fields are ignored, so you do not need to clear them.
  2. Deck mode: enter the floor length and width (20 x 15 ft = 300 sq ft on the form defaults), then the railing total linear length and height (default 3 ft) and the step width, tread depth and step count if you have them. The tool adds floor + railing + steps into one stainable area.
  3. Fence mode: enter the fence length and height and pick 1 side or both sides. A 100 ft x 6 ft fence is 600 sq ft one side and 1,200 sq ft both sides — forgetting the second face is the commonest fence shortage, and it halves the order.
  4. Pick the stain type: semi-transparent penetrating (200 sq ft per gallon first-coat planning default) or solid-colour (300 sq ft per gallon). Then read your can label: if its first-coat coverage differs, enter your figure in the override field — the label wins over the default every time.
  5. Set the wood condition honestly: smooth/new at full coverage, weathered/porous at x1.50 gallons, rough-sawn at +30%. A deck that is half weathered and half new should be run twice, once per condition, with the gallons added — one average condition for the whole deck understates the weathered half.
  6. Choose 1 or 2 coats. New wood under 1 year old usually needs 1 coat only. For 2 coats, remember the second coat uses half the first-coat gallons — do not double the order. If your product is a penetrating stain applied wet-on-wet, follow the label's timing, not a second-day recoat schedule.
  7. Turn on the 10% end-grain allowance if the job has many cut ends, post tops or step nosings. Then read all three purchase numbers, not just the exact gallons: the exact total (what the wood needs), the buy figure (rounded up to whole gallons), and the pail split (5-gallon pails plus remainder gallons) with the leftover quarts for touch-ups.
  8. Enter your price per gallon for a cost on the buy figure. Take the buy gallons, the pail split and the stain type to the store, and buy one batch: a 5-gallon pail is usually cheaper per gallon, but only if the colour and batch match the rest of the job, because a second batch can read as a different shade on the same deck.

Deck and Fence Stain Calculator formula

Deck area = (floor length x floor width) + (railing length x railing height) + (step width x tread depth x step count), all in the same length unit. Fence area = fence length x fence height x sides (1 or 2). First-coat coverage (planning defaults, before any override): semi-transparent 200 sq ft per gallon (4.91 m² per litre); solid-colour 300 sq ft per gallon (7.36 m² per litre). Your override, if entered, replaces the default. Condition factor on gallons: smooth/new x1.00, weathered/porous x1.50 (planning assumption inside the published up-to-about-50% coverage-cut range), rough-sawn x1.30 (midpoint of the published +20-40% range). First-coat gallons = area / first-coat coverage x condition factor. Second-coat gallons (2-coat jobs only) = first-coat gallons x 0.5 — never double the first coat. Exact total = (first-coat gallons + second-coat gallons) x (1 + end-grain % / 100). Buy gallons = ceil(exact total). Pails = floor(buy gallons / 5) when buy gallons >= 5, otherwise 0; remainder gallons = buy gallons - pails x 5. Leftover = buy gallons - exact total; leftover quarts = leftover x 4. Litres = gallons x 3.78541. Cost = buy gallons x your price per gallon. Example (a): 300 sq ft deck floor, 1 coat, semi-transparent at 200 sq ft per gallon, smooth — first coat 300 / 200 = 1.50 gallons, exact total 1.50 gallons (5.68 litres), buy ceil(1.50) = 2 gallons (7.57 litres), leftover 0.50 gallons (2 quarts). Example (b): 100 ft x 6 ft fence, both sides = 1,200 sq ft, 2 coats, rough-sawn — first coat 1,200 / 200 = 6.00 gallons, x1.30 = 7.80 gallons; second coat 7.80 x 0.5 = 3.90 gallons; exact total 11.70 gallons (44.29 litres); buy ceil(11.70) = 12 gallons (45.42 litres); pails floor(12 / 5) = 2 pails + 2 gallons remainder; leftover 0.30 gallons (1.2 quarts).

Worked example

Deck floor only: a 20 x 15 ft deck floor (300 sq ft), 1 coat of semi-transparent stain at 200 sq ft per gallon, smooth wood. Step one — area: 20 x 15 = 300 sq ft (27.87 m²). Step two — first coat: 300 / 200 = 1.50 gallons. Step three — total: 1 coat, no end-grain allowance, so the exact total is 1.50 gallons (5.68 litres). Step four — buy: ceil(1.50) = 2 gallons (7.57 litres), 0 pails (under 5 gallons), leaving 0.50 gallons (2 quarts) spare for touch-ups.

Deck with railing and steps: the same 300 sq ft floor, plus 40 ft of railing at 3 ft high (120 sq ft) and 4 steps, 4 ft wide with a 1 ft tread depth (16 sq ft). Total area: 300 + 120 + 16 = 436 sq ft (40.51 m²). First coat: 436 / 200 = 2.18 gallons; exact total 2.18 gallons (8.25 litres); buy 3 gallons (11.36 litres), leaving 0.82 gallons (3.3 quarts) spare.

Fence, both sides, 2 coats, rough-sawn: a 100 ft x 6 ft fence, both sides, 2 coats of semi-transparent stain, rough-sawn wood. Step one — area: 100 x 6 x 2 = 1,200 sq ft (111.48 m²). Step two — first coat: 1,200 / 200 = 6.00 gallons, x1.30 rough-sawn = 7.80 gallons. Step three — second coat: 7.80 x 0.5 = 3.90 gallons (not another 7.80). Step four — exact total: 7.80 + 3.90 = 11.70 gallons (44.29 litres). Step five — buy: ceil(11.70) = 12 gallons (45.42 litres) = 2 x 5-gallon pails + 2 gallons, leaving 0.30 gallons (1.2 quarts) spare. With the 10% end-grain allowance turned on, the exact total becomes 11.70 x 1.10 = 12.87 gallons, so buy 13 gallons (2 pails + 3 gallons).

Metric version: a 6 x 4.5 m deck floor (27 m²), 1 coat of semi-transparent stain, smooth wood. Area: 6 x 4.5 = 27 m² (290.63 sq ft). First coat at 4.91 m² per litre: 27 / 4.91 = 5.50 litres (1.45 gallons); buy 2 gallons (7.57 litres), leaving 0.55 gallons (2.2 quarts) spare. Metric fence: a 30 m x 1.8 m fence, both sides (108 m²), 1 coat, semi-transparent, smooth — 108 / 4.91 = 22.00 litres (5.81 gallons); buy 6 gallons (22.71 litres) = 1 pail + 1 gallon, leaving 0.19 gallons (0.75 quarts) spare.

Coverage reference — first coat and second coat, per stain type and wood condition (planning figures; check your can label):

Stain typeWood conditionFirst-coat coverageFirst-coat gallons per 100 sq ftSecond-coat coverage (effective)Second-coat gallons per 100 sq ft
Semi-transparent (200 sq ft/gal default)Smooth / new200 sq ft/gal (4.91 m²/L)0.50 gal400 sq ft/gal (9.82 m²/L)0.25 gal
Semi-transparentWeathered / porous (x1.50)133 sq ft/gal (3.27 m²/L)0.75 gal267 sq ft/gal (6.54 m²/L)0.38 gal
Semi-transparentRough-sawn (+30%)154 sq ft/gal (3.78 m²/L)0.65 gal308 sq ft/gal (7.55 m²/L)0.33 gal
Solid-colour (300 sq ft/gal default)Smooth / new300 sq ft/gal (7.36 m²/L)0.33 gal600 sq ft/gal (14.73 m²/L)0.17 gal
Solid-colourWeathered / porous (x1.50)200 sq ft/gal (4.91 m²/L)0.50 gal400 sq ft/gal (9.82 m²/L)0.25 gal
Solid-colourRough-sawn (+30%)231 sq ft/gal (5.66 m²/L)0.43 gal462 sq ft/gal (11.33 m²/L)0.22 gal
Second-coat coverage reads higher because the second coat uses half the gallons of the first: effective second-coat coverage = first-coat coverage x 2. Film-forming labels may claim even higher second-coat coverage — if yours does, use the override field with the label figure for the first coat and halve the resulting gallons by hand for the second coat, or run the tool at 1 coat and add half again yourself.

What it costs — DIY vs professional (estimates, checked October 2026 — not a quote). The tool above prices the stain itself from your own price per gallon. A full DIY job also needs cleaner and brightener: published 2026 guides put total DIY materials at roughly $0.50–$1.50 per sq ft. Hiring it out, Angi's deck-staining cost guide puts professional labour at $1–$2.50 per sq ft (about $35–$90 per hour), and total professional prices run about $2–$4 per sq ft for a clean-and-stain job, or $3.50–$6+ per sq ft when the deck needs stripping and heavy prep, usually with a $200 minimum. High-cost areas run higher — Angi notes labour up to $7 per sq ft in the priciest markets.
Deck areaDIY materials (est.)Pro — clean & stain (est.)Pro — strip / heavy prep (est.)
200 sq ft$100–$300$400–$800$700–$1,200
300 sq ft$150–$450$600–$1,200$1,050–$1,800
500 sq ft$250–$750$1,000–$2,000$1,750–$3,000
These are planning estimates from published 2026 cost guides (Angi; SmartOnlineCalculator deck stain cost; DeckCostGuide 2026), not a quote — your deck's condition, your area and the stain you pick move the real price. Get two or three local quotes before deciding; the gap between DIY materials and a pro total is mostly the prep labour, which is also the part that decides how long the finish lasts.

Fence stain calculator

Staining a fence rather than a deck? Set Stain mode to Fence mode in the tool above and this page works as a dedicated fence stain calculator: enter the fence length and height, pick 1 side or both sides, and the tool multiplies length x height x sides into the stainable area, then applies the same coverage defaults (200 sq ft per gallon semi-transparent, 300 solid-colour, first coat), the same wood-condition factors (weathered x1.50, rough-sawn +30%) and the same second-coat rule (half the first-coat gallons) as deck mode. The deck fields — floor, railing and steps — are ignored in fence mode.

The worked fence: a 100 ft x 6 ft fence stained on both sides, 2 coats, rough-sawn wood. Area: 100 x 6 x 2 = 1,200 sq ft (111.48 m²). First coat: 1,200 / 200 = 6.00 gallons, x1.30 rough-sawn = 7.80 gallons. Second coat: 7.80 x 0.5 = 3.90 gallons. Exact total 11.70 gallons (44.29 litres) — buy 12 gallons (2 x 5-gallon pails + 2 gallons), leaving 0.30 gallons (1.2 quarts) spare. The same fence on one side only, 1 coat, smooth wood needs just 3 gallons (600 sq ft / 200 = 3.00 gallons exact) — sides, coats and condition together move this one fence from 3 gallons to 12. In metres: a 30 m x 1.8 m fence, both sides (108 m²), 1 coat, semi-transparent, smooth needs 108 / 4.91 = 22.00 litres (5.81 gallons) exact, so buy 6 gallons (1 pail + 1 gallon).

The one fence mistake this section exists to prevent: forgetting the second face. A fence stained on both sides is exactly double the one-side area — 600 sq ft becomes 1,200 sq ft — and no other single setting moves the order as much. For the fence itself (posts, pickets, rails and concrete), use the fence calculator.

Measurement tips

  • Read the coverage off YOUR can label first. The defaults (200 semi-transparent, 300 solid-colour) sit inside the published 150-300 sq ft per gallon first-coat band, but a can that claims 150 needs a third more stain than the default on the same deck — and that one number swings the order more than the railing, the steps and the end grain combined.
  • Measure every face you will actually stain, not just the floor. A deck floor of 300 sq ft with 40 ft of 3 ft railing and 4 steps is 436 sq ft, not 300 — a 45% larger order. A fence stained on both sides is double the one-side area. Walk the job with a tape and list each face before you open the tool.
  • Stain the end grain first and let it drink. Cut board ends, post tops and step nosings absorb stain fastest and dry lightest if they are left to last. Hit them first, then the faces — and turn on the 10% end-grain allowance on a job with many cut ends.
  • Buy one batch, and buy the pails together. A 5-gallon pail is usually cheaper per gallon, but only if the colour and batch match the rest of the job: a second batch mixed weeks later can read as a different shade on the same deck. The leftover quarts the tool reports are touch-up stain from the same batch — keep them, labelled, for repairs.
  • For a 2-coat penetrating job, plan the timing from the label, not from habit. Many penetrating stains go on wet-on-wet (second coat before the first dries); a second-day recoat on a product meant for wet-on-wet can leave a sticky, uneven film. If the label says wet-on-wet, have both coats worth of stain open and a second applicator ready.
  • New wood under 1 year old usually needs 1 coat only. Fresh boards still hold mill glaze and natural oils that resist a second coat — a second coat on new wood often sits on the surface instead of soaking in. If the wood is new, run the tool at 1 coat and spend the saving on cleaner and brightener instead.
  • Weathered wood needs prep before it needs extra stain. A grey, porous surface drinks stain unevenly: clean it, brighten it if the label calls for it, and let it dry fully before staining. Extra gallons on an unprepared weathered board buy blotchiness, not coverage — the x1.50 factor assumes a cleaned, dry surface.
  • Keep a spare quart from the same batch for touch-ups. Deck boards get scratched, fence pickets get replaced, and a repair from a later batch shows. The tool's leftover figure is that spare by design: on the 300 sq ft deck example it is 2 quarts, which is a realistic touch-up reserve for one season.
  • Stain in the shade and out of direct sun where you can. Hot boards flash-dry stain before it soaks in, which wastes product and leaves lap marks — the same gallons cover less, and less evenly, on a sun-baked deck at noon than on a cool deck in the morning. Early morning or late afternoon, with no rain forecast for the label's drying window, is the honest coverage window.

Common mistakes

  • Doubling the first coat for a 2-coat job. The second coat uses half the first-coat gallons (7.80 gallons first, 3.90 second on the fence example), because the first coat has already sealed much of the wood. Doubling buys 15.60 gallons where 11.70 are needed — four spare gallons that will not match the next batch when they are finally used.
  • Staining only one side of a fence on paper and both sides in reality. A 100 ft x 6 ft fence is 600 sq ft one side and 1,200 sq ft both sides. Entering 1 side for a fence you stain on both faces halves the order and leaves the second face half-done — the single commonest fence stain shortage.
  • Forgetting the railing and steps. A 300 sq ft floor with 120 sq ft of railing and 16 sq ft of steps is 436 sq ft, and the railing alone is 40% of the floor. A floor-only order runs dry with the railing half stained, and a half-stained railing cannot wait for a second batch without showing.
  • Using the label's smooth-wood coverage on weathered or rough-sawn boards. A can claiming 250 sq ft per gallon on smooth wood may cover only about 133-167 sq ft per gallon on weathered or rough-sawn boards. Set the condition honestly — weathered x1.50, rough-sawn +30% — or the order comes up short by a third to a half.
  • Applying a second coat to new wood under 1 year old. Fresh wood usually takes 1 coat only; a second coat on new boards often sits on the surface, stays tacky and peels in sheets. If the wood is new, run the tool at 1 coat and check the label's new-wood note before adding a second.
  • Buying pails from two batches to save a trip. A 5-gallon pail is cheaper per gallon, but a second batch mixed later can read as a different shade on the same deck or fence run. Buy the whole job in one batch, even if it means one pail plus gallon cans rather than two pails from different weeks.
  • Rounding down instead of up. Stain is sold by the whole gallon, and 1.50 gallons cannot be bought as 1.50 — it is 2 gallons, with 2 quarts spare. Rounding down to 1 gallon leaves the last 100 sq ft of deck unstained, and a single gallon bought later may not match.
  • Counting steps as one tread instead of all of them. Step area is width x tread depth x step count: 4 steps at 4 ft wide and 1 ft deep are 16 sq ft, not 4 sq ft. A long stair run (10-12 steps) is a real area — on a wide stair it can exceed the railing area.
  • Staining over a dirty or damp surface and blaming the coverage. Dirt, mildew and grey weathered fibres block absorption, so the stain sits on top and the coverage figure collapses — the tool's factors assume a cleaned, dry surface. Clean, brighten if the label calls for it, and dry fully before the first coat.
  • Pricing the job on the exact gallons instead of the buy gallons. The store sells whole gallons (and pails), so the cost is buy gallons x price per gallon: 12 gallons on the fence example, not 11.70. Costing on the exact figure understates the bill by the rounding, and on a small job the rounding is proportionally largest.

Factors that affect accuracy

  • Area: every extra 100 sq ft at 1 coat, semi-transparent, smooth costs 0.50 gallons (100 / 200). The same 100 sq ft at 2 coats costs 0.75 gallons (0.50 first + 0.25 second), rough-sawn 0.65 gallons for 1 coat and 0.98 gallons for 2 coats, weathered 0.75 gallons for 1 coat and 1.13 gallons for 2 coats.
  • Sides: a fence stained on both sides needs exactly twice the stain of the same fence on one side — 600 sq ft becomes 1,200 sq ft, 6.00 gallons first coat becomes 12.00 gallons first coat before condition and coats. No other single choice moves the order as much as the sides setting.
  • Coats: the second coat adds exactly half the first-coat gallons, so a 2-coat job is 1.5x a 1-coat job before rounding — 1.50 gallons becomes 2.25 gallons on the deck example, 7.80 gallons becomes 11.70 gallons on the fence example. Rounding then pushes the buy figure up by up to one gallon on each job.
  • Wood condition: rough-sawn multiplies gallons by 1.30 (300 sq ft at 1 coat: 1.50 gallons smooth, 1.95 gallons rough-sawn); weathered multiplies by 1.50 (1.50 gallons smooth, 2.25 gallons weathered). On the fence example, condition alone moves the first coat from 6.00 gallons (smooth) to 7.80 gallons (rough-sawn) or 9.00 gallons (weathered) — before the second coat is even added.
  • Stain type: solid-colour at 300 sq ft per gallon needs a third less stain than semi-transparent at 200 on the same area and condition — 300 sq ft at 1 coat is 1.50 gallons semi-transparent but 1.00 gallon solid-colour. The saving is real, but solid-colour hides the grain: it is a different look, not just a cheaper version of the same look.
  • Coverage override: a can claiming 150 sq ft per gallon instead of the 200 default needs 33% more stain (300 sq ft: 2.00 gallons instead of 1.50); a can claiming 250 needs 20% less (1.20 gallons instead of 1.50). No other input, including condition, swings a small job as much as a 50 sq ft per gallon label difference.
  • End grain: +10% moves the fence example from 11.70 gallons exact to 12.87 gallons, and the buy figure from 12 to 13 gallons — one whole extra gallon from a toggle. On a job with almost no cut ends it is a wasted gallon; on a job with many short boards and step nosings it is the gallon that finishes the job.
  • Rounding and pails: buying rounds up to whole gallons, so a job at 11.70 gallons exact buys 12 (0.30 gallons spare, 1.2 quarts) while a job at 12.05 gallons exact buys 13 (0.95 gallons spare, 3.8 quarts). Crossing a 5-gallon boundary changes the pail split, not the stain: 12 gallons is 2 pails + 2 gallons, 13 gallons is 2 pails + 3 gallons, and the pail is only cheaper per gallon if the batch matches.
  • Applicator: a sprayer lays stain faster but loses more to overspray than a brush or pad, and sprayed stain on rough or weathered wood usually needs back-brushing to work it in — both push real use above the tool figure. A brushed job tracks the tool closest; a sprayed job should carry the end-grain allowance even on flat boards, as overspray allowance.
  • Weather and surface prep: a cleaned, dry, shaded surface takes stain at the label figure; a dirty, damp or sun-baked surface does not. Prep and timing do not change the tool's arithmetic, but they decide whether the arithmetic holds — a dirty deck can drink a third more stain and still look patchy.

Sources & assumptions

  • First-coat coverage is a BAND, not one number: penetrating semi-transparent stains run about 150-300 sq ft per gallon on the first coat — TWP semi-transparent 150-200 first coat / 200-300 second coat; DeckStainHelp 150-250 first coat, with the second coat using up to 50% less stain; BEHR DECKplus semi-transparent 250-300 first coat / 500-600 second coat (film-forming products run higher). No URLs are given for TWP, DeckStainHelp or BEHR here because no verified article URL for them exists in this site's source files — the names and ranges above are the citation, and the page tells the reader to check their own can label.
  • Default 200 sq ft per gallon (semi-transparent) is a mid-range planning figure from that 150-300 band, NOT a manufacturer claim for any one product; solid-colour is given the higher 300 sq ft per gallon planning default, at the top of the same band, because solid-colour stains are film-forming. The tool lets the user override either figure with their can-label coverage, and the override wins.
  • Second coat = first-coat gallons x 0.5 (DeckStainHelp planning rule: the second coat uses up to 50% less stain). The first-coat gallons are never doubled. Film-forming labels may claim higher second-coat coverage than this rule gives (BEHR DECKplus semi-transparent claims 500-600 sq ft per gallon second coat), which is why the coverage override exists.
  • Wood condition: rough-sawn +30% stain is the midpoint of the published +20-40% rough-sawn range. Weathered / porous wood pushes coverage to the low end of the band and can cut coverage by up to about 50% (EngineerFix / DeckStainHelp, names only — no verified article URL in this site's sources); this tool applies a x1.50 gallons planning factor for weathered wood, inside that published range, and the page states that it is a planning assumption, not a measured figure for the reader's boards.
  • End-grain allowance +10% is this tool's stated planning assumption, not a manufacturer figure. Railing height default 3 ft, deck step area = width x tread depth x count (tread surface only), and fence area = length x height x sides are this tool's stated measurement rules.
  • New wood: TWP notes new wood under 1 year old usually needs 1 coat only. Second coats on penetrating stains are commonly applied wet-on-wet (before the first coat dries) — the page states this and tells the reader to follow their can label, because products differ.
  • Conversions are exact: 1 US gallon = 3.78541 litres, 1 sq ft = 0.09290304 m2. Gallons are rounded UP to whole gallons; pails = floor(buy gallons / 5) when buy gallons is 5 or more, remainder = buy gallons - pails x 5; leftover quarts = (buy gallons - exact total) x 4.
  • Canonical examples (this tool): 300 sq ft deck floor, 1 coat, semi-transparent at 200 sq ft per gallon, smooth — 1.50 gallons exact (5.68 litres), buy 2 gallons (7.57 litres), 0.50 gallons (2 quarts) spare. Deck with railing and steps — 300 + 120 + 16 = 436 sq ft, 2.18 gallons exact (8.25 litres), buy 3 gallons. Fence 100 ft x 6 ft both sides = 1,200 sq ft, 2 coats, rough-sawn — first coat 7.80 gallons, second 3.90 gallons, exact total 11.70 gallons (44.29 litres), buy 12 gallons (2 pails + 2 gallons), 0.30 gallons (1.2 quarts) spare; with 10% end grain, exact 12.87 gallons, buy 13 gallons. Metric twin: 6 x 4.5 m deck floor (27 m2, 290.63 sq ft), 1 coat semi-transparent — 5.50 litres exact (1.45 gallons), buy 2 gallons; 30 m x 1.8 m fence both sides (108 m2), 1 coat — 22.00 litres exact (5.81 gallons), buy 6 gallons (1 pail + 1 gallon).
  • Cost, when shown, uses only the price per gallon you enter — no prices are preset — and only the stain itself, on the BUY (rounded-up) gallon count. Brushes, cleaners, sprayer rental and labour are not included.
  • DIY-vs-pro cost section (added 2026-10-29, labelled estimates, not a quote): professional labour $1–$2.50 per sq ft and pro totals in the $550–$1,250 range from Angi's deck staining / deck sealing cost guides (2026); pro totals $2–$4 per sq ft (light prep) and $3.50–$6+ per sq ft (heavy prep) with a $200 minimum per SmartOnlineCalculator's deck stain cost guide (cited in the 2026-10-29 deep audit); DIY materials $0.50–$1.50 per sq ft per DeckCostGuide's 2026 deck staining costs. Table cells are those ranges multiplied by the row's area.

Figures checked on 28 November 2026 as part of the site-wide test run (3239 automated checks, all passing). See how we calculate and test.

Safety note

Stain fumes need ventilation: work outdoors with the wind at your back where possible, keep stain away from open flames and pilot lights, and never stain in an enclosed space without airflow. Railing and high fence work is ladder work — keep the ladder on firm level ground and never lean past the rails. Wear gloves and eye protection; stain on skin washes off, stain in eyes needs prompt flushing.
Please note: material estimates are approximate. Always confirm product coverage with the manufacturer and buy a little extra for cuts, waste and future repairs.

What this calculator doesn't do

  • This tool sizes a stain order from the areas you enter — it does not measure your deck or fence. Measure every surface yourself: deck floor length x width, railing total linear length x height, step width x tread depth x step count, fence length x height x sides. A missed face (the back of a fence, the underside of a railing cap) is a missed gallon.
  • Deck steps are counted as tread area only (width x tread depth x step count). Risers, stringer faces and the edges of thick treads are not separate inputs — if your steps have tall risers or exposed stringers you stain, add their area to the railing length x height by hand, or run the tool once more for the step faces and add the gallons.
  • Railing area is total linear length x height, one face, exactly as entered. A railing with balusters on both sides, a wide flat cap that is stained top and bottom, or a privacy screen with boards on both faces needs more than one face of area — enter the length twice (or add the second face as extra railing length) if both faces are stained.
  • Coverage figures are planning ranges, not promises for your can. The default first-coat figure (200 sq ft per gallon semi-transparent, 300 solid-colour) sits inside the published 150-300 sq ft per gallon first-coat band, but your product, your wood and your applicator move the real figure. Always read the coverage on the can label and use the override field if it differs — a can that claims 150 sq ft per gallon needs a third more stain than the default on the same area.
  • The second-coat rule (half the first-coat gallons) is a planning rule for penetrating stains. Film-forming solid and semi-solid stains may claim much higher second-coat coverage on their labels (BEHR DECKplus semi-transparent claims 500-600 sq ft per gallon on the second coat), and some penetrating products are applied wet-on-wet rather than as two separate coats — follow the label for your product and use the coverage override if its second-coat figure differs.
  • The weathered-wood factor (x1.50 gallons) and the rough-sawn factor (x1.30 gallons) are planning assumptions inside published ranges, not laboratory measurements of your boards. Boards vary even on one deck: a sun-baked south face drinks more than a shaded north face. If half the deck is weathered and half is not, run the tool twice (once per condition) and add the gallons.
  • The end-grain allowance (+10%) is this tool's planning assumption, not a manufacturer figure. End grain on cut board ends, post tops and step nosings drinks stain fastest; a deck with many cut ends (short boards, many steps) may need more, and a deck with almost no exposed end grain may need none — the toggle is yours.
  • Gallons are rounded UP to whole gallons, and pails are counted on the rounded-up buy figure. Stain is sold by the gallon and the 5-gallon pail, and a 5-gallon pail is usually cheaper per gallon — but only buy a pail if the colour and batch match the rest of the job, because a second batch can read as a different shade on the same deck. The leftover figure (buy minus exact) is spare stain for touch-ups, not waste to throw away.
  • Cost uses only the price per gallon you enter — no prices are preset — and only the stain itself, on the BUY gallon count. Brushes, rollers, sprayer rental, cleaners, brighteners, sandpaper, masking and your time are not in this total. A sprayer lays stain faster but also loses more to overspray and back-brushing than a brush, so a sprayed job may use more than this tool shows.
  • For the deck itself, use the deck calculator; for the fence, the fence calculator; for painting a house instead of staining a deck, the paint calculator.

Deck and Fence Stain Calculator — frequently asked questions

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

2 gallons for a 300 sq ft deck floor at 1 coat of semi-transparent stain at 200 sq ft per gallon: 300 / 200 = 1.50 gallons exact (5.68 litres), rounded up to 2 gallons (7.57 litres), leaving 0.50 gallons (2 quarts) spare. With railing and steps added — 40 ft of 3 ft railing (120 sq ft) and 4 steps at 4 ft wide x 1 ft tread (16 sq ft) — the area becomes 436 sq ft, the exact total 2.18 gallons, and the buy figure 3 gallons. For 2 coats, multiply the first-coat gallons by 1.5, not 2: the second coat uses half the first-coat gallons.

How much stain do I need for my fence?

12 gallons for a 100 ft x 6 ft fence stained on both sides, 2 coats, rough-sawn wood: area 100 x 6 x 2 = 1,200 sq ft; first coat 1,200 / 200 = 6.00 gallons, x1.30 rough-sawn = 7.80 gallons; second coat 7.80 x 0.5 = 3.90 gallons; exact total 11.70 gallons (44.29 litres); buy 12 gallons (2 x 5-gallon pails + 2 gallons). The same fence stained on one side only, 1 coat, smooth wood needs just 3 gallons (600 sq ft / 200 = 3.00 gallons exact, buy 3) — sides, coats and condition together move this fence from 3 gallons to 12.

How much stain do I need for a 6 ft privacy fence?

Per 100 ft of 6 ft privacy fence, at 1 coat of semi-transparent stain on smooth wood: 3 gallons if you stain your side only (100 x 6 = 600 sq ft; 600 / 200 = 3.00 gallons exact, buy 3), or 6 gallons for both sides (1,200 sq ft; 1,200 / 200 = 6.00 gallons exact, buy 6). The full treatment — both sides, 2 coats, rough-sawn boards — is 11.70 gallons exact, buy 12 gallons (2 x 5-gallon pails + 2 gallons). Halve the run and you halve the stain: a 50 ft fence at both sides, 2 coats, rough-sawn needs 5.85 gallons exact (600 sq ft: first coat 3.90 gallons, second coat 1.95), so buy 6 gallons. Set the tool above to fence mode with your own length to get the figure for your run.

How many litres of stain do I need for a deck in square metres?

5.50 litres exact for a 6 x 4.5 m deck floor (27 m²) at 1 coat of semi-transparent stain: 27 m² / 4.91 m² per litre = 5.50 litres (1.45 gallons), so buy 2 gallons (7.57 litres), leaving 0.55 gallons (2.2 quarts) spare. Enter metres and the tool returns square metres, metres of railing and litres alongside the imperial figures — 27 m² is 290.63 sq ft, and 290.63 / 200 = 1.45 gallons by the imperial route, the same answer.

How much stain do I need for a fence in metres?

22.00 litres exact for a 30 m x 1.8 m fence stained on both sides (108 m²) at 1 coat of semi-transparent stain, smooth wood: 108 m² / 4.91 m² per litre = 22.00 litres (5.81 gallons), so buy 6 gallons (22.71 litres) = 1 x 5-gallon pail + 1 gallon, leaving 0.19 gallons (0.75 quarts) spare. At 2 coats rough-sawn the same fence needs 108 m² / 4.91 = 22.00 litres first coat, x1.30 = 28.60 litres, plus a 14.30-litre second coat = 42.90 litres exact, so buy 12 gallons (45.42 litres).

How many coats of stain does new wood need?

Usually 1 coat only for new wood under 1 year old (TWP). Fresh boards still carry mill glaze and natural oils that resist absorption, so a second coat often sits on the surface instead of soaking in and can stay tacky or peel. Run the tool at 1 coat for new wood, and let the deck weather a season before considering a second coat — or follow your product label if it gives a different new-wood schedule.

Can I apply a second coat of stain wet-on-wet?

Often yes for penetrating stains: the second coat is commonly applied before the first coat dries (wet-on-wet), rather than after a full day's drying. But products differ — some labels require a dry recoat window, and a second coat applied at the wrong time on the wrong product leaves a sticky, uneven film. Follow the timing on your can label, have both coats worth of stain open before you start, and remember the second coat uses half the first-coat gallons either way.

How much more stain does rough-sawn wood need?

30% more than smooth wood in this tool (the midpoint of the published +20-40% rough-sawn range). On a 300 sq ft deck floor at 1 coat semi-transparent, that is 1.95 gallons instead of 1.50 gallons; on the 1,200 sq ft fence example it moves the first coat from 6.00 gallons to 7.80 gallons. Rough-sawn fibres have far more surface area than a planed board, so they drink proportionally more — and a weathered rough-sawn board drinks more still, so set the worse condition if both apply.

What coverage does semi-transparent stain give per gallon?

A planning range of 150-300 sq ft per gallon on the first coat, not one number: TWP semi-transparent claims 150-200 first coat and 200-300 second coat; DeckStainHelp gives 150-250 first coat with the second coat using up to 50% less; BEHR DECKplus semi-transparent claims 250-300 first coat and 500-600 second coat (film-forming products run higher). This tool plans at 200 sq ft per gallon (4.91 m² per litre) for semi-transparent and 300 sq ft per gallon (7.36 m² per litre) for solid-colour, and lets you override either figure with your can label.

Should I buy stain in 5-gallon pails?

Buy a pail when the buy figure reaches 5 gallons and the batch matches the rest of the job: 12 gallons buys as 2 x 5-gallon pails + 2 gallons, and pails are usually cheaper per gallon. Do not buy a second-batch pail weeks later to finish a job — a different batch can read as a different shade on the same deck or fence run. Under 5 gallons, buy gallon cans; the tool shows 0 pails and the full gallon count for those jobs.

How do I measure deck railing and steps for stain?

Railing: total linear length of railing x railing height (default 3 ft), one face — 40 ft of 3 ft railing is 120 sq ft. If both faces are stained, enter the length twice. Steps: step width x tread depth x step count — 4 steps at 4 ft wide with a 1 ft tread depth are 16 sq ft of tread surface. Risers and stringer faces are not counted: add their area by hand if you stain them. Floor + railing + steps is the stainable area: 300 + 120 + 16 = 436 sq ft on the worked example.

How many gallons of stain do I need per 100 square feet?

At 1 coat, semi-transparent, smooth wood: 0.50 gallons per 100 sq ft (100 / 200). At 2 coats the same 100 sq ft needs 0.75 gallons (0.50 first + 0.25 second). Rough-sawn needs 0.65 gallons for 1 coat and 0.98 gallons for 2 coats per 100 sq ft; weathered needs 0.75 gallons for 1 coat and 1.13 gallons for 2 coats. Solid-colour at 300 sq ft per gallon needs 0.33 gallons per 100 sq ft for 1 coat (0.50 gallons for 2 coats) on smooth wood. Add 10% if the end-grain allowance is on, then round up to whole gallons.

How much stain do I need for a deck in square metres per litre?

Divide the area in square metres by the coverage in square metres per litre: semi-transparent plans at 4.91 m² per litre (the metric twin of 200 sq ft per US gallon), solid-colour at 7.36 m² per litre (300 sq ft per gallon). A 27 m² deck floor at 1 coat semi-transparent needs 27 / 4.91 = 5.50 litres; a 108 m² fence (both sides) at 1 coat needs 108 / 4.91 = 22.00 litres. Enter metres in the tool and it does this conversion for you, returning both litres and gallons.

How much does it cost to have a deck stained professionally?

Published 2026 cost guides put professional deck staining at about $2–$4 per sq ft for a clean-and-stain job and $3.50–$6+ per sq ft with stripping or heavy prep, usually with a $200 minimum — so a typical 300 sq ft deck runs roughly $600–$1,200, or $1,050–$1,800 with heavy prep. Angi puts the labour alone at $1–$2.50 per sq ft (about $35–$90 per hour), higher in expensive markets. DIY materials — stain, cleaner and brightener — run roughly $0.50–$1.50 per sq ft. These are estimates from published guides (checked October 2026), not a quote: condition, area and product move the real price, so get local quotes.

Next step

Take the buy gallons, the pail split and the stain type to the store and buy one batch — a 5-gallon pail is usually cheaper per gallon, but only if the colour and batch match the rest of the job. Then check the coverage on the actual can label against the estimate before you open it, and keep the leftover quarts from the same batch for touch-ups.

Save this estimate: use the Copy link button in the results box above to share these exact inputs, or Print results for a paper copy to take to the store.