Your fence length in — exact panels, posts, and the concrete needed for every post hole, out.
Standard UK fence panels come in 1.83m (6ft) widths. A 20m run divided by 1.83m gives 10.9 panels — since you can't buy a fraction of a panel, you round up to 11, which actually covers 20.13m, slightly more than your original measurement. This is completely normal and why fence runs are almost never buildable to an exact metre figure.
Every panel needs a post on each side, and adjacent panels share a post — so a straight run of N panels needs N+1 posts, not N×2. An 11-panel fence needs 12 posts, not 22.
A 20m fence with standard 1.83m panels needs 11 panels and 12 posts, covering an actual 20.13m. Each 300mm-diameter, 600mm-deep post hole needs about 0.042 m³ of concrete — across 12 posts that's 0.51 m³ total, roughly 43 bags of 25kg concrete mix.
Inputs: fence length in metres, panel width in metres (1.83 m is the standard 6 ft UK panel), post hole diameter in metres and post hole depth in millimetres. The run is assumed to be straight.
Panels = fence length ÷ panel width, rounded up
Posts = panels + 1
Actual fence length (m) = panels × panel width — the run you end up with once the panels are whole, which is normally longer than the run you measured.
Post-hole concrete reuses the same circular volume arithmetic as the concrete calculator:
Volume per hole (m³) = π × (hole diameter ÷ 2)² × (hole depth in mm ÷ 1,000)
Total concrete (m³) = volume per hole × posts
Bags = total concrete ÷ 0.012, rounded up, where 0.012 m³ is what a 25 kg bag of concrete mix is assumed to make. No waste allowance is applied to the concrete on this page.
A 20 m straight run of 1.83 m panels, with post holes 0.3 m across and 600 mm deep.
The page displays 11 panels, 12 posts, 20.13 m, 0.509 m³ and 43 bags. Forty-three bags is over a tonne of post mix for a garden fence, which is the point at which most people stop looking at bags and start looking at a delivery or a ballast-and-cement mix.
Twenty metres does not divide into 1.83 m panels, so the calculator rounds up and reports a 20.13 m fence. That 0.13 m has to be dealt with on site: either the last panel gets cut down, or the run is spaced so the difference is spread across the joints, or the gravel board runs long at one end. It is small here, but a 10 m run rounds to six panels and 10.98 m — almost a metre of extra fence that has to go somewhere.
Forty-three bags is 0.516 m³ against 0.509 m³ needed — 1.4% spare. One slightly over-dug hole eats that. A hole dug to 350 mm across instead of 300 mm holds π × 0.175² × 0.6 = 0.0577 m³, which is 36% more than the 0.0424 m³ assumed, and if all twelve are like that the job needs 58 bags instead of 43.
Corners, returns and stepped ground are not modelled. A corner adds a post without adding any fence length to the panels figure, and a step in the ground needs either longer posts or a cut-down panel. If your run turns a corner, add one post per corner to the count and expect to cut panels.
End posts and corner posts take more load than intermediate ones, and gate posts take the most — a hung gate needs a heavier section and a bigger, deeper hole than the 0.3 m × 600 mm default. The calculator has no way to treat one post differently from another.
Depth is your input, and the concrete volume follows it directly. A 1.8 m panel in exposed ground or on soft fill usually wants a deeper hole than 600 mm, and the calculator will happily price whatever you type. The concrete figure is only as good as the depth you believe in.
Related: the concrete calculator handles slab and footing shapes this page does not, and the decking calculator is the equivalent for a timber deck's boards and joists.