Skip to content

Fence Calculator

Result

Sections21
Posts (single straight run)22
Rails63
Pickets (no gaps)500
Nominal fence face area90
↗ Construction

Fence Calculator — free online calculator.

Formula

Sections = ceil(length / post spacing); posts = sections + 1 for one straight run; rails = sections × rails per section; pickets = ceil(length / picket width) assuming no gaps; face area = length × height.
  • Estimate fence materials for one straight run with equal-length sections. Pickets assume no gaps and no waste; corner and end configurations may require adjustments. Enter length, spacing, width and height in consistent units.
  • The main inputs are Total Fence Length, Post Spacing, Rails per Section, Fence Height, Picket Width. Enter them in the units and format shown in the calculator.
  • Keep measurements and project assumptions consistent before comparing or combining values.
  • Changing any input above recalculates the result with the same calculation engine used by this page.

Example: Fence

Inputs
  • Total Fence Length: 50
  • Post Spacing: 2.4
  • Rails per Section: 3
  • Fence Height: 1.8
  • Picket Width: 0.1

At 50 m length, 2.4 m maximum post spacing, 3 rails per section, 1.8 m height and 0.1 m picket width: 21 sections, 22 posts, 63 rails, 500 pickets (no gaps) and 90 m² nominal face area.

Sample result: Calculating…

Frequently asked questions

What does the Fence calculate?

Fence Calculator — free online calculator.

Which values should I enter?

Enter Total Fence Length, Post Spacing, Rails per Section, Fence Height, Picket Width using the units and format shown beside each field.

What formula does this calculator use?

The calculator uses the following relationship: Sections = ceil(length / post spacing); posts = sections + 1 for one straight run; rails = sections × rails per section; pickets = ceil(length / picket width) assuming no gaps; face area = length × height..

Why might my result differ from another source?

Results can differ when another source uses different units, rounding rules, conventions or assumptions. Compare the inputs and definitions before comparing results.

Does the result update automatically?

Yes. Changing an input updates the result using the same calculation engine shown on this page.

Page information

Updated: October 10, 2026