HomecalcTool

Fence Costs Calculator

Estimate wood fence costs with a complete material breakdown including posts, rails, boards, and concrete.

Price per Linear Foot (optional)

$

Contractors quote installed fencing per linear foot. Enter your quote for a total cost estimate.

How to Use This Calculator

Enter your fence length, post spacing, and board style. Then enter a price per linear foot in the optional cost field at the bottom. If you have a contractor quote per linear foot, enter it there to see a total project estimate. The calculator also shows a rough DIY material cost reference below the result based on typical lumber yard prices.

For a more accurate DIY estimate, use the material counts (posts, pickets, rails, concrete bags) and multiply each by your local prices. Lumber prices vary by region and change frequently, so always check current prices at your local yard before finalizing a budget.

How to Calculate Fence Material Costs

Total fence cost breaks down into five line items. You can price each individually for an accurate budget.

  • Posts: Post Count x Price per Post. A 100-foot fence at 8-foot spacing needs 14 posts.
  • Concrete: Post Count x 2 bags x Price per bag. 14 posts = 28 bags.
  • Rails: Fence Length x Number of Rails x Price per Linear Foot of 2x4. 100 ft x 3 rails = 300 LF.
  • Pickets/Boards: Picket Count x Price per Board. A solid 6-ft fence uses 343 boards per 100 LF.
  • Hardware and waste: Add 10 to 15 percent to the total.

Example: 100-foot cedar privacy fence. Posts: 14 x $18 = $252. Concrete: 28 x $9 = $252. Rails: 300 LF x $0.90 = $270. Pickets: 343 x $2.80 = $960. Hardware/waste: +$170. Total materials: about $1,904.

Fence Cost Tips

Get lumber prices before finalizing your budget. Lumber prices shift with the market. Call your local lumber yard the week you plan to buy. Online prices are often outdated and regional prices can vary by 30 to 50 percent from national averages. Ask about bundle discounts for full packages of 50 or 100 pickets.

Buy extra concrete from the start. Concrete is cheap and running out mid-project wastes time. Buy 3 to 4 extra bags beyond your calculated count. Leftover concrete bags store indefinitely in a dry location.

Rent tools rather than buy for a one-time project. A gas auger rents for $100 to $150 per day at most tool rental shops. Buying one costs $600 to $1,200. For a single fence project, renting saves money. A level post-setting guide is worth renting too if you are setting more than 15 posts.

Shop multiple sources for posts. Big-box stores are convenient but lumber yards often have better prices on quantity orders and better-quality straight posts. Pull posts from the bundle yourself and reject any with severe bow or twist.

What to Buy

Posts: 4x4 UC4B ground-contact pressure-treated posts. Get 9-foot or 10-foot lengths for a 6-foot fence. Reject posts with large knots near the base or significant bow.

Boards: Cedar 1x6 dog-ear fence boards in 6-foot lengths for a privacy fence. Look for smooth, knot-free faces on the show side. Some brands sell pre-primed boards that take paint immediately.

Rails: 2x4x8 pressure-treated boards. For 8-foot post spacing, 8-foot boards cut to exact length are efficient with no waste. Buy treated not untreated even for above-ground rails: below-grade splashback rots untreated wood within a few seasons.

Concrete: Quikrete Fast-Setting 60-lb bags. The fast-set formula is ideal for fence posts because it allows you to set multiple posts in one day without waiting for standard concrete to cure between posts.

Frequently Asked Questions

How much does a wood fence cost per linear foot? +
DIY pressure-treated pine privacy fence materials cost $6 to $12 per linear foot. Cedar privacy fence materials cost $9 to $16 per linear foot. Professionally installed cedar privacy fence runs $15 to $35 per linear foot including labor. Picket fence materials cost $4 to $8 per linear foot DIY, or $10 to $20 installed. Chain link fence runs $8 to $20 per linear foot installed.
What does the fence cost per linear foot include? +
A complete fence cost per linear foot includes: posts ($3 to $6 each), concrete ($1 to $2 per post), rails (about $0.80 to $1.20 per linear foot), pickets or boards ($1.50 to $4 each depending on species), nails or screws (about $0.10 per picket), and labor if professional installation. Gate hardware, permits, and post caps are often quoted separately.
How much does a 6-foot privacy fence cost for 100 linear feet? +
DIY materials for a 100-foot cedar 6-foot privacy fence: 14 posts at $15 each = $210, 28 bags concrete at $9 = $252, 300 linear feet of 2x4 rail at $0.90 = $270, 343 pickets at $2.50 = $858, hardware about $50. Total: roughly $1,640 in materials. Professional installation adds $800 to $2,500 in labor depending on region.
What is the most cost-effective fence material? +
Pressure-treated pine is the least expensive option for a wood fence at 20 to 40 percent less than cedar. It is durable in ground contact, holds paint and stain well, and is available at every lumber yard. Cedar costs more but resists rot naturally, looks better with no finish, and does not require ground-contact rated posts if kept 2 inches off grade. For a budget fence you plan to paint, pressure-treated pine is the practical choice.
Does fence height affect cost per linear foot? +
Yes. Taller fences use longer posts, more picket material, and often one extra rail. A 4-foot picket fence costs about 30 to 40 percent less per linear foot than a 6-foot privacy fence because posts are shorter and require less labor to set, pickets are shorter, and 2 rails replace 3. An 8-foot fence costs 40 to 60 percent more than a 6-foot fence due to taller posts, a fourth rail, and greater wind resistance requirements.
How much do fence posts cost? +
A 4x4x8 pressure-treated post costs $12 to $20 at most lumber yards. A 4x4x10 costs $18 to $28. A 6x6x10 for a tall or heavy fence costs $35 to $55. Corner and gate posts often use 6x6 stock for added rigidity. Post prices vary widely by region and lumber market conditions. Check current prices at your local lumber yard, as prices shift frequently.
Should I add a cost buffer when budgeting a fence? +
Add 10 to 15 percent to your material estimate for waste, broken boards, and off-cuts at corners and gate openings. Add another 5 to 10 percent for incidentals: extra concrete bags, screws, post caps, fence staples. A 15 to 20 percent total buffer protects against mid-project shortages. Running out of pickets halfway through and waiting for a special order is a common and avoidable problem.

Related Calculators