Farm Shop Tools

Gate Fabrication Project Guide

A gate that sags or will not latch usually started with a wrong measurement or a frame welded out of square. This guide walks from the opening to the cut list, brace length and final check, with arithmetic you can repeat.

Why it matters

Gates carry their own weight on two hinges for years, and livestock lean on them. Opening size, post condition, clearance and brace direction all affect whether the gate stays true. Specific tube sizes and hardware should come from your supervisor, an extension contact or the hardware maker, not from this guide.

Step by step

  1. Measure the opening between posts at the top, middle and bottom, and use the smallest figure. Check that posts are plumb and firmly set.
  2. Subtract hinge and latch clearances from the opening to get the gate length, and record both so your cut list can use them.
  3. Choose the gate height for the animals or traffic, and decide frame tube and fill with your supervisor or adviser.
  4. Cut and tack the frame flat on a level table, then measure both diagonals and adjust until they match within about an eighth of an inch.
  5. Calculate the brace from the diagonal, run it from the bottom of the hinge side to the top of the latch side so it carries load in compression, and tack it.
  6. Weld in sequence to limit pull, grind sharp edges, finish with paint or coating, then hang the gate and test swing and latch.

Worked example

Illustrative: The opening is 144 in. Allow 1 in at the hinge and 2 in at the latch, so gate length is 144 - 3 = 141 in. Height is 48 in. The diagonal is the square root of 141 squared plus 48 squared, which is 19,881 + 2,304 = 22,185, or about 148.95 in. Frame length is 2 x 141 + 2 x 48 = 378 in. With the brace, material is 378 + 149 = 527 in, or 43.9 ft.

Printable worksheet: gate layout and squareness check

  • Gate location and date: ____________________
  • Opening width at top, middle and bottom: ______ / ______ / ______ in
  • Hinge clearance ______ in ; latch clearance ______ in ; gate length: ______ in
  • Gate height ______ in ; diagonal = square root of (length squared + height squared): ______ in
  • Diagonal 1 ______ in ; diagonal 2 ______ in ; difference ______ in
  • Material total (frame plus brace) in feet: ______
  • Hinge and latch hardware chosen and mounted: ______

Common mistakes

  • Measuring the opening only at the bottom, where a leaning post can leave the top narrower than you thought.
  • Skipping the diagonal check and welding a parallelogram that sags and drags on the latch post.
  • Running the brace the wrong way, so the gate hangs from the brace in tension and sags at the latch end.
  • Grinding off only the face of welds but leaving sharp corners that can cut animals or people.

Frequently asked questions

How much clearance should I leave?

It depends on hinge type, post movement and the weather. Many builders leave a small gap at the hinge and a larger one at the latch. Check the hardware instructions and your local practice.

Why must the diagonals match?

If one diagonal is longer, the frame is a parallelogram instead of a rectangle. It will hang crooked and put stress on one hinge. Matching diagonals prove the corners are square.

Can I weld the gate on the posts?

It is better to build on a flat table. Welding in place makes fit easier but leaves the frame twisted by heat and gravity. Plan the sequence and follow shop safety rules.

Official sources

Educational only. Follow the equipment manual, label or SDS and OSHA rules. State shop resources.