ContractorFrame AI
FREE · NO ACCOUNT · ENGLISH & SPANISH

Metal and welded fence calculator

Get posts, pickets, rails, welds and paint for welded iron or steel fences and gates.

How to use this calculator

  1. 1Measure the fence length and height in feet.
  2. 2Choose the post spacing (6 to 8 ft) and picket spacing in inches.
  3. 3Enter the rails per section and the number of gates.
  4. 4Read the posts, picket tubing, rail sticks, welds and paint.

Even better inside the app

In ContractorFrame the calculator is in the menu and in the estimate step. With one click the result becomes items in your estimate; add your prices and send the quote with your logo. Included in the free 7-day trial.

Free 7-day trial →

How it’s calculated

Posts = length ÷ post spacing + 1 + one per gate. Pickets = length × 12 ÷ spacing. Rails in 20 ft sticks. Welds ≈ pickets × rails + posts × rails.

Worked example

A 100 ft welded fence, 5 ft high, posts every 8 ft, pickets every 4.5 inches, 2 rails and 1 gate:

Inputs
Fence length100 ft
Fence height5 ft
Post spacing8 ft
Picket spacing (center to center)4.5 in
Rails per section2
Gates1
Result
Posts15
Sections13
Pickets267 (1,335 ft of tube)
Rails (20 ft sticks)210 ft · 11
Approx. welds564
Metal paint / primer2 gal

Frequently asked questions

How far apart should metal fence pickets be?

Many codes require that a 4 inch sphere cannot pass between pickets (especially around pools). That is why center spacing is usually 4 to 4.5 inches, depending on tube size.

How many rail sticks do I need?

Fence length × number of rails, plus 5% for cuts, divided by 20 ft per stick.

How do I prevent rust?

Clean the welds, apply a rust-inhibiting primer and then metal paint. The calculator includes a paint estimate.

Do I need a permit for a fence?

Many cities require a permit based on height and location. Check with your city before you start.

More calculators