Enter the total fence length, panel width, gate widths, rails per section and concrete per post, and get sections, posts, panels, rails and concrete bags for a single straight run.
Estimate only, for a single straight run. Corners, slopes and multiple runs change the post count.
Gate widths are subtracted from the total length first, since a gate opening is framed separately rather than filled with panels. The remaining length divided by the panel width, rounded up, gives the number of sections, which is also the number of panels. For a single straight run, posts are sections plus one, because each run has a post at both ends and shares posts between sections. Rails are sections multiplied by the rails per section, and concrete is the post count multiplied by the bags per post, rounded up to whole bags. This is an estimate for a single straight run: every corner or change of direction adds a post, each separate run adds its own end post, and sloped ground fitted with stepped panels can change section counts.
How many fence panels are needed for a fence? Subtract the total gate width from the fence length, divide by the panel width and round up. A 100 ft fence with a 4 ft gate and 6 ft panels needs 96 divided by 6, which is 16 panels for a single straight run.
Why are posts one more than the number of sections? Sections share posts: two sections in a line need three posts, one at each end and one shared in the middle. That sections-plus-one rule holds for a single straight run; corners and separate runs each add posts.
How much concrete does each post need? It depends on hole size, post size and soil, which is why bags per post is an editable input with a default of one bag. Deep or wide holes in soft ground can take two bags or more per post.