Fence Calculator
Work out the posts, pickets and concrete for a fence, and what it costs installed.
Example with the default inputs
- Fence length: 150 ft
- Height: 6 ft
- Post spacing: 8 ft
- Gates: 1
- Fence type: Wood privacy
Wood privacy fence $5,700 (21 posts · 19 sections · national average prices)
| Posts | 21 |
| Post length | 9 ft (⅓ in the ground) |
| Concrete (50 lb bags) | 42 |
| Rails (2 × 4) | 57 |
| Pickets (5.5 in wide) | 328 |
| Gates | 1 |
| Installed price per foot | $35 |
| Estimated cost | $5,700 |
- Call 811 before digging post holes, and check property lines and HOA or city height rules first.
Inputs explained
- Fence length
- Total length of fence, not counting gates.
- Height
- 6 ft is the usual privacy height; front-yard fences are often limited to 3–4 ft by local rules.
- Post spacing
- 8 ft is standard for wood; vinyl panels are usually 6 or 8 ft.
- Gates
- Each gate adds about $300–$600 installed.
- Fence type
- Installed price per linear ft for 6 ft height, roughly: chain link $15–$30, wood $25–$50, vinyl $30–$60, aluminum $35–$65.
- ZIP code
- Optional. Prices are adjusted for higher- or lower-cost areas. Leave blank for national averages.
Results explained
- Posts
- Length ÷ post spacing, plus one, plus an extra post for each gate.
- Concrete
- About 2 bags of 50 lb concrete per post, set a third of the post's height in the ground.
- Cost
- Linear feet × typical installed price, scaled for height and adjusted for your area, plus gates.
Materials
- Posts: fence length ÷ post spacing + 1, plus an extra post per gate. A 150 ft fence with 8 ft spacing needs 20 posts plus gate posts.
- Post depth: about one-third of the post below ground (2 ft for a 6 ft fence), so buy 8 ft posts for a 6 ft fence.
- Concrete: about two 50 lb bags per post.
- Rails: 3 per section for 6 ft fences, 2 for shorter ones.
Cost
A 6 ft wood privacy fence is usually $25–$50 per linear foot installed, chain link $15–$30, vinyl $30–$60. Gates add $300–$600 each.
Learn more
- Efficient Water Systems for Modern Gardens
- How Soil Calculator Works
- Garden Investment: Why Landscaping is a Lifetime Property Value Booster
More renovation
Remodel costs
- Kitchen Remodel Cost Calculator: Estimate a kitchen remodel by size, finish level and ZIP code, with a line-by-line cost breakdown.
- Bathroom Remodel Cost Calculator: Estimate a bathroom renovation by size, finish level and ZIP code: vanity, tile, fixtures and labor.
- Renovation Cost Calculator: Estimate the cost to renovate a whole house or part of one, by size and scope.
- Home Addition Cost Calculator: Estimate the cost to add a room, bathroom, second story or garage to your house.
- Remodeling ROI Calculator: See how much of a remodeling project's cost you'd get back when you sell, based on national averages.
- Window Replacement Cost Calculator: Estimate the installed cost of replacing your windows by number, material and size.
Kitchen & bath
- Countertop Calculator: Work out countertop square footage, slabs needed and installed cost by material.
- Backsplash Calculator: Find how much tile you need for a kitchen backsplash, in square feet, tiles and boxes.
- Kitchen Cabinet Cost Calculator: Estimate kitchen cabinet cost from linear feet and grade: stock, semi-custom or custom.
- Shower Pan Calculator: Calculate the mortar bed slope, thickness and bags of mix for a tiled shower floor.
- Bathtub Volume Calculator: Find how many gallons a bathtub holds and whether your water heater can fill it with hot water.
- Bathroom Vanity Size Calculator: Find the largest bathroom vanity that fits your wall with code clearances.
- Kitchen Work Triangle Calculator: Check your sink, stove and fridge layout against the kitchen work triangle guidelines.
Flooring & walls
- Square Footage Calculator: Find the square footage of a room or area: rectangle, L-shape, circle or triangle.
- Paint Calculator: Work out how many gallons of paint and primer a room needs, and what it will cost.
- Flooring Calculator: Calculate how much flooring to buy, including waste, boxes and installed cost.
- Tile Calculator: Calculate tiles, boxes, grout and thinset for a floor or wall.
- Hardwood Flooring Calculator: Work out how many boxes of hardwood flooring to buy, with waste, and the installed cost.
- Laminate Flooring Calculator: Work out how many boxes of laminate flooring to buy, with waste, and the total cost.
- Carpet Calculator: Calculate carpet in square yards (with roll waste), padding and installed cost.
- Baseboard Calculator: Find how many linear feet and pieces of baseboard trim to buy for a room.
- Wallpaper Calculator: Calculate how many rolls of wallpaper you need, including pattern repeat.
Roofing & exterior
- Roof Area Calculator: Calculate roof area in square feet and roofing squares from the house footprint and pitch.
- Shingle Calculator: Find how many bundles of shingles, underlayment rolls and nails a roof needs, and the replacement cost.
- Roof Pitch Calculator: Find roof pitch, angle and rafter length from rise and run.
- Gutter Size Calculator: Find the right gutter size and number of downspouts for your roof and rainfall.
- Siding Calculator: Calculate siding squares and installed cost from your house's walls and gables.
- Exterior Paint Calculator: Estimate gallons of exterior paint and the cost to paint a house's outside walls and trim.
- French Drain Calculator: Calculate gravel, pipe, fabric and slope for a French drain.
Yard & garden
- Garden Soil Calculator: Calculate how much soil, compost or mulch you need for a garden bed, in cubic feet, yards and bags.
- Mulch Calculator: Find how many cubic yards or bags of mulch you need for your garden beds.
- Sod Calculator: Find how many sod pieces or pallets you need for a new lawn, and the cost.
- Lawn Fertilizer Calculator: Find how many pounds of fertilizer to apply for your lawn size and the N-P-K on the bag.
- Paver Calculator: Calculate pavers, gravel base, sand and edging for a patio or walkway.
- Retaining Wall Calculator: Calculate blocks, cap stones, base gravel and backfill for a block retaining wall.
- Deck Cost Calculator: Estimate deck cost by size and material, plus decking boards and resale value.
- Pool Volume Calculator: Find how many gallons a pool holds, for rectangular, round and oval pools.