Hitch InvoiceJoin the waitlistJoin waitlist

Fence calculator

This fence calculator works out posts, rails, pickets and post concrete for every run and gate, in any style, with a price per linear foot for the customer.

Fence runs

ft
ft
Style
ft
in

Actual width, from the label.

More optionsPost spacing, post size, hole depth, waste, rot boards and caps, price per foot

Posts

Post spacing

8 ft is standard; 6 ft for heavier fences and windy spots.

Post size
in

Empty: 1/3 of the fence height. Use 1/2 or your frost depth if it's deeper.

Lumber

%

Price

/lin ft
/lin ft

Fence materials

0 posts

0 rails · 0 pickets

  • Fence length (less gates)0.0 ft
  • Sections (8 ft)0
  • Rails (3 per section at 6 ft)0
  • Pickets with waste0
  • Post holes (12 in × 24 in)0
  • Concrete, 80 lb bags0 (3 per post)

Mixing a big pour? Check it with the concrete calculator. Staining or painting the fence? Use the paint calculator.

Want this on your phone, with saved prices and estimates? Join the Hitch Invoice waitlist.

Posts: one per section, one to end each run, one extra per gate (Lowe's). Rails: 2 under 5 ft, 3 for 5–7 ft, 4 for 8 ft (Hoover Fence). Holes 1/3 of fence height deep, 3× the post wide (HGTV); concrete = hole volume minus post volume ÷ 0.60 cu ft per 80 lb bag (EasyUnitConverter, Gambrick). 10% lumber waste (Inch Calculator). Local frost depth can require deeper posts.

Estimates only. Check quantities against manufacturer instructions and local building codes.

Last updated: . Sources: Inch Calculator, Inch Calculator wood fence, Lowe's worksheet, Hoover Fence, HGTV, EasyUnitConverter, Gambrick, Sakrete data sheet.

Worked example: 150 ft of 6 ft privacy fence

Take out the 4 ft gate: 146 ft makes 146 ÷ 8 = 18.25, so 19 sections at 8 ft. That's 19 + 1 + 1 for the gate = 21 posts, 3 rails per section at 6 ft = 57 rails, and with 5.5 in pickets 146 × 12 ÷ 5.5 = 318.5, plus 10% waste = 351 pickets.

Each hole is 1/3 of 6 ft = 24 in deep and 3 × 4 = 12 in wide. That's 1.57 cu ft, minus 0.17 cu ft of 4×4 post, ÷ 0.60 = 2.3, so 3 bags of 80 lb concrete per post and 63 bags in all. At a sample $20 materials plus $12 labor per linear foot, 150 ft comes to $4,800.

How to measure a fence

  1. Walk the fence line and measure each straight run in feet. Add each run as its own row; runs that meet at a corner share a post.
  2. Count the gates on each run and their widths.
  3. Pick the style and height, and enter the picket width from the label (or the panel width for panels).
  4. Under More options, set post spacing, post size and hole depth. Holes default to 1/3 of the fence height; go deeper for frost.
  5. Add materials and labor price per linear foot, then tap Add to estimate.

Use it as a privacy fence calculator, a picket fence calculator, a board on board fence calculator, a fence panel calculator or a chain link fence calculator. It's also a fence post concrete calculator and a fence post depth calculator. For deck railings see the deck calculator, and price the job with the estimate generator and the markup calculator.

Rails by fence height

HeightRails per section
Under 5 ft2
5–7 ft3
8 ft4

From Hoover Fence. Post holes: depth 1/3 to 1/2 of the above-ground height, diameter 3× the post (HGTV). Local frost depth can require deeper posts.

Questions contractors ask

How far apart should fence posts be?

Usually 8 ft apart, or 6 ft for heavier fences and windy areas (Inch Calculator, Lowe's). Count one post per section, one more to end each run, and one extra for each gate.

How much concrete per fence post?

Take the hole volume, subtract the part the post fills, and divide by the bag yield: 0.60 cu ft for an 80 lb bag. A 12 in × 24 in hole around a 4×4 takes 3 bags of 80 lb. Most posts take 1–4 bags (Gambrick).

How deep should fence posts go?

Dig 1/3 to 1/2 of the post's above-ground height, and make the hole 3 times as wide as the post: 12 in for a 4×4 (HGTV). Local frost depth can require more, so check local code.

How many rails does a fence need?

2 rails per section under 5 ft tall, 3 for 5–7 ft, and 4 for an 8 ft fence (Hoover Fence). The fence calculator picks the count from the height you enter.

How do I figure how many pickets I need?

Divide the fence length in inches by the picket width (plus the gap on a picket fence, or minus the overlap on board-on-board), then add 10% for waste (Inch Calculator). Take the gate openings out of the length first.

How do I price a fence per linear foot?

Add your materials and labor price per linear foot and multiply by the total length, gates included. Enter both under More options and the fence calculator shows the job price, then Add to estimate puts it in an estimate.