Holzbaurechner / Garden fence

Fence calculator

How many posts, rails and pales you need for a timber paling fence, and roughly what the timber costs.

How the fence is built

The calculator assumes a classic paling fence: 90 × 90 mm posts stand on post anchors, with 45 × 70 mm rails between them. Upright pales of 22 × 70 mm are screwed to the rails. Up to 1.30 m high, two rails per bay are enough. Taller fences get a third rail in the middle.

The pales stop 50 mm above the ground so that they can dry out after rain. You choose the gap between the pales yourself: small gaps give more privacy, large gaps look lighter and use less timber.

Which timber is best?

Larch and Douglas fir are naturally weather resistant and need no preservative. Left untreated, they turn silver grey over time. Pressure-treated softwood is the cheapest choice and widely used for fencing.

Setting the posts

Posts last longest when they do not touch the soil. Post anchors set in a concrete pad keep the timber clear of the ground, so water cannot collect on the end grain. The footings must be deep enough to be frost-free on firm ground. Post caps protect the end grain from rain.

How high can a fence be?

In England you can usually put up a fence without planning permission if it is no higher than 2 m, or 1 m next to a road or its footpath. Wales has similar limits. Listed buildings, conservation areas and planning conditions can change this, and Scotland, Northern Ireland, Ireland and Australia have their own rules. The Planning Portal explains the details for England.

Frequently asked questions

How many fence pales do I need per metre?
With 70 mm pales and 40 mm gaps you need just over 9 pales per metre. With 20 mm gaps it is 11. The calculator shows the exact number for your fence length.
How far apart should timber fence posts be?
Usually 1.8 to 2 m. For tall fences and windy sites, set them closer, because the fence catches more wind.
Concrete posts in or use post anchors?
Timber posts concreted into the ground often rot within a few years where timber, concrete and soil meet. On post anchors the timber stays dry, and a post is easy to replace later.
Do I need to paint the fence?
No. Larch and Douglas fir last many years untreated and develop a silver-grey patina. If you want to keep the colour of the wood, oil or stain it regularly.