Fence Picket Calculator

Fence dimensions
Posts
Cost

Calculation results:

Calculation method (how the result is obtained) Ask a question
Was the calculator helpful?
No

About Fence Picket Calculation

The results are approximate. Before use, verify the calculations against the applicable standards and consult a specialist. The developer is not responsible for the consequences of use without project verification.

This calculator performs a geometric and material cost calculation for a straight fence made of pickets. It can be used for metal, composite, and wooden picket fences, as long as the infill consists of separate boards of equal width installed with a uniform gap.

The calculation helps determine the number of pickets, the number of posts, the number of rails, the total length of the main elements, and the estimated material cost. The calculator is not tied to a single material because the calculation is based on section geometry and the selected frame layout, not on a specific product brand.

Guidelines and recommendations

Infill calculation logic

Infill module. First, one repeating infill step is determined. It consists of the width of one picket B and the gap between adjacent pickets S1. Both values are entered in mm.

M = B + S1

The meaning of this formula is that each new board together with its gap occupies the same length along the fence line. For that reason, the number of elements is calculated by linear length rather than by area.

Number of pickets. After that, the total fence length L is divided by the infill module. The calculator uses only a whole number of boards that fully fit within the specified length.

Np = floor(L / (B + S1))

Here, L is the fence length in mm, and Np is the number of pickets in pieces. Rounding down is applied because a partial board is not counted as a full supply or installation element.

Total picket length calculation

Total board length. After determining the number of pickets, their total length is calculated from the height of one board H. All values inside the algorithm are calculated in mm and then converted to metres in the result.

Lp = Np x H

The purpose of this calculation is to obtain the total running length of the infill material. This makes it easier to compare fence options and check how material consumption changes when the spacing or board width is changed.

Post calculation

Basic number of spans. If the post spacing is entered manually, the fence length is divided by the post spacing C. This determines how many spans are required along the specified line.

n = L / C

Number of posts. Since each span has a start and an end, the total number of posts is always one greater than the number of spans. If the last span is incomplete, the calculator still adds the final end post.

Npost = ceil(L / C) + 1

This is a safer way to count materials than rounding down. It avoids a situation where the fence line cannot be completed at the last section.

Uniform post spacing

Span redistribution. If the uniform spacing mode is enabled, the calculator first determines the fractional number of spans, then rounds it to the nearest whole number. After that, the actual post spacing is recalculated so that all spans are equal.

Cact = L / round(L / C)

The purpose of this operation is to remove a very short closing span at the edge of the fence. In this mode, the final value is not the entered spacing, but the recalculated uniform spacing Cact.

Calculation of post and rail lengths

Post length. The total post length is calculated from the number of posts and the length of one post. In the algorithm, a constant embedment depth of 1000 mm is added to the visible post height H2.

Lpost = Npost x (H2 + 1000)

This is a built-in assumption of the calculator. It is convenient for preliminary estimation, but the actual installation depth of posts should be checked according to soil type, fence height, wind load, and fixing method.

Number of rails. The calculation uses a constant layout of 2 rails per span. For that reason, the number of rails depends only on the number of spans.

Nrail = (Npost - 1) x 2

Total rail length. The total rail length is calculated using the actual post spacing. If uniform mode is selected, the recalculated spacing value is used.

Lrail = Nrail x Cact

This approach gives a clear and unambiguous result for a standard picket fence. For a taller, heavier, or more wind-exposed fence, 3 rails are often used in practice, but this calculator is based specifically on a 2-rail layout.

Material cost

Cost estimation principle. The cost of each material group is determined as the product of quantity and unit price. The calculator calculates pickets, posts, and rails separately.

Cost = Quantity x Unit price

The result is intended for approximate comparison of options. Fasteners, caps, brackets, concrete, coating, delivery, trimming, and installation waste are not included in this calculation.

How the final value is selected

For pickets. The final value is selected based on the condition that only whole elements fully fitting into the fence length are counted. Any remaining length is not automatically distributed at the edges and is not converted into an additional board.

For posts. The final value is selected based on the condition that the full fence length must be covered by spans. For that reason, rounding up is used for the number of spans, and then one additional end post is added.

For rails. The final value is rigidly tied to the number of spans. Each span is assigned 2 rails, so changing the post spacing affects both the number of rails and their total length.

Practical guidelines

Picket width. For metal, composite, and wooden fences, boards about 70-140 mm wide are often used. The larger the width B at the same gap, the fewer elements are needed for the same fence length.

Gap between boards. Common values for a single row are approximately in the range of 20-80 mm, but the exact choice depends on transparency, appearance, and wind permeability of the fence. When S1 is increased, the number of pickets and the cost of infill decrease.

Post spacing. For household fence sections, a spacing of about 2000-3000 mm is often used. Increasing the spacing reduces the number of posts, but increases the requirements for rail stiffness and connection strength.

Clearance from the ground. The value S2 shows the distance from the bottom of the picket to ground level. In this calculator, it affects the display scheme, but does not change the number of pickets, because the fence line length is calculated horizontally.

Related European standards

Loads and structural resistance. This calculator determines materials based on geometry and the selected layout, but it does not verify the structural capacity of the fence. For final fence design, the following European documents are typically considered in addition.

  • EN 1991-1-4 Eurocode 1. Actions on structures. Wind actions. It is used to evaluate wind pressure on the fence, posts, and rails.
  • EN 1993-1-1 Eurocode 3. Design of steel structures. General rules and rules for buildings. It is applied for checking steel posts, rails, and joints.
  • EN 1995-1-1 Eurocode 5. Design of timber structures. General rules and rules for buildings. It is applied if the frame or the infill itself is made of timber.
  • EN 1990 Eurocode. Basis of structural design. It is used for general reliability principles, combinations of actions, and selection of design situations.
  • EN 1090-2. Execution of steel structures and aluminium structures. Technical requirements for steel structures. It is useful when selecting fabrication and installation requirements for metal fence elements.

This calculation is sufficient for estimating material quantities. For the final selection of sections, post embedment depth, and fixing layout, the fence should also be checked for wind, stability, and durability.

FAQs

Is this calculator suitable only for metal picket fences?

No. This online calculation is also suitable for wooden, composite, and metal picket fences, as long as the infill consists of identical boards with a repeating gap. The material affects strength and durability, but the geometry of the calculation remains the same.

Why is the number of pickets not rounded up?

Because the calculator counts only the boards that fully fit into the fence length. This approach avoids overstating material use and shows the real number of whole elements for the selected infill step.

What is the purpose of the uniform post spacing mode?

It redistributes the spans so that they all have the same length. This is useful when a neat appearance of fence sections is needed and a short closing span would make picket fence installation more difficult.

Does the calculator include post embedment depth?

Yes, but only as a fixed assumption of 1000 mm per post. For a real project, this may not be sufficient, so the installation depth should be checked according to soil conditions, fence height, and wind load.

Can the result be used as a complete engineering fence design?

No. This is a convenient material and estimated cost calculator that determines section geometry and a basic frame layout. Final fence design requires separate checks for wind, the strength of posts, rails, and connections.