Fence calculator
Fence Stain Calculator
A fence stain calculator that turns your fence length, height and number of coats into the gallons of stain or sealer you need for one face of the fence, then helps you adjust for both sides and your product's coverage. Rough wood drinks stain, so a guess leaves the last section bare. Enter the fence size and coats and get the gallon count.
- Free to use
- No sign-up
- Formula and sources shown

Got the number? Save it before it gets lost.
A result on a screen is easy to lose. Save this estimate in the app and it stays with the project, ready when you order.
Estimate cost (optional)
Gallons needed
8 gal
Total area
600 sq ft
Turn this result into a priced plan
Save it to a project, add the rest of your materials, and send a client-ready quote. No retyping, no spreadsheet, no lost numbers.
Formula
Gallons = ceil((Area × Coats) ÷ Coverage Rate)
Worked example. 100 linear ft of fence, 6 ft tall (600 sq ft, one face) at 150 sq ft per gallon per coat: 1 coat = 600 ÷ 150 = 4 gallons. The calculator defaults to 2 coats: 1,200 ÷ 150 = 8 gallons. Double the result for both faces.
Work out one face first, then double it for both sides. Multiply the fence length by its height for the area of one face, multiply by the number of coats, divide by the coverage per gallon (about 150 sq ft for rough wood), and round up. A 100 ft by 6 ft fence is 600 sq ft, which needs 4 gallons for 1 coat or 8 gallons for 2 coats. Check your product label, because coverage varies by stain and wood.
Key takeaways
- •Gallons = length × height × coats ÷ coverage per gallon, rounded up. The calculator uses 150 sq ft per gallon per coat.
- •It counts one face. Double the result if you stain both sides of the fence.
- •Rough-sawn and weathered wood absorb the most and cover the least. Smooth or sealed wood covers more.
- •Product labels differ. Use the coverage on your can, and a small test area to see how much your wood drinks.
- •New pressure-treated wood needs time to dry before it takes stain. Check the label and use the water-drop test.
How to use the fence stain calculator
- Measure the fence length and height in feet. For a fence with several runs, add the lengths.
- Enter the length and the height.
- Choose 1 or 2 coats. The calculator starts at 2 coats, so lower it to 1 if the stain is a one-coat product.
- Read the gallons to buy for one face. The calculator uses 150 sq ft per gallon.
- Double the result for both faces, and add a little extra for rough wood, board-on-board and lattice.
- Compare with the coverage printed on your product and adjust. Buy 5-gallon pails if they cost less per gallon.
Fence stain formula
Area (sq ft) = Fence length × Fence height (one face)
Gallons = ceil[ Area × Coats ÷ Coverage per gallon ]
Both faces: Gallons = ceil[ 2 × Area × Coats ÷ Coverage per gallon ]
The calculator uses 150 sq ft per gallon per coat as a planning baseline for rough-sawn fence wood. That is lower than the coverage printed on many cans, because rough and weathered wood soaks up more stain than smooth wood.
Fence stain examples
Example 1: 100 ft × 6 ft fence, one face, 150 sq ft per gallon
- Area = 600 sq ft
- 1 coat: 600 ÷ 150 = 4 gallons
- 2 coats (the calculator default): 1,200 ÷ 150 = 8 gallons
Example 2: the same fence, both faces, 1 coat
- 2 × 600 = 1,200 sq ft; 1,200 ÷ 150 = 8 gallons
Example 3: 120 ft × 6 ft fence, 2 coats, one face
- Area = 720 sq ft; 1,440 ÷ 150 = 9.6, so 10 gallons
Example 4: 60 ft × 4 ft garden fence, 1 coat
- Area = 240 sq ft; 240 ÷ 150 = 1.6, so 2 gallons
Example 5: smooth wood at 250 sq ft per gallon, 100 ft × 6 ft, 1 coat
- 600 ÷ 250 = 2.4, so 3 gallons
Example 6: 100 ft × 6 ft fence, both faces, 2 coats
- 2 × 600 × 2 = 2,400 sq ft; 2,400 ÷ 150 = 16 gallons
Fence stain coverage by wood and product
| Surface | Typical coverage per gallon per coat |
|---|---|
| Rough-sawn or weathered wood | About 100 to 150 sq ft |
| Typical dressed fence boards | About 150 to 250 sq ft |
| Smooth, sealed or previously stained wood | About 250 to 400 sq ft |
Planning ranges only. Product labels vary. For example, a solid-color exterior wood stain can list coverage of 200 to 400 sq ft per gallon. Use your can's figure for the final order.
Types of fence stain
| Type | Notes |
|---|---|
| Clear sealer | Shows the wood grain; little UV protection; needs frequent reapplication |
| Semi-transparent stain | Shows the grain with color; common for fences; usually covers more per gallon |
| Solid-color stain | Hides the grain; more protection; looks like paint; can peel if applied thick |
| Oil-based | Soaks in deeply; slower drying; common cleanup with solvent |
| Water-based (latex or acrylic) | Faster drying; easy cleanup; check compatibility with older finishes |
Follow the label for the wood, the weather and the number of coats.
When to stain a new fence
- •Pressure-treated wood often holds a lot of moisture when new. Many makers advise letting it dry for several weeks, and some for longer, before staining.
- •Do a water-drop test: sprinkle water on the boards. If the water soaks in within about a minute, the wood can take stain. If it beads up, wait longer.
- •Do not wait too long, because sunlight breaks down the wood surface and weakens the grip of the stain. Clean or lightly sand a weathered fence first.
- •Pick a dry, mild day. Many products list a temperature window, for example about 40 to 90°F, and no rain for at least 24 hours after you apply the stain.
- •Always follow your product's directions on the new-wood wait, the temperature, the dry time and the recoat time.
Preparing and applying the stain
- Repair loose boards and set popped nails or screws below the surface.
- Clean the fence with a wood cleaner or a mild pressure wash on a low setting, and let it dry fully.
- Remove mildew and old flaking finish, and sand rough spots.
- Cover plants, ground and nearby surfaces.
- Apply the stain with a brush, roller or sprayer, working with the grain and keeping a wet edge.
- Back-brush spray applications so the stain works into the wood.
- Apply a second coat only as the label says, usually while the first is still slightly tacky or after the recoat time.
Estimating fence stain cost
Cost = Gallons × Price per gallon + Brushes, rollers and sprayer + Cleaner
Example only: 8 gallons at $40 is about $320. Cleaner, brushes, rollers, drop cloths and sprayer rental are extra. Compare the price per gallon for 1 and 5 gallon sizes.
Troubleshooting common stain problems
| Problem | Likely cause | What to do |
|---|---|---|
| Blotchy or uneven color | Wood too wet, dirty or uneven in how it absorbs | Clean and let the wood dry; use a stain made for fences; keep a wet edge |
| Stain peels or flakes | Thick coat, wet wood or old finish left on | Strip loose finish, dry the wood, apply thin coats |
| Stain looks different from the sample | Wood species and weathering change the color | Test on a hidden board first |
| Runs out too soon | Rough wood, spray waste or both faces | Plan for both faces and rough wood; buy a little extra |
| Mildew returns | Shade and moisture | Clean with a mildew cleaner; let air circulate |
Terms explained
| Term | Meaning |
|---|---|
| Coverage rate | The area one gallon covers per coat |
| Semi-transparent stain | A stain that adds color and shows the grain |
| Solid stain | A stain that hides the grain |
| Back-brushing | Brushing over sprayed stain to work it in |
| Wet edge | Keeping the stain's edge wet so laps do not show |
| Recoat time | The wait between coats |
| Mill glaze | A glossy surface from the saw that stops stain soaking in |
Common fence stain calculator mistakes
- •Forgetting that the calculator counts one face of the fence.
- •Using 2 coats of a stain that is designed for one.
- •Applying a smooth-wood coverage rate to rough or weathered boards.
- •Staining wet, new pressure-treated wood too early.
- •Applying in rain, cold or direct hot sun.
- •Using too little stain on the edges and the end grain of the boards.
Metric conversions
| From | To |
|---|---|
| 1 US gallon | 3.785 litres |
| 150 square feet per gallon | About 3.7 square metres per litre |
| 600 square feet | About 55.7 square metres |
| 5 gallon pail | About 18.9 litres |
Gallons by fence length: quick table
The table below gives the gallons for a 6 ft fence at the calculator's planning rate of 150 sq ft per gallon, so you can read the answer without doing the math. The first two columns are one face of the fence, and the last two are both faces. If your product lists a higher coverage, use the calculator with your can's figure instead.
| Fence length | 1 coat, one side | 2 coats, one side | 1 coat, both sides | 2 coats, both sides |
|---|---|---|---|---|
| 50 ft | 2 | 4 | 4 | 8 |
| 75 ft | 3 | 6 | 6 | 12 |
| 100 ft | 4 | 8 | 8 | 16 |
| 125 ft | 5 | 10 | 10 | 20 |
| 150 ft | 6 | 12 | 12 | 24 |
| 200 ft | 8 | 16 | 16 | 32 |
| 250 ft | 10 | 20 | 20 | 40 |
| 300 ft | 12 | 24 | 24 | 48 |
Gallons are rounded up to whole gallons. Add 10 to 15% for posts, rails and board edges, and 20 to 30% more if you spray.
Stain, sealer or paint: which finish
A clear sealer protects the wood from water but adds almost no color and little UV protection, so it needs reapplying most often, often every year or two. A semi-transparent stain adds color, shows the grain, and lasts longer, which is why it is the most common choice for fences. A solid-color stain hides the grain, gives the most protection, and lasts the longest, but it can peel if it is applied too thick, and it looks more like paint.
Paint is not the same as solid stain. Paint sits on the surface and peels when water gets under it, while solid stain soaks into the wood. For a fence, a stain is usually the safer choice. Check the label of the product you buy: it will say whether it is made for fences and vertical surfaces, how many coats it needs, and how long it lasts.
| Finish | Shows the grain? | Typical life | Recoat |
|---|---|---|---|
| Clear sealer | Yes | 1 to 2 years | Clean and reapply |
| Semi-transparent stain | Yes | 2 to 3 years | Clean and reapply |
| Solid-color stain | No | 3 to 5 years | Clean, spot-prime bare wood |
| Exterior paint | No | 3 to 5 years, then peels | Scrape, prime, repaint |
| Oil-based stain | Yes | 2 to 4 years | Clean and reapply |
Lifetimes are planning ranges, not guarantees. Sun, rain and shade change them a lot. Follow the product label.
Brush, roller or sprayer: how the method changes the gallons
A brush works the stain into the wood and wastes almost nothing, but it is slow on a long fence. A roller is faster and still wastes little, and it suits flat board fences. A sprayer is the fastest of all, but it loses 20 to 30% of the stain as overspray, so plan on extra gallons. Whatever you spray, back-brush it: brush over the sprayed stain while it is wet so it works into the wood instead of sitting on top.
| Method | Speed | Waste | Best for |
|---|---|---|---|
| Brush | Slow | Very little | Small fences, edges, touch-ups |
| Roller | Medium | Little | Flat board fences |
| Sprayer | Fast | 20 to 30% | Long fences, board-on-board, lattice |
| Sprayer + back-brush | Fast | 20 to 30% | Best finish on a long fence |
A sprayer also needs masking. Cover plants, paths, cars and the neighbor's fence before you start.
Example: a 100 ft × 6 ft fence, both sides, 1 coat, needs 8 gallons by the calculator. With a sprayer, plan on 8 × 1.25 = 10 gallons. With a brush, 8 gallons is usually enough, plus a little for the posts and edges.
Stain by wood type
Cedar takes stain well and is the easiest wood to finish. It is naturally rot-resistant, so a semi-transparent stain suits it, and the color stays true. Pressure-treated pine is trickier: it arrives wet, and stain applied too early sits on the surface and peels. Let it dry for several weeks and use the water-drop test before you stain. Redwood behaves like cedar. Douglas fir and spruce are softer and absorb stain unevenly, so a test patch on a hidden board is worth the time.
- •Cedar: stain when the wood is dry, usually within a few weeks of building, and use a semi-transparent stain to show the grain.
- •Pressure-treated pine: wait until water soaks in within about a minute in the water-drop test, then stain.
- •Weathered grey wood: clean it first, and plan on the low end of the coverage range, about 100 to 150 sq ft per gallon.
- •Previously stained wood: use the same type of stain, oil over oil or water over water, unless the label says the new product bonds to the old one.
- •New smooth boards: check for mill glaze, a glossy surface from the saw that stops stain soaking in. A light sanding fixes it.
Whatever the wood, test the color on a hidden board first. The same stain looks different on cedar, pine and weathered wood, and the test patch is the only way to know before the whole fence is done.
Related fence tools
- •Fence picket calculator for the boards
- •Fence calculator for posts and rails
- •Fence panel calculator for pre-made panels
- •Paint calculator for interior walls
- •Driveway sealer calculator for asphalt sealer
Assumptions
- •Uses a 150 sq ft per gallon per coat baseline, which is lower than smooth interior paint because rough-sawn and weathered wood absorbs more stain.
- •Measures one face of the fence only. Double your final gallon count for both sides, and add extra for board-on-board, lattice and rough wood.
- •Semi-transparent stains usually cover more area per gallon than solid-color stains. Check your product's label for its rated coverage and coats.
Sources✓ Verified
- Wood stain manufacturer coverage labels. Coverage per gallon and recoat time vary by product; some solid-color stains list 200 to 400 sq ft per gallon, and 150 sq ft is a conservative baseline for rough wood.
- Manufacturer application guidance. New-wood wait times, temperature windows and no-rain periods for the stain you choose.
- Wood finishing guidance from stain makers. Cleaning, drying, thin coats and the water-drop test.
- Your product's technical data sheet and safety data sheet. Coverage, coats, dry time, cleanup and safety.
Formula reviewed November 2026.
Multiply the length by the height, multiply by the number of coats, and divide by the coverage per gallon, about 150 sq ft for rough wood. A 100 ft × 6 ft fence needs 4 gallons for one coat on one face.
For a 6 ft fence, one face with 1 coat takes about 4 gallons, and both faces take about 8 gallons. Two coats on both faces take about 16 gallons.
About 100 to 150 sq ft on rough wood and 150 to 250 sq ft on typical boards, and some products list 200 to 400 sq ft on smooth wood. Use the figure on your can.
It is best to seal both sides to slow warping, and many people do. The calculator counts one face, so double the gallons for both sides.
Many semi-transparent stains need one coat, and some solid stains use two. Check your product. Two thin coats beat one thick coat.
Many makers say several weeks to a few months so the wood can dry. Try the water-drop test: if water soaks in within about a minute, the wood can take stain.
A dry, mild stretch of spring or fall, with temperatures in the range on your can and no rain for at least 24 hours.
Cleaning helps, and a low-pressure wash can work. High pressure can damage the wood, so use care and let the fence dry fully before you stain.
A sprayer is faster for a long fence, but it wastes more stain, so plan on extra. Back-brush the sprayed stain to work it into the wood.
They have more surface than a flat fence. Add extra to the estimate, and use a sprayer with back-brushing or a brush to reach the overlaps and edges.
It is a conservative planning rate for rough-sawn and weathered fence wood, which absorbs more than smooth wood. Smooth or sealed wood and some products cover more.
Multiply each run's length by its height, add the areas, and divide the total by the coverage per gallon and multiply by the coats. Or run the calculator for each section and add the gallons.
It varies with the product, the wood and the sun and weather, from a year or two for a clear sealer to several years for a solid stain. Check the product.
Often yes, if the label says it is suitable for vertical surfaces and fences. Check the product's directions.
For a 6 ft fence at 150 sq ft per gallon, 6 gallons for one coat on one face, 12 gallons for two coats on one face or one coat on both faces, and 24 gallons for two coats on both faces.
For a 6 ft fence, 8 gallons for one coat on one face, or 16 gallons for one coat on both faces. Two coats on both faces takes 32 gallons.
Converters to use with the Fence Stain Calculator
Switch units, compare bulk and bagged quantities, or check coverage, without leaving BuildCova.
Interior & FinishingPaint Gallons to Square Feet Converter350 sq ft per gallon per coat, any area.
Lumber, Deck & FenceFence Pickets per Linear Foot ConverterPickets per foot from width and gap.
Slope & MeasurementFeet & Inches to Decimal Feet Converter5 ft 6 in = 5.5 ft, both directions.
Lumber, Deck & FenceLinear Feet to Square Feet ConverterLength to area (or back) for any width.
Lumber, Deck & FenceNominal vs Actual Lumber Size ConverterA 2×4 is really 1½ × 3½ in, every size.More fence calculators
FenceGate PlannerA gate planner calculator that turns the number of gates and the width of each into the gate posts, hinges and latch sets you need, then helps you plan the opening, the posts and the sag prevention. A gate with the wrong hardware sags on its hinges within months. Enter the gate count and widths and get the hardware list before you build.
FenceWood Fence CalculatorThis wood fence calculator turns your fence length and height into an exact shopping list: pickets, rails, posts, concrete bags and the materials cost. It counts by the real picket width, so a 1x6 counts as 5.5 in, not 6 in, and it compares cedar, pine and redwood before you commit to a species. Order what the job needs, nothing you will return.
FencePicket Fence CalculatorThis picket fence calculator counts exactly how many pickets your fence needs. Enter the fence length, the picket width and the gap between pickets, and get the picket count with waste, plus posts, rails, concrete bags and the materials cost, with pointed, flat-top and dog-ear picket options and a gap comparison built in. The gap is what most people forget, and it changes the count.
FencePrivacy Fence CalculatorThis privacy fence calculator works out exactly what a 6 ft solid privacy fence needs. Enter the fence length and height, choose wood or vinyl, and get the picket or panel count, posts, rails, concrete bags and materials cost, with a wood-vs-vinyl comparison and height options from 4 ft to 8 ft built in. Solid means no gaps, so every board counts and the wind load is real.
FenceHome Depot Fence CalculatorThis Home Depot fence calculator counts a panel fence the way the store sells it. Enter your fence length and this independent estimator counts the 6x8 ft panels, posts and bags of concrete you need, prices them at typical big-box panel prices, and shows an installed cost range, so you can walk into the store with a shopping list instead of a guess. It is not affiliated with or endorsed by The Home Depot.
FenceVinyl Fence CalculatorThis vinyl fence calculator prices a PVC fence honestly: more up front than wood, then almost nothing for decades. Enter your fence length and it counts the panels, posts, rails, caps and concrete bags, prices the materials, shows the installed cost per linear foot, and compares the 20-year cost against a wood fence, so you can see when vinyl pays for itself.Was this calculator helpful?
Material requirements can vary based on product specifications and job conditions. Verify quantities with your supplier before ordering.