How the estimate works
Mark the run and the opening
Measure along the straight fence line from the center of the first end post to the center of the last. If the run contains a gate, record where its first post starts and the distance to its second post. The calculator treats the gate width as the distance between post positions, so convert from the manufacturer’s clear opening if necessary. Exclude the gate span when counting rails and pickets. The two gate posts still need holes and concrete.
Divide each fixed section into bays
For each section on either side of the gate, divide its length by the maximum post spacing and round up to the next whole bay. Divide the section length by that bay count to get an even spacing. With a gate, the estimate includes two end posts and two gate posts, plus any interior posts between them. Without a gate, the post count is one more than the bay count. A very short section can still need two boundary posts.
Count rails, pickets, and fasteners
Multiply the number of fixed bays by the rails per bay. Subtract one post width from each center-to-center bay to estimate the clear opening, then divide clear width plus a gap by picket width plus a gap. Round down within each bay so pieces are not borrowed across posts. Multiply total pickets by the allowance and round up. The fastener estimate assumes every purchased picket is attached at each rail, including the allowance.
Estimate concrete and gravel
For each hole type, subtract the square post area from the circular hole area, then multiply by the concrete depth after subtracting the gravel layer. Gravel is calculated across the full hole diameter. Sum the volumes across the run and add the stated allowance. Convert cubic inches to cubic feet for concrete and cubic yards for gravel. Divide concrete volume by the label yield and round up once for the entire order.
Worked example
A 48 ft run includes a 4 ft gate beginning 14 ft from the first end. That leaves 14 ft and 30 ft of fixed fence. At 8 ft maximum spacing, those sections need two and four bays. The six bays require 18 rails at three per bay. The eight posts comprise two ends, two gate posts, and four line posts. The two shorter bays each fit 14 pickets, and the four longer bays each fit 15. That is 88 before the 10% allowance. The estimate uses 10 in holes for standard posts and 12 in holes for gate posts, with equal hole depth and gravel thickness.
- Fence run (ft)
- 48
- Maximum post spacing (ft)
- 8
- Gate opening (ft)
- 4
- Gate start from end of run (ft)
- 14
- Rails per bay
- 3
- Picket width (in)
- 5.5
- Gap between pickets (in)
- 0.25
- Fasteners per picket per rail
- 2
- Post width (in)
- 3.5
- Standard hole diameter (in)
- 10
- Gate hole diameter (in)
- 12
- Hole depth (in)
- 30
- Gravel depth (in)
- 6
- Yield per bag (ft³)
- 0.6
- Extra material (%)
- 10
Reference table
| Maximum post spacing | Posts | Rail pieces | Pickets to buy |
|---|---|---|---|
| 6 | 10 | 24 | 91 |
| 7 | 9 | 21 | 92 |
| 8 | 8 | 18 | 97 |
| 9 | 8 | 18 | 97 |
Common mistakes
- Treating an opening as another fenced bay. Gate posts belong in the project, but the empty span should not receive the same rails and pickets as the rest of the fence. Estimate the gate itself from its kit or plan.
- Buying rails from linear footage alone. A material total in feet hides how many individual pieces fit between posts. Check available stock lengths, end cuts, and whether each purchased rail can yield more than one usable piece.
- Using one geometry for all holes. Gate posts often have different specifications. Enter the measured or specified gate hole diameter separately, and split the concrete estimate if depths also differ.
How much extra should I buy?
Start with about 5–10% extra pickets for cuts and sorting on a simple run. Allow more on a layout with frequent cuts or boards you expect to reject. Rails are counted by piece and receive no automatic extra, so build a separate cut list and add spares as appropriate. For concrete and gravel, 5–10% is a practical planning range when hole sizes are reasonably consistent. Measure actual holes where possible. A wider excavation changes volume faster than a deeper one because diameter is squared.
For connected runs or different hole depths, use the fence-post concrete and gravel calculator. For an existing fence with measured clear bays, use the picket count by bay width.
Sources and assumptions
- The run uses your measured spacing, board face width, gate-post positions and specified hole dimensions.
- The bag yield and fastener count per connection are input assumptions. Check the product label, supplier stock lengths and gate hardware instructions.
Gate hardware and the post schedule
Treat the gate as its own assembly on the order sheet. The tool counts its two supports and omits rails and pickets in the opening. Add hinges, latch, fastening hardware and any separately framed gate materials from the product or project plan. Check whether the gate post positions on your layout match the dimensions required by that hardware.
Buy rail lengths from the bay list
List the clear opening for each bay before ordering stock. A fence with the same total length can need different rail pieces if an opening changes the bay widths. Check trim and usable length at each joint. Sort purchased boards by the cuts they will supply so two bays never depend on the same offcut.
Another project to check
A 20 ft run with one central 4 ft gate leaves two 8 ft bays. Use the values below for a straight fence with three rails per bay and no extra material.
- Posts
- 4
- Gate posts included
- 2
- Rail pieces
- 6
- Pickets to buy
- 32
- Picket fasteners
- 192
- Concrete bags
- 8
- Gravel to buy
- 0.049 yd³
Frequently asked questions
How many fence posts do I need for a straight run?
Divide the run length by the maximum spacing, round up, and add one end post. If there is a gate, split the fixed fence into sections and count each gate post once.
Does the gate count toward the total fence length?
Yes, enter the entire end-to-end length. The calculator removes the gate span from the fixed fence while retaining its two posts in the material estimate.
Can I calculate a fence with corners?
Estimate each straight run separately for rails and pickets. Keep a separate post list so a shared corner post is ordered only once.
How many screws do I need per fence picket?
Multiply the fasteners specified per connection by the number of rails. For example, two screws at each of three rails means six screws per picket.
Does the estimate include gate hinges and latches?
No. It includes the gate posts. Add gate panels and hardware separately from the chosen gate design.
This is a material estimate. Verify measurements, product coverage, and applicable local requirements before buying or building.