Square metal fence posts are sized by where they sit: 3 x 3 in at ends and corners, 4 x 4 in at swing-gate openings, and 6 x 6 in where a gate opening runs wider than 12 ft. The posts in the middle of a straight run can be smaller than all three, and the wall thickness matters as much as the footprint. Get those numbers right and the rest of the fence follows.
Picture the order sheet for a typical backyard job: 40 ft of straight run, one corner where the line turns toward the house, two posts flanking a 4 ft swing gate. Four positions, and three of them carry forces the straight run never sees. Buying one post size for all of them is the most common shortcut in square-post fencing, and it usually shows up as a leaning corner or a gate that drags by the second season.
The post is a system, not a product. Its size answers to position and load, its footing answers to soil and frost, its coating answers to moisture, and its cap answers to the actual outside dimension of the tube you bought. Sorting through metal fence posts, square sections included, gets easier once you stop treating the size as a style choice.
Square Metal Fence Post Sizes at a Glance
The published hierarchy comes from a 2023 school-district fencing specification based on the 2022 California Building Code, which assigns square steel tubing by position and gate width (Sanger Unified School District fencing and gates specification). It covers public work rather than private yards, but it's the clearest public table of square-post sizes tied to each post's function.
| Post size | Typical position | Wall thickness | Basis |
|---|---|---|---|
| 3 x 3 in (76 mm) | End and corner posts | 0.108 in metallic-coated or 0.105 in hot-dip galvanized | California school-district specification |
| 4 x 4 in (102 mm) | Swing-gate openings | 0.1875 in (4.76 mm) | California school-district specification |
| 6 x 6 in (153 mm) | Gate openings wider than 12 ft | 0.1875 in (4.76 mm) | California school-district specification |
Read the wall thickness column as closely as the size column. At 3 x 3 in, the specification calls for 0.108 in wall in metallic-coated steel sheet, or 0.105 in in steel hot-dip galvanized after fabrication. Both gate sizes step up to 0.1875 in, or 4.76 mm, because a gate concentrates hinge and latch force on a single post instead of spreading it along a run.
The three sizes work out to roughly 76, 102 and 153 mm in metric terms, which is what you'll see on imported tubing and on supplier spec sheets. Light straight runs go smaller: 2 x 2 in (51 mm) and 2.5 x 2.5 in (64 mm) square tube are common for intermediate posts in open or mid-weight fence. Those rows don't carry a published wall thickness in this specification, so confirm the gauge with your supplier before ordering a bundle.
Size follows position, not preference. A corner post resists the pull of two fence directions at once. A gate post adds hinge and latch reactions on top of panel load. A post mid-run resists very little of either, which is why it can be smaller.
Before you open a catalogue, work through the fence in this order:
- Measure the widest gate opening. Not the gate leaf, the clear distance between posts. Cross 12 ft and the 6 x 6 in row applies.
- Count corners and ends. Each one is a terminal post and takes the 3 x 3 in row or heavier.
- Count gate leaves. Any swing gate needs 4 x 4 in support at minimum.
- Read across the matching row. Size first, then wall thickness, then coating.
- Treat the coating as part of the post. The same specification requires metallic coating or hot-dip galvanizing as a condition of the post system, not as a cosmetic finish.
Do that and the order sheet stops being a guess.
When Square Posts Beat Round Posts
Square and round posts do the same structural job. What separates them is what you can bolt to the outside, and how each shape handles water.

What square gains you:
- Flat mounting faces. Panel brackets, rail clips and U-channel slides sit flush against a square face. Round tube needs a curved adapter or a shim, which adds a part and a weaker connection.
- Clean corners. Two flat faces meeting at 90 degrees give a crisp line wherever the fence changes direction.
- Direct-fit caps and base plates. Square caps and flanged bases are manufactured to the outside dimension of the tube, no adapters involved.
What square costs you:
- Water in the corners. Square tube traps moisture in its lower corners and inside the open top. Round tube sheds it more readily.
- More edges to protect. Every cut and weld on a square post is a spot where the coating has to be restored.
- Caps must match the actual size. A cap listed for 6 x 6 in won't seat on a post measuring 5.5 x 5.5 in, and a loose cap rattles in wind.
Cost rarely decides it. Home Depot Canada listed a 2 x 2 x 6 ft steel flat-top post at CAD 39.98 per post in 2026, per the Home Depot Canada steel fencing post listing, which gives you a baseline to price a round alternative at the same length.
Choose square where panels or brackets attach to flat faces, or where the fence needs a clean corner. Choose round when the brackets, caps or gate hardware you already own are built for round tube, because swapping shapes means replacing every fitting on the fence.
Matching Square Posts to Each Fence Type
Fence type sets the baseline size. The position of each post on the line sets the final one, because a post at a corner works harder than the same post mid-run. Use the table as the working reference, then read the notes below it to see why each step-up exists.
| Fence type | Intermediate post | End, corner and gate post | Notes |
|---|---|---|---|
| Wood privacy or board fence | 2.5 x 2.5 in | 3 x 3 in at ends and corners; 4 x 4 in at swing gates | Solid panels add wind load, so stiffen the ends first |
| Chain-link fence | 2 x 2 in or 2.5 x 2.5 in | 3 x 3 in at terminals; 4 x 4 in at swing gates | Light fabric allows wider spacing; confirm the spacing your local code or specification permits |
| Ornamental iron fence | 2 x 2 in or 2.5 x 2.5 in | 3 x 3 in at ends and corners; 4 x 4 in at swing gates | Match post to rail and picket weight; confirm load ratings on the product sheet |
| Wide gate run | Same as the rest of the fence | 6 x 6 in where the gate opening exceeds 12 ft | Add bracing and check the footing before hanging panels |
Every step-up in that table answers a specific force. Terminals carry the tension and bending of the entire run, so they jump one size above the intermediates. Think of the fence line as a rope in a tug of war: the posts in the middle mostly hold weight, while the posts at the ends absorb the pull. Solid wood panels add a second force, wind across the full face of the fence, which is why their ends and bracing matter more than they would on open fencing.
Chain-link sits at the other end of the scale. The fabric is light and air passes through it, so intermediates can be smaller and spaced farther apart than on a solid fence. The exact spacing limit depends on the specification governing your project, and a post spacing that passes on one job may fail inspection on another, so confirm it before you lay out the holes.
Ornamental iron shifts the calculation to weight. Rails and pickets add load at every connection point, so the post has to match the rail rather than the other way round. Gates add hinge and latch reactions on top of everything else. A swinging leaf works like a lever anchored at one post, and the wider the leaf, the longer the lever. That is why a swing gate starts at 4 x 4 in regardless of fence type, and a gate opening wider than 12 ft moves the support posts to 6 x 6 in.
Height and location can shrink the post as well as grow it. A short section crossing a front setback may use shorter posts than a rear run under the same local rules, so confirm the allowed height on each side of the property before you cut.
If the fence pairs steel posts with wood rails, the bracket choice matters as much as the post size, and building a wood fence on metal posts walks through the attachment details.
Run three questions before you buy:
- How many corners and ends? Each one is a terminal, and each takes the heavier size.
- How many gates, and how wide is the widest opening? Width above 12 ft changes the answer.
- How tall is the finished fence, and is it solid or open? Solid and tall means more wind surface and more demand on the footing.
Any load rating you can't find on the product sheet isn't a number you can design to. Ask the supplier for the wall thickness and the rated bracket load in writing before the order goes in.
Footing, Frost and Installation Steps
A post set too shallow fails differently from a post that's too thin. The steel doesn't bend first. The ground gives way, the post rotates in its hole, and the fence line goes out of plumb while every rail and panel stays intact. That's why the footing deserves its own numbers rather than a rule of thumb from the last project.
Before the first hole, two calls
Local rules come first, because they set the height you're building to. In Morgan Hill, fences up to 7 ft are exempt from building permits, but fences in a front setback are limited to 3 ft, and a side or rear fence over 6 ft needs a 1 ft lattice section with a 7 ft maximum total height, as set out in the City of Morgan Hill fences and walls guidance. Different cities publish different limits, so check the ordinance that governs your parcel.
Then the utility locate. In California, homeowners and contractors must call 811 at least two working days before digging, and the California Public Utilities Commission 811 fact sheet lists building a fence among the projects that require a locate. Operators mark buried lines within two business days. Preserve those marks during layout and move a post location rather than excavating through a marked corridor.
The hole, in numbers
San Diego County guidance sets the measurable minimums: metal posts go into concrete footings 12 inches in diameter, extending at least 24 inches into undisturbed natural ground or properly compacted fill. The same guidance requires 3 inches of loose gravel beneath the footing, and the post must continue through the concrete so its base ends with 3 inches of concrete cover, as detailed in the California Code of Regulations enclosure provisions.
The 24 inch minimum is a floor, not a target. A gate post on an exposed site carries more leverage at the base than a mid-run post in the same soil, and a tall solid panel presents more surface to wind.
Spacing, embedment, drainage and cover work as one set. A nominal post size can't be judged apart from how far apart the posts sit, how deep they're buried, and whether water drains away from the base.
Frost depth changes the number
Where the ground freezes, embedment has to clear the frost line or the footing will lift. Southern Ontario guidance commonly uses about 1.2 m (48 in), while areas around North Bay, Sudbury and Ottawa may need approximately 1.5 m (60 in) because frost penetrates deeper, according to Ontario fence post depth guidance. If you're working in eastern Ontario, 42-inch post holes in Ottawa covers how the local numbers play out in practice.
Clearing the frost line is not automatically the same as being structurally adequate. Gate posts, corners, privacy panels and wind-exposed sites can need greater embedment or a larger footing than the intermediate posts between them.
Eight steps from string line to cured concrete
- Confirm local height and setback rules before you choose a post length.
- Call 811 or your local locate service and wait out the marking period.
- Set the fence line with string and mark every post centre, including the gate posts.
- Dig each hole 12 in (305 mm) in diameter and at least 24 in into undisturbed ground or compacted fill.
- Place 3 in of loose gravel in the base of each hole.
- Set the post plumb so it runs through the concrete and finishes with 3 in of cover at the base.
- Brace in two directions, pour, and slope the concrete top away from the post so water runs off.
- Let the concrete cure before hanging rails or panels, following the mix label.
Where a hole isn't possible, say on a patio slab or over bedrock, setting a fence post without concrete covers the surface-mount and driven alternatives and where each one holds.
When to stop and call a designer
California's building guidance treats fence posts as examples of small nonbuilding structures in foundation design and detailing, per the Division of the State Architect interpretation of the 2025 California Building Code. That framing matters because it means there's no single hole diameter or embedment depth that fits every fence. Bring in a qualified designer or your local code official when the fence is tall, heavily screened, near a slope, or carrying a gate.
Four faults and their fixes
- A leaning post. Re-brace in two directions and add concrete rather than pulling it straight against the soil. If the hole was shallow, reset the post deeper.
- Rust at a cut edge. Grind back to sound metal and apply a zinc-rich repair coating before the post goes in the ground.
- Standing water in the tube. Drill a small drain hole at the base and keep the cap fitted so rain can't enter from the top.
- A rattling cap. The size is wrong. Measure the outside of the tube and replace the cap rather than shimming it.
Corrosion Protection and Finish Options
A square post works like a small drainage system as much as a structural member. Wall thickness resists bending, while the coating resists soil, water and salt. Treat those as separate choices. A heavy tube with a weak finish can still rust early at the buried end.

Buried service life comes down to zinc. Industry guidance says galvanized structural steel carrying roughly 3.9 to 5 mils of zinc may provide about 35 to 50 years of service in the harshest soils and 75 years or more in less corrosive ones. Those figures are environment-dependent estimates, not guarantees, as the galvanized steel service life guidance sets out. Moisture, pH and chlorides decide how quickly that zinc is consumed.
Use this finish map before choosing a post, because the coating has to match the place the post occupies in the fence line:
| Finish | Best use | Main limit |
|---|---|---|
| Hot-dip galvanized after fabrication | Buried or wet posts | Cut ends and welds need repair |
| Metallic-coated sheet | Light above-ground fence | Coating breaks at cut edges |
| Powder coat over galvanized base | Decorative above-ground posts | Protects only where intact, not a burial finish |
| Paint on bare steel | Dry, sheltered areas only | Shortest life in soil and at cut ends |
| Duplex zinc plus coating | Coastal or chloride-rich sites | Costs more, verify with the supplier |
Coastal exposure changes the math sharply. Warm, humid, chloride-rich air leaves less margin for thin coatings, so ocean-side square posts call for hot-dip galvanizing after fabrication plus a topcoat. Think of zinc as the sacrificial layer and the topcoat as the raincoat. Each does a different job, and the post needs both where salt and moisture stay high.
Ontario lake-effect conditions near Lakes Erie and Ontario push the same way, favouring galvanized steel over uncoated steel, as regional Ontario fencing notes describe. A decorative powder coat is still not a burial finish. Setting a post in concrete also does not stop corrosion, because moisture and chlorides stay concentrated at the soil-to-concrete interface.
The field protocol that protects a buried square post:
- Seal or drain the tube ends so water can't sit inside the hollow section.
- Repair every cut and drilled hole with a compatible zinc-rich coating before the post goes in.
- Isolate dissimilar metals at brackets and fasteners with a barrier or matching finish.
- Slope the concrete away from the post so the soil interface drains.
- Inspect the soil line once a year for coating damage, since that's where failures start.
The buried cut end is the weak point on any field-modified post. Treat it that way on every post, including corner posts, gate posts and line posts away from the water. The position changes the load and the exposure, but it does not change the need to close the coating system at every cut, hole and tube end.
Caps, Bases and Brackets That Fit Square Posts
Every cap, base and bracket is sized to the actual outside dimension of the post, not to its nominal name. A cap that's one size off will either rattle or refuse to seat, and no amount of silicone fixes the wrong diameter.
Caps come in pyramid, ball, pineapple and decorative profiles, with pressure-fit and screw-fit versions of each. Pressure-fit caps suit metal posts with a clean, uniform outside face and are the usual choice for galvanized tube. Heavier decorative caps may need fasteners on windy sites so they don't lift.
Bases and brackets split by how the post is mounted:
- Surface-mount base plates for posts set on a slab, patio or deck rather than buried.
- Post base brackets for deck and porch railing work, where the post lands on a structural member.
- Rail brackets and panel clips for attaching boards or rails to a square face.
- Hinge plates for gate posts, which carry the heaviest concentrated load on the fence.
Match the cap material to the post finish, aluminium or powder-coated caps on galvanized posts, and use stainless or galvanized fasteners so two different metals don't set up corrosion at every connection.
Home Depot Canada listed a 5 ft Fortress Versai steel fence post with a 5 in base plate at CAD 83.49 per post in 2026, according to the Fortress steel post listing, which is a useful reference when you budget a surface-mounted run.
Before you order any accessory, measure the outside of the tube, confirm the fitting is listed for metal posts rather than wood, and confirm the bracket matches the rail or panel you already have. For square-post bracket options, fence brackets for metal posts covers the flat-mount and slide-on styles that fit a square face.
Confirm Your Post Order Before You Buy
Close the loop with a written list rather than a mental one:
- List every post by position. End, corner, gate and intermediate, counted separately.
- Read each size from the chart. Terminal posts one step above intermediates, gate posts at 4 x 4 in or 6 x 6 in.
- Choose the finish for your soil and exposure. Hot-dip galvanized for buried work, duplex systems near salt water.
- Confirm the cap against the measured outside size, not the nominal name.
Then source the parts in matching sizes. XTREME EDEALS INC. carries post caps for metal and wood posts in a range of sizes, including a white 2.5 x 2.5 in aluminium pyramid cap for metal posts that fits with a pressure fit, and a white 3 x 3 in pressure-fit cap for metal posts listed under code DHPPC30WF. Check the listing's actual dimension against your measured post before adding to cart.
Write the order list, confirm the local height and setback rules with your building office, and buy the caps and brackets in the size you measured.
XTREME EDEALS INC. stocks the finishing hardware a square-post fence needs, from pressure-fit aluminium pyramid caps for 2.5 x 2.5 in and 3 x 3 in metal posts to post base brackets, gate hardware and the fasteners that hold the assembly together. Once you've measured your post sizes and chosen a coating for your soil, matching caps and brackets is the last step that keeps water out of the tube and the fence line tight. Browse the post caps and fence accessories at XTREME EDEALS INC. and order the sizes that match your measured posts.
