Favorite places of your favorite city
Home
Add to preferred sources on Google

Fence Post Spacing Calculator

Find the total posts and equal centre-to-centre spacing for one straight run. Enter the length between the two endpoint-post centres and a chosen maximum spacing. Both end posts are included; no spacing is recommended for your fence.

Measurements

Measure from the centre of the first end post to the centre of the last.

Enter your chosen upper limit; this calculator does not recommend a spacing.

Enter a positive decimal with up to six decimal places, no greater than 1,000,000,000. Changing a unit reinterprets the number you entered.

Total posts, including both ends

Enter both measurements to see the result.

One straight run; both endpoint posts included. Centre layout only—not a panel-fit or structural check.

Calculation details

How to calculate posts and equal spacing

  1. Enter the run length from the centre of the first end post to the centre of the last. Choose the matching unit. Outside-edge measurements and clear openings are not the same length.
  2. Enter the maximum centre-to-centre spacing chosen for your plan. Its unit is independent of the run unit. The calculator does not choose a suitable maximum or check a fence design.
  3. Read total posts, equal intervals and spacing. Both end posts count toward the total. Use Same as run or choose another spacing unit; open Calculation details for the exact run-divided-by-intervals expression.

Why the count includes one more post

The number of intervals is run length divided by maximum spacing, rounded up to a whole interval. Total posts equals intervals plus one because an open straight run has a post at both ends.

Dividing the run equally across those intervals gives spacing no greater than the entered maximum. The maximum is a limit, not an exact fixed panel width or a preferred gap. No post width is subtracted.

The displayed spacing is rounded down to at most three decimal places in its selected unit. Very small positive spacing is shown as less than 0.001 unit, never zero. Counts use the original entered measurements, not the rounded spacing.

Exact spacing is the original run divided by the interval count. Repeatedly stepping out the rounded display value can move the last position away from the entered endpoint. This page is a layout-count aid, not a detailed setting-out or construction plan.

Worked straight-run examples

For a 100 ft run and an 8 ft maximum, 100 ÷ 8 is 12.5. Round up to 13 intervals, giving 14 total posts. Equal spacing is 100 ÷ 13 ft, displayed as about 7.692 ft after downward display rounding.

For a 96 ft run and the same chosen 8 ft maximum, there are 12 intervals and 13 total posts. The exact equal spacing is 8 ft. These maximum values are arithmetic examples, not installation recommendations.

A 30 m run with a chosen 2.4 m maximum needs 13 intervals and 14 total posts. Exact spacing is 30 ÷ 13 m; the displayed spacing is about 2.307 m. If the maximum is at least the run length, the result is one interval and two posts.

One open run, not a complete fence design

The tool counts one straight run between endpoint centres. Gates, corners, closed loops, shared endpoints and fixed existing intermediate posts are not modelled. Do not blindly sum runs and count a shared post twice. A total post count is not automatically a new-post shopping quantity.

It does not check panel or rail fit, post widths, height, loads, ground conditions, foundations, property boundaries or code and structural requirements. A maximum entered here is not a recommendation or a guarantee that a fence will be suitable.

Browser-side calculation

The calculator performs arithmetic in your browser and does not intentionally upload or save these inputs. Copy result uses the clipboard only when requested. Normal site services and consent settings remain separate.

Fence post count questions

Yes. A straight open run has one more post than intervals. Calculation details also shows the intermediate positions, equal to intervals minus one. The tool does not assess or subtract usable existing posts.

No. Centre spacing is measured between post centres; a clear gap is between their faces. This calculator uses centre distances and does not ask for post width or convert outside-edge measurements.

No. Equal centre spacing must not exceed your entered maximum, but it need not match a fixed panel width, bracket allowance or clear opening. Panel compatibility and material quantities need their own layout information.

No. Enter the maximum required by your chosen plan or product information. The calculator supplies arithmetic, not material, site, wind, structural or code advice. Example values are not recommendations.

Sources

These sources explain the arithmetic and unit conversions used here.

Checked 27 October 2026.

These sources do not certify a fence design or recommend the spacing entered here.

Picture Hanging & Frame Spacing Calculator

Calculate frame edges, even row spacing and placement above furniture in cm or inches. Optional support-point heights are clearly distinguished from fixing holes.

Open tool — Picture Hanging & Frame Spacing Calculator

Board & Batten Spacing Calculator

Plan evenly spaced decorative battens from a measured wall section and actual strip width.

Open tool — Board & Batten Spacing Calculator

Curtain Width & Panel Calculator

Plan flat curtain width, panels and packs, or check curtains you own.

Open tool — Curtain Width & Panel Calculator

Tablecloth Size & Fit Calculator

Find a finished tablecloth size or compare up to three cloths with your measured table.

Open tool — Tablecloth Size & Fit Calculator

Frame & Mat Size Calculator

Choose a frame or size a single-opening mat for a measured artwork sheet.

Open tool — Frame & Mat Size Calculator

Window Screen Mesh & Material Calculator

Find the mesh cut size from three measurements, then optionally plan complete rolls and separately measured retaining cord for identical rectangular screens.

Open tool — Window Screen Mesh & Material Calculator

Flooring Pack Calculator

Calculate whole flooring packs from area and coverage per pack, with an optional extra percentage you choose.

Open tool — Flooring Pack Calculator

Bucket Test Flow Rate Calculator

Measure tap or hose flow from water collected and elapsed seconds. Supports litres, millilitres, US gallons and Imperial gallons.

Open tool — Bucket Test Flow Rate Calculator

Rug Pad Size Calculator

Calculate a rectangular rug pad cut size from actual rug dimensions and inset per edge. Supports cm, inches and feet.

Open tool — Rug Pad Size Calculator

Tank Fill Time Calculator

Estimate tank or pool filling time from the volume to add and measured flow, with optional water use.

Open tool — Tank Fill Time Calculator

Rectangle Area Calculator

Find the area of a rectangle or square from two measurements, including mixed units and feet and inches.

Open tool — Rectangle Area Calculator

Board Foot Calculator

Calculate lumber volume from thickness, width, length and the number of identical boards, with inch fractions or metric units.

Open tool — Board Foot Calculator

Concrete Calculator

Estimate concrete volume and bags from pour dimensions and stated mixed yield.

Open tool — Concrete Calculator

Roof Pitch Calculator

Convert roof rise and horizontal run or a known angle into pitch, degrees or percent grade.

Open tool — Roof Pitch Calculator

Paint Calculator

Estimate paint volume from net surface area, coverage per coat and number of coats.

Open tool — Paint Calculator

Grout Calculator

Estimate dry grout powder from tile joints, area and a product coverage factor, with a separate allowance and optional whole-bag estimate.

Open tool — Grout Calculator

Wallpaper Roll Calculator

Estimate wallpaper rolls from wall widths, height and roll dimensions. Include trim, straight or half-drop repeats, with clear allowances and whole-roll counts.

Open tool — Wallpaper Roll Calculator
View all tools in this category