Skip to content
Other

Fence Material Calculator

Enter your fence length, height, post spacing, and picket size to get an instant material list: posts, rails, pickets, concrete for footings, and screws. Switch between imperial and metric, adjust fence style, and get a cost estimate for pressure-treated wood, cedar, or redwood.

Your details

Total linear length of the fence run.
ft
Height of the fence above ground. Post length is set to 1.5x this to allow for burial.
ft
Center-to-center distance between posts. 6-8 ft (1.8-2.4 m) is typical for wood fences.
ft
Horizontal boards between posts. Use 2 for fences up to 6 ft, 3 for taller fences.
Actual face width of each picket/board. A standard 1x4 is 3.5 in (8.9 cm) actual.
in
Gap between pickets. Use 0 for a solid privacy fence, negative for overlapping shadowbox style.
in
Shape of the post footings, which determines how much concrete is needed per hole.
Width of a square/rectangular post (e.g. 3.5 in for a nominal 4x4).
in
Thickness of a rectangular post (same as width for a square post).
in
Select wood type to apply typical per-unit costs. Prices vary by region and vendor.
Posts needed
13

Total fence posts including corners and end posts

Fence sections12
Post length9
Rails needed24
Pickets needed378
Concrete volume29.86
1.5-in screws (boxes of 100)16
3.5-in screws (boxes of 50)2
Cost estimate$1,928
Posts13
Rails24
Pickets378
$0.0$4k$9k10110210
Fence length (ft)
Estimated cost (USD)
Fence length (ft)Pressure-treatedCedarRedwood
$10.0$216$322$460
$20.0$393$591$847
$30.0$574$866$1k
$40.0$803$1k$2k
$50.0$983$1k$2k
$60.0$1k$2k$3k
$70.0$1k$2k$3k
$80.0$2k$2k$3k
$90.0$2k$3k$4k
$100$2k$3k$4k
$110$2k$3k$5k
$120$2k$4k$5k
$130$3k$4k$5k
$140$3k$4k$6k
$150$3k$4k$6k
$160$3k$5k$7k
$170$3k$5k$7k
$180$3k$5k$8k
$190$4k$6k$8k
$200$4k$6k$8k
$210$4k$6k$9k
  • Pressure-treated
  • Cedar
  • Redwood

A 100 ft fence needs 13 posts, 378 pickets, and about 67 bags of concrete.

  • Your fence needs 13 posts, 24 rails, and 378 pickets (already includes a 10% waste buffer).
  • You will need about 67 standard 60-lb bags of concrete to set all the post footings.
  • Post length is set to 9.0 ft, so one-third (the buried section) anchors below grade for stability.
  • Estimated material cost for pressure-treated pine is a rough guide - local lumber prices vary by up to 40%.

Next stepAdd 10% extra pickets if your fence line has gates or angles. Check local building codes: many jurisdictions require permits for fences over 6 ft tall.

How to calculate fence materials

A wood fence has four main material categories: posts, rails, pickets, and concrete for footings. The number of posts equals the number of fence sections plus one (one post at each end and one at each joint). The sections count is the total length divided by your post spacing, rounded down. Rails equal the rails-per-section multiplied by the number of sections. Pickets are calculated by dividing the total fence length by the sum of picket width plus picket gap, then rounding up. This calculator adds a 10% waste buffer to the picket count to account for cuts, defects, and future repairs. Post length is set to 1.5 times the above-ground height because building codes and structural best practice call for burying one-third of each post underground for stability.

Choosing post spacing and fence style

Standard residential wood fences use 6-foot or 8-foot post spacing. Six feet is more rigid and better suited to privacy fences in windy areas or sloped lots. Eight feet maximises lumber efficiency but requires straighter, knot-free posts. Solid privacy fences use zero picket spacing so boards sit flush. Shadowbox fences overlap boards slightly (set picket spacing to a small negative value) to give privacy from both sides while allowing airflow. Open picket fences use a 2-4 inch gap for a decorative, traditional look. For split-rail fences, omit pickets entirely and count only posts and rails.

Concrete footings: how much do you need?

Each post needs a concrete footing with a hole diameter roughly three times the post width and a depth equal to one-third the total post length. For a standard 4x4 post (3.5 inch actual width) on a 6-foot privacy fence, that means a 10.5-inch diameter hole about 3 feet deep. A standard 60-pound bag of concrete covers approximately 0.45 cubic feet when mixed. Multiply the hole volume by the number of posts to get the total cubic footage, then divide by 0.45 to get the bag count. In cold climates, the hole depth must reach below the frost line, which overrides the one-third rule.

Material cost guide for wood fences

Pressure-treated pine is the most budget-friendly option, with posts typically costing $15-25 each and pickets $3-5 each. Cedar is naturally rot-resistant and insect-resistant without chemical treatment, running roughly 50-60% more per board. Redwood offers similar durability to cedar with a distinctive color, but costs two to three times the price of pressure-treated pine in most US markets. All prices vary significantly by region, current lumber markets, and board dimensions. The cost estimate in this calculator uses typical national averages as a starting point - always get a local quote before ordering materials.

Fence style guide: recommended parameters

Fence styleRails per sectionPicket spacingBest use
Solid privacy2-30 in (flush)Backyard privacy, full enclosure
Shadowbox3-0.5 to -1 in (overlap)Privacy with airflow, both-sides look
Picket / spaced22.5 to 4 in gapFront yard, decorative, pet boundary
Stockade20 in (dog-ear boards)Privacy, budget-friendly
Split rail2N/A (no pickets)Decorative, boundary, large lots
3-rail board30 in (flush)Tall privacy or security fences

Typical settings for common residential wood fence styles.

Frequently asked questions

How many fence posts do I need per linear foot?

With 8-foot post spacing you need about 1 post every 8 feet, or roughly 0.125 posts per linear foot of fence (plus one extra for the end). With 6-foot spacing the rate is about 0.167 posts per linear foot. Multiply your fence length in feet by this rate and add 1 for the final post to get your total.

How deep do fence posts need to be buried?

The general rule is to bury one-third of the total post length, or a minimum of 2 feet, whichever is greater. For a 6-foot privacy fence, use a 9-foot post and bury 3 feet. In cold climates the hole must extend below the local frost line (often 36-48 inches in northern states), so check local building codes before ordering posts.

What is the right picket spacing for a privacy fence?

Set picket spacing to 0 for a solid privacy fence - boards sit flush with no gap. For a shadowbox (board-on-board) style that looks finished from both sides, set spacing to a small negative value such as -0.5 or -1 inch so boards overlap. For a traditional picket fence with a decorative look, use a gap equal to the picket width (typically 3.5 inches) for an evenly spaced, open design.

How many bags of concrete do I need for fence posts?

A standard 60-lb bag of dry-mix concrete fills approximately 0.45 cubic feet when mixed. Calculate the volume of each post hole (roughly 3x the post width, 3x the post depth), multiply by the number of posts, and divide by 0.45 to get the bag count. Round up to the nearest whole bag. As a rule of thumb, most 4x4 posts in 3-foot holes need 1 to 2 bags each.

Should I add extra material for waste?

Yes. This calculator already applies a 10% waste buffer to pickets, which covers cuts, board defects, and future patch repairs. You should also order a few extra posts and rails. For a project with angles, curves, or multiple gates, consider adding 15% to pickets. Rails are usually cut from longer boards, so check that your ordered length matches the board lengths available at your local lumber yard.

Do I need a permit for a fence?

Many municipalities require a building permit for fences above 4 to 6 feet tall or within a set distance of the property line. HOA rules may also restrict height, material, and style. Check with your local building department and review any HOA covenants before starting the project. Fences on or near utility easements or property lines may require a survey.

Sources

Written by Grace Mbeki, MSc Data Scientist & Educator · Nairobi, Kenya

Turning everyday numbers into clear, actionable answers for the decisions that matter most.

Search 3,500+ calculators

Loading search…