Vējstūru iela 3, Rīga
+371 22164488 · info@ewood.live
ewood.live
Fence calculator
Enter the fence length, height and post spacing — the calculator works out how many fence boards, posts and rails you need and what it costs. Add the whole kit to the cart with one button. Each section can have its own length, height, board and gap — for example, a more see-through fence along the street and a denser one towards the neighbours. Fence boards 25×50, 25×100, 25×150, 32×100 and 40×100 mm and beams for posts and rails — pressure-treated, antiseptic or fresh-sawn, from €270 per m³ excl. VAT.
Result
The calculator is a planning aid: the result is a guide, and we keep improving it. Please check your measurements before ordering.
How the calculator works
- Posts: fence length ÷ post spacing + 1. Post length = fence height + about 0.6 m in the ground.
- Rails: two rows for fences up to 1.5 m high, three for taller ones; each row runs the full fence length.
- Boards: vertical; their number = fence length ÷ (board width + gap). Where possible, two shorter boards are cut from one long board.
- The allowance you choose is added to everything.
For an outdoor fence, pressure-treated or antiseptic-treated timber lasts longer. Protect the part of the post in the ground with bitumen or set it in concrete.
Frequently asked questions
How far apart should fence posts be?
Usually 2–2.5 m. Wider spacing needs stiffer rails, closer spacing needs more posts.
How deep should fence posts go?
Usually about 0.6 m or a third of the post height above ground; deeper for tall fences or windy spots.
How many rails do I need?
Two rows of rails are enough for fences up to 1.5 m; three are recommended for taller fences.
What gap should I leave between fence boards?
For a privacy fence, fit boards tight or with a 1 cm gap; for an airy fence, 2–5 cm. You can change the gap in the calculator.
How do I calculate a fence with sections of different heights?
Add each section as a separate part with its own length and height. Posts are counted for the whole fence, without doubling at the joints between sections.
Can each section use a different board?
Yes — each section has its own board and gap, while posts, rails and material are shared by the whole fence.
Can I calculate a fence with metal posts?
Yes — untick “Add timber posts” and the calculator works out only the boards and rails. If the rails are metal too, untick them as well.
How tall can a fence be?
In Riga a street-side fence is up to 1.8 m high and at least 30 % see-through (point 355.3 of the Riga Land Use and Building Regulations); on the street side it stands on the red line, and its height and colour match the neighbouring fences. No documents need to be filed with the Riga Building Board for a fence. Other municipalities have their own rules, so check your municipality’s building rules before you build.
How do I get 30 % see-through?
Leave a gap of at least 3/7 of the board width: from 4.3 cm for a 100 mm board, 5.2 cm for 120 mm, 6.5 cm for 150 mm. The calculator shows the see-through share for every result.
See also: pressure-treated boards and beams, antiseptic-treated boards and beams.
Other calculator: Deck · Floor · Cladding · Cubic metres — All calculators