Fence Post Calculator

Find how many posts, rails and concrete bags you need for your fence. Free online estimates with gate layouts, material quantities and report-only printing. No sign-up.

Simple mode distributes fence evenly between the gates for estimating. Use detailed mode for actual gate positions. Gate spans include post/hinge allowances; they are not clear opening widths.

ft
ft
in
in
Detailed layout and rectangular perimeter

Detailed mode: one item per line, F length for a fence run, G length for a gate span, B for a separate open path. Adjacent items share one post. Each F-to-F junction is a forced post; the tool does not know the angle. Layout selects open paths or closed loops. In loop mode B is not supported. Rectangle mode ignores the simple gate count; enter gates in detailed mode instead.

Actual post dimensions, footings and depth checks

Nominal 4×4 and 6×6 use actual US dimensions of 3.5 and 5.5 inches. Verify your supplied material. Hole depth is total excavation; gravel and top recess reduce the concrete fill depth.

Depth helper compares the entered excavation with max(height × planning ratio + gravel, supplied local depth). It is not a code or structural design determination.

Reused posts must be suitable. Reuse is allocated to ordinary posts first, then gate posts. Spare posts do not increase concrete.

Concrete yield and purchasing

Use the actual mixed-volume yield printed on your product. Bag weight alone does not define yield. Standard bag presets are estimates, not universal specifications.

Pickets, rails, panels and fasteners

Pickets are counted separately per bay using approximate clear width. Rails use one unspliced stock piece per bay per rail level; offcut reuse is excluded. Panels are an alternative to loose rails and pickets, not an additional purchase.

Optional cost estimate

Prices are your inputs, not live quotations. Gravel, caps, bracing, rentals and permits must be included in other costs if needed.

Results update as you type. Estimates only — verify your product specifications, site conditions and local requirements. Blank or invalid values are not silently replaced.

Free Online Fence Post Calculator: Plan Posts, Gates and Materials

This free online fence post calculator turns measured fence runs into a practical quantity estimate. Calculate how many fence posts you need, the number of fence bays, rail and picket quantities, concrete per post hole, concrete bags, and a price-based project estimate. Choose feet and inches or metres and centimetres. The calculator also supports connected runs, actual gate positions, disconnected open paths, and rectangular fence perimeters.

The result separates posts required by the layout from posts to purchase. It counts shared endpoints once, distinguishes gate-adjacent posts from ordinary posts, and keeps reused posts and purchase spares separate from new concrete holes. The diagrams show the run sequence and footing geometry so you can check the assumptions before ordering materials.

How to Use the Fence Post and Spacing Calculator

  1. Measure the planned fence centreline. Identify corners, ends, gates and separate runs.
  2. Choose the input method. Simple mode estimates from a total length; detailed mode uses the real sequence; rectangle mode counts each side separately.
  3. Enter the maximum on-centre spacing allowed by your fence product or design. The tool divides each run into equal bays no longer than that spacing.
  4. Enter gate spans between post centres, rather than leaf width alone. Account for the actual posts, hinges and clearance in your measurements.
  5. Choose nominal post size or enter actual custom dimensions. Set excavation depth, hole cross-section, gravel and top recess.
  6. Enter product yield, allowances and optional material prices. Review the report warnings and quantities.
  7. Print or save the calculation report. The accompanying article and website navigation are excluded.

Changing unit systems converts the entered dimensions, custom concrete yield, run sequence and labor rate. It does not replace your measured layout with a new preset. Bag weights remain explicitly labeled. If detailed run text is invalid, the tool asks you to correct it before converting so that its numbers cannot be silently reinterpreted.

How Many Fence Posts Do I Need?

For one open straight run without a gate, calculate the number of bays by rounding the length divided by maximum spacing upward. Add one post for the starting endpoint. This is the familiar fence-post counting problem: every bay needs two endpoints, but neighboring bays share their middle post.

Fence bays = ceiling(run length ÷ maximum spacing).
Open-run posts = bays + 1.

A 100-foot straight fence with maximum spacing of 8 feet needs ceiling(100/8) = 13 bays and 14 posts. Equal bay spacing becomes 100/13 = approximately 7.692 feet. At 6-foot maximum spacing, the same run has 17 bays and 18 posts. The report includes comparison counts at 6, 8 and 10 feet to show the purchasing effect; it does not approve any of those spacings for your product.

Maximum Spacing Versus Actual Bay Spacing

Maximum spacing is a limit, while actual equal spacing is run length divided by the rounded-up bay count. A 25-foot run at an 8-foot maximum has four bays of 6.25 feet. The tool redistributes the run evenly rather than placing three 8-foot bays and a final 1-foot bay. Those approaches have the same basic post count but different cuts, appearance and installation details.

Some manufactured panels require a specific post-centre dimension instead of an adjustable maximum. Check the supplied bracket and panel dimensions. A nominal 8-foot panel does not necessarily use an 8-foot centre-to-centre span. The calculator's bay count assumes one panel opening per bay and does not simulate the manufacturer's cut restrictions or bracket offsets.

Gates Change the Fence Layout

A gate is an opening with a measured span, not automatically one standard fence section. Its location divides the remaining fence into separate runs that must be rounded independently. For example, F 48, G 4, F 48 with an 8-foot maximum has 12 fence bays, one gate span and 14 unique posts. Gate posts are already included; adding two more would count them twice.

If the same 4-foot gate is moved so that the fence runs become F 1 and F 95, the estimate changes to one bay plus 12 bays, one gate span and 15 posts. Total length and gate width are unchanged, but a different gate position forces another short bay. This is why a gate count alone cannot give an exact material list.

Simple Mode Assumptions

Simple mode uses one total centreline length, a gate count and a common gate span. It divides the remaining fence evenly among the fence runs on either side of and between gates. Use it for an initial estimate when gate locations are undecided. It rejects gate spans that consume the entire fence length. For a measured project, switch to detailed mode.

Detailed Connected Runs

Enter one item per line: F 48 for a fence run, G 4 for a gate span, and B to begin another disconnected open path. Values are in the current feet or metres. Adjacent items share an endpoint post. An F-to-F junction forces a post even if the runs could otherwise have been merged. This lets you represent corners and other fixed breaks without pretending that the tool knows your site's angles.

Use F 40, F 30 for a connected two-run fence with a shared junction. To estimate two separate fences, use F 40, B, F 30. The separate layout has an additional endpoint because its runs do not meet. Place gates in their actual sequence rather than subtracting gate width from one aggregated fence length. Up to 100 segments can be entered, subject to the displayed bay-count limits.

Closed Loops and Rectangular Fence Perimeters

A closed path shares its first and final endpoint, so it has one fewer post than the same sequence left open. But a total perimeter alone cannot locate corners. Rectangle mode calculates four individual sides and joins their endpoints; detailed loop mode allows custom sides and gates. Separate B breaks are not accepted in loop mode because there would be no single unambiguous closure.

For a 50-foot by 25-foot rectangle at an 8-foot maximum, the two long sides need seven bays each and the two short sides need four each. There are 22 bays and 22 unique posts. Dividing only the 150-foot perimeter by 8 gives 19, which overlooks the requirement for posts at the four corners. For an open sequence of the same four sides, there would be 23 posts.

Rectangle mode estimates an ungated perimeter. To add a gate, express its side as fence run, gate span and fence run in detailed mode, then enter the other sides and select closed loop. Gates on the same physical corner and branching intersections require a site-specific plan; this worksheet models sequential paths rather than arbitrary networks.

Fence Post Concrete Calculator: Actual Hole Geometry

Concrete volume is the filled hole volume minus the volume displaced by the embedded post. The tool accepts round or square holes, square or rectangular custom posts, and round solid or sealed sections. US nominal 4×4 and 6×6 presets use actual 3.5-inch and 5.5-inch square dimensions. Measure your material: regional timber sizes, rough-sawn posts, vinyl sleeves and metal sections can differ.

Concrete fill depth = total excavation − gravel base − unfilled top recess.
Round hole area = π × diameter² ÷ 4.
Square hole area = width².
Concrete volume per hole = (hole area − displaced post area) × fill depth.

For a rectangular post, displaced area is actual width times actual thickness. For a round solid or sealed post, it is π times diameter squared divided by four. A square post must fit diagonally inside a round hole: checking only one side is insufficient. The calculator rejects impossible post-hole combinations and rejects gravel plus recess that leave no concrete fill depth.

Open hollow posts that fill internally with concrete do not behave like sealed tubes. Irregular excavations, belled bases, sloped surfaces and concrete extending above grade also change volume. Estimate those geometries separately or adjust the specification with a qualified installer. This worksheet assumes a constant hole cross-section and a post seated on top of the gravel layer.

Worked Concrete and Bag Example

Consider 14 new ordinary posts, each an actual 3.5-inch square section, in an 8-inch diameter hole 30 inches deep. With no gravel or recess, each hole needs [π × 4² − 3.5²] × 30 ÷ 1,728 = approximately 0.6600 cubic feet of concrete. Fourteen holes total approximately 9.240 cubic feet. A 10% allowance gives approximately 10.164 cubic feet.

At an entered yield of 0.60 cubic feet per bag, pooled purchasing requires ceiling(10.164/0.60) = 17 bags. Rounding each hole separately requires ceiling(0.6600 × 1.10/0.60) = two bags per hole, or 28 bags. The larger count is a consequence of the chosen purchasing method, not extra physical hole volume. This example explains the arithmetic; its hole dimensions are not an installation recommendation.

How Many Bags of Concrete Per Fence Post?

Use the product's mixed-volume yield, not an assumed conversion from bag weight. The available US presets are 0.375 cubic feet for a 50-pound bag, 0.45 for a 60-pound bag and 0.60 for an 80-pound bag. Confirm the label before purchase. Custom yield supports different products and metric bags; enter the mixed cubic metres per bag in metric mode and the actual custom bag mass in kilograms.

Pooled rounding assumes that opened concrete can be used across the project within the product's working-time and installation constraints. Per-hole rounding is useful when allocating whole bags individually. Neither method authorizes storing mixed leftovers for later use or changes the manufacturer's water and curing instructions. Do not infer water demand from this volume calculator.

The concrete allowance covers your chosen purchasing margin for uneven holes, loss and measurement uncertainty. It is applied to concrete volume before bag rounding. The separate material allowance increases post, rail, picket, panel and fastener purchase counts. Neither allowance changes the physical spacing or the structural capacity of the finished fence.

Post Depth, Gravel and the Frost-Line Comparison

The depth helper compares your entered excavation with the larger of above-ground post height times your planning embedment ratio plus gravel depth, or your supplied local foundation depth. It also reports post embedment and the approximate total ordinary post length. A top recess reduces the concrete fill, while the post still extends through that unfilled zone; gravel beneath the post reduces its embedment.

Published installation guides distinguish above-ground height, burial and total post length. Confusing “one third of height” with “one third of total post length” produces different results. QUIKRETE's illustrated post-setting guide relates embedment to above-ground length and adds a gravel layer. Such guidance is a starting point for applicable projects, not a substitute for the local design.

Soil strength, water, frost conditions, fence height, wind exposure, gate loading and local requirements can demand different foundations. A zero local-depth input means you have not supplied a local requirement; it does not establish that no requirement applies. The comparison is a dimensional planning check and does not certify embedment, resistance to overturning, uplift or lateral loading.

Gate Posts, Reused Posts and Spare Posts

Gate-adjacent posts are counted as unique vertices. Two adjacent gate spans can share a post, so “two posts per gate” is not always the number of distinct posts. Different gate-post dimensions and footings can be entered with the gate-footing option. Wide, heavy or automated gates may also need bracing, reinforced foundations or a separate engineering design; the tool does not select those details.

Reused posts reduce the new post and hole quantities. The estimate allocates reuse to ordinary posts first, then gate posts, so the assumption is visible and reproducible. If your actual reused gate-post allocation differs, calculate separate projects or adjust the entered layout. Existing posts should be inspected for suitability, condition, alignment and connection requirements.

Spare posts are added to the ordinary post purchase count after allowance rounding. They receive no holes or concrete in the estimate. This distinction prevents a procurement buffer from accidentally increasing excavation and concrete quantities.

Rails, Pickets, Panels and Fasteners

Rails installed equal fence bays times rail levels. A three-rail fence with 13 bays needs 39 individual rails before allowance. The stock-length check assumes one unspliced piece per bay per level; it rejects stock shorter than a bay. Offcut reuse and structural splices are not assumed. The centreline rail length is a planning quantity; final cuts depend on attachment details.

The optional single-face picket estimate uses approximate clear bay width: centreline bay span minus ordinary post width. Picket count per bay is rounded up from (clear width + maximum gap) divided by (picket width + maximum gap). A boundary board may need trimming, and final gaps may be adjusted. Gate post width, bracket offsets, shrinkage, overlaps, slopes and double-sided shadowbox construction need additional checking.

Fasteners use your quantities per rail end and per picket per rail. They exclude gate hardware and miscellaneous bracing unless separately budgeted. Panel quantities are an alternative infill schedule: choose prefabricated panels for the cost estimate when you are not buying loose rails and pickets. Buying both schedules would double-count the fence infill.

Fence Types and Product-Specific Limits

Wood privacy and picket fences commonly use repeated rail-and-board bays, but chain-link top rail can be supplied in continuous lengths and needs terminal fittings and tension components. Vinyl panel kits have manufacturer-specific post and bracket dimensions. Split-rail sockets must suit the purchased rail length. Livestock wire, mesh and electric fencing require their own strainers, braces, tensioning and support details.

The fence-type selector identifies the project and triggers applicable interpretation notes; it does not choose a structurally acceptable spacing. Enter the manufacturer's approved value. Solid privacy fences can present substantial wind area, while gates apply forces differently from ordinary bays. Height, exposure and terrain matter alongside material type.

Fence Material Cost Estimate

Enter your local quoted prices for ordinary posts, gate posts, concrete bags, rail stock, pickets, panels and complete gate spans. Choose loose infill or panel infill. Add other materials, hardware, delivery and labor separately. A tax or markup percentage is applied to the entered subtotal as a simple allowance; actual tax treatment can differ between materials and labor.

The labor rate applies to fence-only length in the current feet or metres and excludes gate spans. Unit conversion preserves its total cost by converting the rate inversely to length. Prices are user inputs, not live market quotations. Gravel, caps, protective treatment, disposal, equipment, survey costs and permits need an explicit budget if applicable.

Print, Save PDF, CSV and TXT Reports

Print / Save PDF creates a separate report containing the quantities, calculation inputs, diagrams and limitations. Use the browser's Save as PDF destination to save it. The website header, footer, explanatory guide and navigation are excluded even when printing through the browser's normal print command. Invalid inputs produce an invalid-calculation notice instead of stale results.

CSV and TXT contain report data only. Copy report copies the same calculation information as text. The calculator's arithmetic runs in your browser and requires no sign-up. This describes the calculator logic; sitewide analytics, advertising and privacy practices are governed by the website's own policies.

Before Buying Materials or Digging

Frequently Asked Questions

How many fence posts do I need for 100 feet?

A single open 100-foot run without gates needs 14 posts at an 8-foot maximum spacing, or 18 posts at a 6-foot maximum. Corners and gate locations can change the count.

How far apart should fence posts be?

Use the spacing specified for your fence system and site conditions. The calculator treats it as a maximum on-centre spacing and divides each measured run into equal bays.

How many bags of concrete per fence post?

Calculate the filled hole volume minus the displaced post volume, apply your allowance, and divide by the actual product yield. Whole-project rounding and per-hole rounding can produce different purchase counts.

How deep should fence posts be buried?

Depth depends on the product, soil, wind, gates and local requirements. The helper compares your excavation against an entered planning ratio and local foundation depth; it does not establish an approved depth.

What is the difference between a straight run and an enclosed loop?

An open connected path has distinct start and end posts. A closed path shares those endpoints. A cornered perimeter must still be split into its actual sides.

Is this fence post calculator free?

Yes. This free online calculator requires no sign-up and performs its arithmetic in your browser. Sitewide privacy practices are governed by the website policies.

Are gate posts added on top of the post total?

No. Gate-adjacent posts are already included and counted once at shared endpoints. Enter actual gate spans and positions in detailed mode for a measured layout.

Does a 4×4 post measure four inches square?

The US nominal preset here uses an actual 3.5-inch square section. A nominal 6×6 uses 5.5 inches. Verify your supplied posts and use custom dimensions when appropriate.

Can I calculate a rectangular fence perimeter?

Yes. Rectangle mode rounds bays on each side separately and shares the corner posts. To add gates, enter the sides and gate spans in detailed closed-loop mode.

Why does per-hole rounding need more concrete bags?

Each hole is allocated a whole number of bags independently, so partial-bag capacity is not shared. Pooled purchasing rounds only the combined project volume.

Does printing include the explanatory article?

No. Print and Save PDF use a separate calculation report. CSV, TXT and Copy report also exclude the article and website navigation.

Can the tool estimate structural safety?

No. It estimates quantities and entered costs. Wind resistance, soil capacity, bracing, gate foundations and approved installation details require independent assessment.

Reference Basis and Disclaimer

Research benchmarks include Hoover Fence's Wood Fence Calculator, Inch Calculator's Fence Calculator and Measure & Build's Fence Calculator. Installation terminology was checked against QUIKRETE's Setting Posts in Concrete guide and its fast-setting concrete technical information. Sources are named here without changing the website's existing link destinations: hooverfence.com/calculators/wood-fence; inchcalculator.com/fence-calculator; measureandbuild.com/fence-calculator; quikrete.com/athome/setting-posts.pdf.

Disclaimer: This free online fence post calculator provides preliminary quantities and user-price estimates. It is not a boundary survey, structural design, building-code approval, installation specification or professional quotation. Results depend on your measurements, product data and stated assumptions. Verify post spacing, panel fit, wind and soil conditions, foundations, gate loads, actual concrete yield, buried utilities and applicable local requirements before purchasing materials or excavating.