Free calculator No sign-up needed

ROOFING & EXTERIOR

Fence Panel Calculator

Work out exactly what this job needs, quantities, waste and all, then read the full guide below. This calculator is paired with its step-by-step guide in the Project Journal.

Fence Panel Calculator

This calculator needs JavaScript to run. If JavaScript is turned on and you still see this message, reload the page or try a different browser.

Example values are pre-filled. Replace them with your own measurements and the details from your supplier.

Fence run

In metres (m). Measure along the line of the fence, following any slope or step in the ground.

In metres (m). The width of one panel as sold, usually 1.8 m or 6 ft.

Your estimate

Enter your measurements and choose “Calculate fence panel”. Your estimate and a full breakdown will appear here.

Save to My Projects

Print / PDF view shows a clean result-only sheet for printing or saving as a PDF. Saved results appear under My Projects and in your dashboard. Saving needs a free account.

Do more with Pro

Save this result into a whole-home project with folders, export a PDF pack and share it with your builder on one link.

$4.99 /mo · Yearly $49.90 (10 months + 2 free, max 1 year)

See BuildNook Pro

For a fence 24 m long with panels 1.8 m wide, you need 14 panels and 15 posts. Divide the fence length by the panel width and round up, then add one to get the number of posts, since every run needs a post at each end. A run that divides exactly still needs the extra end post.

Introduction

Fence panels are the quickest way to build a boundary, because each panel covers a wide run in one lift. The count looks simple, yet it catches many people out, because the number of posts is always one more than the number of panels, and a run that does not divide neatly still needs a full panel at the end. The calculator handles both figures at once, so you order panels and posts together.

Panels come in standard widths, most commonly 1.8 m, and the posts that hold them can be timber or concrete. Concrete posts last longer and never rot at ground level, while timber posts are lighter and easier to cut. Either way, the count is the same, and the posts are set before the panels go in.

This guide shows you how to measure a fence run, how to deal with a run that does not divide neatly, and how to plan posts, gravel boards and fixings. The worked example uses a 24 m fence and 1.8 m panels.

How to use this calculator

Open the calculator above and check the example values that are already filled in. Replace each one with your own measurement, using the same units all the way through, and choose metric or imperial at the top of the form to match the tape you are using. Press the calculate button and the headline result appears at the top of the result panel, with a full breakdown underneath that shows every step of the working. If a field is wrong, the form marks it and explains what to fix, and the result only appears once every field is valid. You can print the result for the supplier or save it with the rest of the job paperwork, and the reset button restores the example values if you want to start again.

How to measure and what you need

Measure along the line of the fence, not in a straight line across the garden, because a fence that follows a slope or steps down a hill is longer than the flat distance between its ends. Walk the line with a tape and write down each run between corners.

  • Measure each straight run of fence separately, from corner to corner or from end to end.
  • Note any slope or step in the ground, since stepped panels need the same count but different post heights.
  • Measure the panel width as sold, usually 1.8 m, and check whether your supplier sells narrower panels for awkward gaps.
  • Count the corners and ends, since each one needs a post and may need a different fixing.
  • Check for gates in the run, because a gate replaces one or more panels and needs its own posts.
  • Mark the post positions on the ground with pegs, so you can see the spacing before you dig.

How this estimate is calculated

The formula has two parts. Panels equal fence length divided by panel width, rounded up to the next whole panel. Posts equal panels plus one. The rounding matters, because a fence of 13.33 panels still needs 14 panels, and the last panel is cut down or the spacing is adjusted to fit. If a run has a gate, subtract the gate width from the fence length before you divide.

Worked example, step by step:

  1. Step 1: take the fence length. In the example the run is 24 m.
  2. Step 2: divide by the panel width. 24 m divided by 1.8 m gives 13.33 panels.
  3. Step 3: round up to the next whole panel. The order is 14 panels.
  4. Step 4: work out the posts. 14 panels plus 1 gives 15 posts.
  5. Step 5: check the fit. Fourteen panels cover 25.2 m, so the last panel is cut or the gaps are spread slightly to absorb the extra 1.2 m.

The calculator rounds counts of boards, packs, panels, blocks, bags, pavers and slabs up to the next whole unit, because a part unit still has to be bought whole. Volumes and weights are shown to two decimal places, which is precise enough for ordering without pretending to an accuracy the tape measure cannot support.

Step by step

  1. Measure the fence run and the panel width, enter them in the calculator, and note the panel and post counts.
  2. Choose timber or concrete posts, and decide whether gravel boards are needed to keep panels off the ground.
  3. Order the panels, posts, gravel boards, fixings and concrete for the post holes.
  4. Mark the post positions, dig the holes, and set the end and corner posts first, checking they are plumb.
  5. Set the remaining posts in line, using a string line to keep them straight and evenly spaced.
  6. Fix the gravel boards, slot or fix the panels between the posts, and check the whole run is level before the concrete sets.

Materials and costs

The table below lists the materials the job usually needs, with notes on what each one does.

Material Notes
Fence panels Closeboard, overlap or trellis top, in the width you measured.
Posts Timber or concrete, long enough for the panel height plus the buried depth.
Gravel boards Protect the bottom of the panels from damp and soil splash.
Post mix or concrete Sets the posts firm, ready mixed bags are easiest for small runs.
Fixings and caps Brackets, screws and post caps to finish the job neatly.

Prices vary by panel type and region, and the figures here are illustrative examples to help you budget, not surveyed market prices. A standard 1.8 m by 1.8 m timber panel often costs around $35 to $70, or about £30 to £60, or about €35 to €65, while a concrete post often costs around $15 to $30, or about £12 to £25, or about €15 to €28. Gravel boards add a modest amount per bay, often around $8 to $15, or about £7 to £13, or about €8 to €14.

Labour for a straight run is usually charged per bay or per day, and a two person crew can often set a full garden fence in a day or two. Get quotes that list panels, posts, gravel boards and concrete separately, and check whether old fence removal is included.

Order in good time, since delivery times vary and a short order can stall a job for days. Check the order against the breakdown, not just the headline, so you can see where each figure came from. Store boards, packs and bags flat, dry and off the ground, and keep them out of direct sun and rain until they are fitted. Keep spare units after the job for repairs, since a matching batch or colour may be hard to find later, and keep the receipt and any guarantee paperwork with the spare stock.

Common mistakes

  • Counting posts equal to panels: A run always needs one more post than panels. Forgetting the last post means a panel with nothing to fix to at the end.
  • Rounding panels down: A count of 13.33 panels means 14 panels. Rounding down leaves a gap at the end of the run.
  • Measuring the flat distance on a slope: A fence that steps down a slope is longer than the flat distance. Measure along the fence line itself.
  • Setting posts before checking the line: Posts set without a string line wander off straight. Set the end posts first and pull a line between them.
  • Skipping gravel boards: Panels sitting on damp soil rot from the bottom up. Gravel boards lift them clear and are cheap to replace.
  • Forgetting the gate: A gate needs its own posts and hardware, and it replaces panels in the count. Plan its position before you order.

Safety notes

Work safely, especially where the job involves height, heavy lifting or power tools. Use a stable ladder or tower for work at the eaves, never lean out from a ladder to reach a measurement, and ask a helper to foot the ladder while you measure. Wear gloves, eye protection and a dust mask where the material calls for it, and lift heavy packs and boards with your legs, not your back. If the job involves a tall wall, a steep roof or work near power lines, get a professional in rather than taking a risk. Check local building rules before you start, since heights, boundaries and drainage all have rules that vary by area, and a quick check now is cheaper than redoing finished work.

Frequently asked questions

How many panels do I need for a 30 m fence?

Divide 30 m by the panel width. With 1.8 m panels that is 16.67, rounded up to 17 panels, and 18 posts.

Can I cut a fence panel to fit?

Yes, timber panels can be cut down in width, and the cut edge should be treated. Concrete posts with slotted panels need the panel cut to fit the slot.

How deep should fence posts be?

A common rule is to bury a third of the post, so a 1.8 m fence needs posts about 2.4 m long with 0.6 m in the ground. Check local guidance for windy sites.

Should I use timber or concrete posts?

Concrete posts last longer and do not rot, while timber posts are lighter, cheaper and easier to cut. Many people use concrete posts with timber panels.

Do I need planning permission for a fence?

Rules vary by area and by height, especially beside roads. Check local rules before you build, particularly for fences over 2 m.

How do I space panels on a slope?

Step the panels down the slope, keeping each panel level, or rack them to follow the slope if the panel design allows it.

A fence is only as good as its posts, so count the extra post, set the line straight, and keep the panels off the ground.