The opening is wider than the gate
A gate needs room on both sides: a gap at the hinge post for the hinges to work and a gap at the latch post for the latch or drop rod. The space between the facing surfaces of the two posts — the opening — is the gate width plus both gaps. The exact gaps belong to the hardware, which is why manufacturers tell you to determine the gate opening before installing the fence.
| Instruction | Hinge side | Latch side | Opening rule |
|---|---|---|---|
| CertainTeed Bufftech vinyl gate | 1 in | ¾ in | Single gate made 1¾ in narrower than the opening |
| Bufftech pre-assembled gate | — | — | 50 in gate → 51¾ in between posts |
| Bufftech double drive gate | — | — | 2¾ in allowance between hinge posts for hardware and drop pin |
| Barrette standard strap hinge | ⅝ in | per latch or drop rod | Gate width + hinge clearance + latch clearance |
Example: a 4 ft walk gate
With the Bufftech clearances, a gate 46¼ in wide needs posts 48 in apart, face to face: 46¼ + 1 + ¾. Turn it around if you start from the posts: a 48 in opening takes a gate built 1¾ in narrower. In the fence post calculator, enter the opening as the gate width between posts — here 4 ft — so the fenced length on either side is right. Remember the posts themselves: measured center to center, the gate posts are the opening plus one post width apart.
Clearance under the gate matters too. The Bufftech instructions require 2 in under the bottom rail on level ground; on a slope that rises in the direction of swing, the gate will need more, or it should swing the other way. Check the swing arc for steps, walks and plantings before you fix the hinge side.
Gate posts are not line posts
A gate hangs its whole weight on one post and is pushed and pulled every day. UFP’s instructions recommend setting end, corner and gate posts at least 6 in deeper than line posts, and Master Halco’s PostMaster guide uses 30 in for corner and gate posts against 24 in for line posts. Vinyl systems typically reinforce gate posts inside; the instructions for your system say how. On the order, list gate posts separately from line posts.
Pool and safety gates
Gates in a pool barrier have specific requirements for self-closing, latching and height that come from local code. Do not size them from this page.
Sources: CertainTeed Bufftech vinyl fence gate installation instructions, https://www.hooverfence.com/mas_assets/theme/hooverfence/pdfs/installation-manual-bufftech-gate.pdf; Barrette Outdoor Living, standard strap hinge instructions (rev. 5.21), https://pdf.lowes.com/productdocuments/251b3318-17c1-488c-bad5-b0b7ab1e75f2/02776953.pdf; UFP 2x6 framed panel instructions (9704_12/17); Master Halco PostMaster Plus guidelines. Checked October 26, 2026.
Related calculators & guides
How to Lay Out a Fence Line and Mark the Posts
Mark a fence line with stakes and string, place end, corner and gate posts first, then space the line posts and decide…
Prebuilt Fence Panels vs Building the Fence on Site
How the materials list changes between prebuilt fence panels and a fence framed with rails and pickets on site: spacing,…
Fence Picket Calculator
Count pickets for one straight run using actual board width and the specified gap, then add spare pieces.
Fence Picket Count by Gap and Run Length
Compare picket counts for a 5.5-inch example face width while changing only the gap and board-covered length.
Report an error
Thank you! Your feedback helps us make this page better.
Could not send. Please try again.