Fence Material Calculator

Plan panels and posts across fence runs with positioned gates, shared corners and cut sections.

On-device No sign-up Free to use

Plan fence materials controls

Showing an example. Edit to see your own.

?

All dimensions use this unit. Re-enter dimensions and any area-based coverage when changing units.

?

One row per line; columns separated by |: start | end | length | gates. Up to 100 rows. Use plain decimals, without thousands separators.

?

Run lengths and gate spans must use the same post-center convention. No post-width deduction is added.

Processed in your browser. Your inputs stay on this device.

Result

Showing an example.

Two runs sharing endpoint B: a 10 meter run with a 1 meter gate at position 4, and a 6 meter run.

8 panels, 10 posts and 1 gate

https://usefreetools.net/fence-material-calculator · 20 November 2026

Was this helpful?

How to use Fence Material Calculator

  1. Choose one length unit. Enter runs as start label | end label | length | gates; reuse an endpoint label only for the same physical shared post.
  2. Write none for no gates. Otherwise enter position:width pairs separated by commas, such as 4:1, 8:0.5. Positions are measured from that row’s start endpoint.
  3. Enter panel span, run lengths and gate widths using the same post-center convention. The tool makes no separate post-width deduction.
  4. Calculate and review cuts, shared posts and gates. Download calculation.csv and layout-plan.json, then check the required hardware and construction details separately.

Example: Fence Material Calculator

Two runs sharing endpoint B: a 10 meter run with a 1 meter gate at position 4, and a 6 meter run.

You add
unit: m; runs: A | B | 10 | 4:1 B | C | 6 | none; panel: 2
You get
8 panels, 10 posts and 1 gate

Supported inputs and limits

  • Up to 100 runs in a list of at most 100,000 characters, 40 gates per run and 2,000 panel pieces in total.
  • Enter plain decimals in one length unit.
  • Changing the unit does not convert the numbers.
  • Each run needs two distinct endpoints and a unique endpoint pair; gates must fit without overlap.
  • Only matching endpoint labels share posts.
More details

Geometric crossings are not detected, and intermediate posts belong to their own run.

Each clear section gets its own panel allocation, with a cut at its end when needed; offcuts are not reused.

Post lengths, footings, hinges, reinforcement, fencing rules and structural suitability are excluded.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

Questions about Fence Material Calculator

How do shared corners affect the post count?

Matching endpoint labels refer to the same post, so a corner between two runs is counted once. Intermediate run posts remain separate.

Why do gates need positions as well as widths?

A gate divides a run into clear sections. Each section needs its own panel allocation and may create a different cut length.

Do entered lengths include post widths?

Use distances between post centers, with gate spans in that same convention. The calculation does not deduct a separate post width.

Page updated · Project managed by Tony Hines · Report a problem with Fence Material Calculator