What Is a Fence Panel Calculator?
A fence panel calculator works out how many fence panels, posts, rails and slats you need for a fence run, plus the concrete bags to set the posts. Instead of guessing how many panels to order, you enter the fence length and the calculator returns a full material list — including spare panels, corner posts and gate openings.
Ordering the wrong number of fence panels is expensive. Panels are sold in fixed sizes, so cutting them for a short fence wastes material, and running short mid-build means a second trip to the yard. This tool handles the arithmetic in one place, for any panel width or post spacing.
It's built for homeowners, DIY fence builders and landscaping contractors. Whether you're fencing a garden boundary, a driveway or a long field edge, the calculator adapts to panel size, panel type and post spacing. If you're also planning concrete for the footings, see our concrete footing calculator.
Fence Formulas
Everything on this page comes from a short chain of formulas. They're worth knowing so you can sanity-check any quote.
Step 1: Number of panels
Add 1 spare panel for waste and future repairs
Step 2: Number of posts
Add extra for corners and gate posts
Step 3: Rails
Usually 2 or 3 rails per panel
Step 4: Slats
Total slats = slats per panel × panels
Step 5: Concrete
Then divide by bag size to get bag count
Worked example: 20 m fence with 1.83 m panels
- Panels: ceil(20 ÷ 1.83) = 11, plus 1 spare = 12
- Posts: 11 + 1 = 12 (plus corners if any)
- Rails (3 per panel): 11 × 3 = 33
- Slats (100 mm slats + 10 mm gap): floor(1830 ÷ 110) = 16 per panel, × 11 = 176
- Concrete (0.03 m³ per post): 12 × 0.03 × 1.10 = 0.396 m³ = 24 bags of 80 lb
Sanity checkPanels come in fixed widths — usually 1.83 m (6 ft). If your fence length divides neatly into whole panels, you'll have no cutting. If it leaves a remainder, that remainder is cut off the last panel.
How to Use the Fence Panel Calculator
- 1Measure the fence runEnter the total length of fencing and how many sides of the boundary you are fencing. You can add gate openings too.
- 2Pick your panel widthStandard panels are 1.83 m (6 ft) wide. Enter your panel width if you are using a different size.
- 3Set post spacingPosts go at every panel joint. The calculator tells you how many you need including corner and end posts.
- 4Choose rails and slatsStandard panels have 2 or 3 rails and 8 to 16 slats per panel. Pick the numbers that match your panel style.
- 5Add concrete per postConcrete sets each post into the ground. Enter how much you use per post (usually 0.02 to 0.05 m³).
- 6Read or download the resultResults update live. Copy the summary, download as CSV, or print a PDF for your supplier.
Standard Fence Panel Sizes
Fence panels come in a small range of standard sizes. The width is the most important number, because it decides how many panels fit along a run.
| Panel width | Panel height | Best for |
|---|---|---|
| 1.83 m (6 ft) | 0.9 m (3 ft) | Low decorative garden fencing |
| 1.83 m (6 ft) | 1.2 m (4 ft) | Front garden boundaries |
| 1.83 m (6 ft) | 1.5 m (5 ft) | Side gates and low privacy fencing |
| 1.83 m (6 ft) | 1.83 m (6 ft) | Standard privacy fence — most common |
| 2.4 m (8 ft) | 1.83 m (6 ft) | Long runs, US-style fences |
For taller fences, panels up to 2.4 m high exist but usually need planning permission in the UK. In the US, most local codes cap fence height at 6 ft for rear gardens and 3 to 4 ft for front gardens.
Post spacing equals panel widthBecause posts sit between panels, the spacing between posts is the same as the panel width. This is why the calculator treats posts and panels as interchangeable — one more post than panel.
Post Depth and Concrete
Fence posts stay solid when they're buried deeply enough and set in concrete. Getting this wrong is the most common reason fences lean or blow over in strong wind.
How deep to dig
- Rule of thumb: bury one third of the post's above-ground height. For a 1.8 m post, that's 0.6 m.
- Frost line: always go deeper than the frost line in your area, otherwise soil movement will lift the post out of the ground each winter.
- Heavy fence or strong wind: go 0.75 to 0.9 m deep for extra stability.
How much concrete per post
The hole for a wooden 100 × 100 mm (4 × 4 in) post is usually 200 to 250 mm (8 to 10 in) diameter. At 0.6 m deep, that's roughly 0.03 m³ (about 1 cubic foot) of concrete per post — one 50 kg or 80 lb bag.
| Hole diameter | Depth | Concrete per post | 80 lb bags |
|---|---|---|---|
| 200 mm (8 in) | 0.6 m (2 ft) | 0.019 m³ | 1.1 bags |
| 250 mm (10 in) | 0.6 m (2 ft) | 0.030 m³ | 1.8 bags |
| 250 mm (10 in) | 0.9 m (3 ft) | 0.044 m³ | 2.6 bags |
| 300 mm (12 in) | 0.9 m (3 ft) | 0.064 m³ | 3.7 bags |
For more concrete volume planning — footings, pads and slabs — see our concrete calculator and concrete bag calculator.
Fence Panel Types
The panel type affects how many slats, how much timber, and how much privacy the fence gives.
| Panel type | Description | Privacy | Cost |
|---|---|---|---|
| Close-board | Solid vertical boards, no gaps | Highest | Medium |
| Lap / overlap | Horizontal boards overlapping | High | Low |
| Picket | Vertical slats with gaps | Low | Low |
| Slatted | Horizontal slats with fixed gaps | Medium | Medium |
| Decorative trellis-top | Solid lower section, trellis above | Medium | High |
The calculator adjusts slat counts based on slat width and gap. Close-board panels use a 0 mm gap, giving 18 to 20 slats per panel at 100 mm width. Picket panels with a 50 mm gap give about 12 pickets per panel at 100 mm width.
Common Fence Estimating Mistakes
- Forgetting spare panels. Always buy at least one extra panel for cuts and future repairs.
- Too shallow post holes. Posts less than 0.6 m deep in soil will lean within a season. Go deeper.
- Not enough posts at corners. Each corner needs a stronger post, and often a diagonal brace for stability.
- Mixing units. Panels are usually 1.83 m or 6 ft. Measuring the fence in metres but buying 6 ft panels gives an awkward cut at the end.
- Forgetting gate posts. Gate posts carry more weight than fence posts and need to be heavier, deeper and set in more concrete.
- No concrete in soft soil. Posts in clay or sandy soil need concrete. Skipping it leads to rocking and eventually collapse.
- Ignoring planning rules. Fences over 2 m, or on a boundary next to a road, often need permission.
- Underestimating concrete. Small concrete bags have limited yield. Add 10 percent for spillage and shortfalls.
- Fencing in winter. Cold weather slows concrete curing. In very cold weather, use a winter-grade mix or wait.
- Skipping the soakaway. Posts at the bottom of slopes sit in water and rot faster. Use a post saver or set them in concrete above a gravel drainage layer.
Check local fence height rulesIn the UK, planning permission is often needed for fences over 2 m (or 1 m if next to a highway). In the US, city and HOA rules vary widely. Always check before building tall fences.
Frequently Asked Questions
How many fence panels do I need?
Divide the total fence length by the panel width, then round up. For a 20 m fence with 1.83 m panels: 20 ÷ 1.83 = 10.9, so 11 panels. Add one spare panel for cutting at ends or for future repairs. The calculator above does this instantly.
How many fence posts do I need?
You need one more post than you have panels, if posts are at every joint. For 11 panels you need 12 posts. Add extra posts if the fence changes direction (corners) or ends, since each corner needs a stronger post.
How deep should fence posts be?
Fence posts should be buried at least one third of their above-ground height, and always below the frost line. For a 1.8 m (6 ft) fence, dig 0.6 m (2 ft) holes. In colder regions, go 0.75 to 0.9 m (2.5 to 3 ft) deep.
How much concrete per fence post?
A typical 100 mm (4 in) post in a 200 to 250 mm (8 to 10 in) diameter hole at 0.6 m deep needs about 0.03 m³ (1 ft³) of concrete. That is one 50 kg or 80 lb bag per post. Larger or deeper holes need more.
What is the standard fence panel size?
In the UK the standard panel is 1.83 m wide by 1.83 m high (6 ft × 6 ft). In the US, panels are usually 6 ft or 8 ft wide by 6 ft high. The calculator supports any width you enter.
How many rails per fence panel?
Standard panels use 2 rails (top and bottom). Stronger or taller panels use 3 rails (top, middle, bottom). Rail length equals the panel width, so you need the same number of rails as panels, times the rails per panel.
How many fence slats are in a panel?
A 1.83 m wide panel with 100 mm (4 in) slats and 10 mm (3/8 in) gaps contains about 16 slats. Narrower slats (75 mm) give 22 to 24 slats per panel. The calculator estimates slats from your panel width and slat width.
How much concrete do I need for a whole fence?
Multiply the concrete per post by the number of posts. For 12 posts at 0.03 m³ each, you need 0.36 m³, which is about 12 bags of 50 kg concrete mix, or 16 bags of 80 lb mix. Add 10% for spillage.
Should fence posts be set in concrete?
Yes, for most fences. Concrete holds the post firm against wind and prevents it rocking loose over time. Posts in soft soil or on slopes absolutely need concrete. On very free-draining gravel, some fences use compacted hardcore instead, but it is less durable.
What gap should I leave between fence panels?
Panels usually sit snugly against each post with a small 5 mm gap for expansion. Do not leave large gaps — they weaken the fence and let wind through. Some close-board fences have vertical boards with 5 to 10 mm gaps between boards for ventilation.
How tall can a fence be?
In the UK, most garden fences are limited to 2 m (6 ft 6 in) without planning permission. In the US, local rules vary by city and state. Always check local code before building a tall fence, especially near a road.
Can I use this calculator for a picket fence?
Yes. Enter the same panel dimensions and set the slats per panel to match your picket spacing. For picket fences the pickets are usually 75 mm wide with a 50 mm gap, so a 1.83 m panel holds about 14 pickets.
More Calculators
Estimates are for planning only and do not replace advice from a licensed installer or your supplier. For further reading, see the UK Timber Trade Federation or the American Fence Association.