Fence calculator
Enter the run, the post spacing, and the height. Choose pickets or panels. The result is posts, rails, the infill, and concrete bags for the holes. Spacing, waste, hole size, and bag yield are starting assumptions you can change. It runs in your browser.
How to use this
- Enter the fence length, the post spacing, and the height. Spacing starts at 8 feet. Change it.
- Choose pickets and enter a width and a gap, or choose panels and enter a panel width.
- Check rails per section, the waste percent, the hole size, and the bag yield. The counts round up.
Nothing you type leaves your browser. We save it on this device only so you don’t lose it.
The run in a straight line. Add a second pass for an L-shaped fence.
Starting assumption: 8 ft. This is not a code rule. Check your local building department and change this number.
The height you want the fence to cover. It does not change the post count.
Pickets use a board width and a gap. Panels use the width of one panel.
The face width of the picket you are buying. No default.
Starting assumption: 0 in, boards touching. Enter the gap you plan. A wider gap means fewer pickets.
Starting assumption: 2 rails in each bay. A taller fence often uses 3. Change this number.
Starting assumption: 10% for cuts, applied to pickets or panels, rails, and the concrete. The post count does not add extra posts. Change this number.
Starting assumption: 8 in. This is not a code size. Check your local building department and the post, then change this number.
Starting assumption: 24 in. This is not a code depth. Check your local building department and change this number.
Starting assumption: 0.45 cu ft. The yield is printed on the bag. Change this number.
Starting assumption: 0.6 cu ft. The yield is printed on the bag. Change this number.
Result
Enter the length, the spacing, the height, and either a picket width or a panel width.
Common questions
- How many fence posts do I need?
- Divide the fence length by the post spacing you enter and round up, then add one post so both ends have a post. A length that divides evenly still has a post at each end. Spacing starts at 8 feet. That is not a code rule. Check your local building department and change the number.
- How does this count pickets, panels, and rails?
- Pickets use the width plus the gap you enter, with a gap between pickets and not after the last one. Panels are the length divided by the panel width. Rails are one piece per section for each rail line you enter, which starts at 2. A taller fence often uses 3. Waste applies to pickets or panels and to rails, then the counts round up. Change any of these numbers.
- How many bags of concrete are the post holes?
- Each hole is a cylinder from the diameter and depth you enter, times the number of posts. Waste applies to that volume. Divide by the bag yield you enter and round up to a whole bag. Starting yields are 0.45 cubic feet for a 60 pound bag and 0.6 cubic feet for an 80 pound bag. Yield is printed on the bag. Hole size is not a code depth. Check your local building department and the bag.
Other material calculators
Checklists and permit notes
These pages are questions to walk before you order or hire. A permit answer comes from your building department, not from this calculator.
- How to measure a room for a remodel
- Flooring remodel checklist
- Do I need a permit for flooring?
- Kitchen remodel checklist
- Do I need a permit for a kitchen remodel?
- Bathroom remodel checklist
- Do I need a permit for a bathroom remodel?
- Basement finishing checklist
- Do I need a permit for basement finishing?
- Deck remodel checklist
- Do I need a permit for a deck?
- Roof replacement checklist
- Do I need a permit for a roof replacement?
- Do I need a permit for a fence?
- Window replacement checklist
General information, not professional advice. Check the product label or the manufacturer’s spec before you buy.