Updated · Built and checked by the PlinzoTools team, formulas tested against published sources
Calculate how many fence panels or individual pickets and rails you need for your total fence length.
14
This calculator sizes the actual fencing material -- either pre-built panels, or individual pickets and rails if you're building board-by-board -- separately from post spacing (see the Fence Post Calculator for that distinct structural question).
Choose Pre-Built Panels or Individual Pickets. For panels, enter your total fence length and the panel's width. For pickets, enter the picket width, the gap between pickets (0 for a solid privacy fence), and how many horizontal rails each section uses (2 is typical for a standard fence, 3 for a taller privacy fence).
Panels = ROUNDUP((Fence Length ÷ Panel Width) × (1 + Waste))
Pickets per Foot = 12 ÷ (Picket Width in + Gap in)
Pickets = ROUNDUP(Fence Length × Pickets per Foot × (1 + Waste))
Once you know your fencing material quantity, pair it with the Fence Post Calculator for post count and concrete, then the Fence Cost Calculator to combine both into a full cost estimate.
Pre-built panels are faster to install and easy to count, but they come in fixed widths, so the fence length rarely divides evenly. Pickets built board by board give you more flexibility in style and let you handle uneven ground, curves, and odd lengths, but they take more labor. The calculator supports both so you can compare the material quantities before committing.
Suppose a hypothetical fence run totals 96 feet and you plan to use 8-foot panels with 10 percent waste. The unrounded count is 96 / 8 = 12 panels, and with waste the calculation becomes ROUNDUP(12 x 1.1) = 14 panels. Because a panel cannot be bought in part, the last panel is often cut down to fit the final bay. If your run is 100 feet instead, 100 / 8 = 12.5, and rounding up with waste gives 14 or 15 panels depending on the percentage, so it is worth checking whether the last section would be a short custom bay.
Panels = ROUNDUP((Length ÷ Panel Width) × (1 + Waste))
With a solid privacy fence, the gap is zero and each picket occupies only its own width. For a 5.5 inch picket, that is about 2.18 pickets per foot. Add a half-inch gap and the effective width becomes 6 inches, which is exactly 2 pickets per foot. A wider decorative gap of 2 inches gives 12 / 7.5 = 1.6 pickets per foot, a big drop in material. If your fence is a spaced design, always enter the real gap you plan to leave between boards.
The rails input tells you how many horizontal runs each section carries. Horizontal rails are what pickets are nailed or screwed to, so the count affects how much lumber you buy for the frame as well as how many fasteners you use. As a planning point, each picket needs at least two fasteners per rail, so a 3-rail fence uses more hardware than a 2-rail fence. Check the fastener requirements for your fence type and any local rules about fence height.
Set the gap to 0 -- the calculator will then compute pickets based purely on the picket width, with no spacing between them.
2 rails is standard for most 4-6ft fences; taller privacy fences (7-8ft) often use 3 rails for added rigidity.
Yes. Subtract the gate opening from the total run, then buy the gate separately.
Corners use the same pickets as straight runs, but the fence length should be measured along the fence line so both legs are counted.
Not directly. The calculator is built for panel and picket styles. Chain link is sold by the roll, so you would divide length by roll length instead.
Ten percent is a common default. Increase it if you have many angled cuts or if you want to pick out the best boards and reject defective ones.