What it does
This calculator turns the length of your fence into a shopping list. Enter each straight run, the fence height, how far apart the posts go and how many gates there are. It counts the posts (including the end and corner posts and the extra posts for gates), then the rails and pickets, or the ready-made panels if you prefer. It also works out the concrete for the post holes, in litres and in bags, and adds up the cost if you type prices.
It works in metric or imperial and runs in your browser. Local rules on height, boundaries and frost depth vary, so check the official source. When you pour the post footings, concrete calculator gives a second opinion on volume; for a boarded deck next to the fence use deck calculator, and cut list helps plan the cuts from long boards.
How to use it
- Choose metric or imperial.
- Add each straight run with its length and the number of gates in it. Pick whether the runs are separate, one continuous line, or a closed loop (corner posts are shared).
- Set height, post spacing, rails per bay, picket width and gap, or tick “ready-made panels”.
- Open “Post holes and concrete” for hole size and bag size, and “Prices” for a cost.
- Read the buy list. “Copy list” or “Download CSV” to take it to the shop.
What each setting does
- Gates: each gate takes its width out of the fence and adds a post beside it.
- Layout: separate runs have their own end posts; a continuous line shares the corner posts; a closed loop shares all of them.
- Panels: when ticked, panel width sets the post spacing and no rails or pickets are counted.
- Waste %: extra rails and pickets for cuts and mistakes (5% default).
Worked example
Two runs, 12 m and 8 m, in one continuous line, post spacing 2.4 m, no gates. The 12 m run needs 5 bays and 6 posts; the 8 m run needs 4 bays and 5 posts; they share the corner post, so 10 posts. With two rails per bay and 5% waste you need 42 m of rail, which is 18 lengths of 2.4 m. Pickets 90 mm wide with a 10 mm gap give 200 for 20 m, 210 with waste. Holes 300 mm across and 600 mm deep with 100 mm posts take 36.4 litres each: 364 litres, or 22 bags of 80 lb premix.
FAQs
How deep should post holes be? A third of the post’s length is a common rule, and below the local frost line in cold places. Your supplier or local rules decide.
Do I need concrete for every post? Not always; some soils and fence types use compacted gravel. This tool assumes concrete.
Does it count nails and screws? No. Allow about 2 fasteners per picket per rail.
Does it include fence height limits or permits? No, ask your local authority.
Where the numbers come from
- Post, rail, picket and panel counts are fibub's own arithmetic from the sizes you type: bays = run length / post spacing rounded up, posts = bays + 1 for each section, pickets = length / (picket width + gap) rounded up.
- Concrete per hole = (pi/4 x hole diameter squared - post width squared) x hole depth. Premix bag yields (80 lb about 0.60 cu ft, 60 lb about 0.45 cu ft) are from Quikrete's product data (quikrete.com, checked 2026-12-05); a 25 kg bag is taken as about 12 litres. Always check the bag. 1 cu ft = 28.3168 litres.
- Common rules used as defaults: posts every 2.4 m (8 ft), a post hole about a third as deep as the post is long (and below the frost line where it freezes), hole diameter about three times the post width. Planning rules, fence height limits, boundary law and frost depth are set by your local authority, so check the official source.
Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.
Read more on the Blog
Last updated 2026-12-05.