Find a tool

Fence Gate Calculator

A gate in a fence line — its posts, its frame, and the hardware it hangs on.

An estimate of material — a heavy or wide gate may need bigger posts and hardware.

Left

40' · 480 in · 40 ft · 12.192 m

40 ft

Drive gate
Drive gate · 12' · Add ×112 ft

12' · 144 in · 12 ft · 3.6576 m

12 ft

Right
Right · 40' · Add ×140 ft

40' · 480 in · 40 ft · 12.192 m

40 ft

5% covers pickets split by a screw or culled for warp and knots. It is added once, to the pickets — the posts, rails and concrete are counted from the fence itself.

This page recalculates as you type. There is no Calculate button.

Answer

Save imageExcel

Gates

1 with 2 leaves

80 ft of fence · 10 bays · 12 posts in holes 42" deep

Posts 12 posts
Pickets, with waste 215 pickets
Rails 30 2×4s · 3 a bay
Fence, gates left out 80 ft
Concrete 42 × 50 lb fast-setting
Gravel under the posts 8 × 50 lb bags (0.5 ft³)
Ticked items cost $1,565.75
More numbers
Post holes 42" deep, 10" across
Widest post spacing 8' on center
DrawingThe project drawn to scale. Left: 40' × 6'; Drive gate: 12' × 6'; Right: 40' × 6'.40'6'Left12'6'Drive gate40'6'Right

Breakdown

Run or gate Measurements Qty Length Share
Left 40' Add ×1 40 ft
Drive gate 12' Add ×1 12 ft
Right 40' Add ×1 40 ft

What to buy

Buying noteCall 811 a few business days before you dig. It is the free national before-you-dig service: the utilities mark their lines, and every post hole needs it.
Buying noteYour frost depth is not set. Where the ground freezes, a post set above the frost line heaves: ask your building department for the depth (IRC Table R301.2(1)) and type it under Assumptions — every hole follows it.
Buying noteA double gate needs a drop rod (cane bolt) to hold its fixed leaf to the ground; it is on the list, one to each.

Ways to buy the concrete

The bags for every post hole together, by the shape of the holes. Every way is worked out; pick the one you will buy.

42 × 50 lb fast-setting Bags 42 Left over 0.17 ft³ Weight 2,100 lb Cost $335.16 Reference price $7.98. Type your store's.

Shopping list

10 10 × 10 ft $169.00 Reference price $1.69. Type your store's.
2 2 × 10 ft $98.80 Reference price $4.94. Type your store's.
215 215 × 6 ft $490.20 Reference price $0.38. Type your store's.
30 30 × 8 ft $144.00 Reference price $0.60. Type your store's.
8 2 × 10 ft + 6 × 8 ft $40.80 Reference price $0.60. Type your store's.
5 2 × 5 lb box (453) + 3 × 1 lb box (126) $108.85 Reference price $10.97. Type your store's. Reference price $37.97. Type your store's.
1 1 × 5 lb box (309) $32.97 Reference price $32.97. Type your store's.
12 10 × 4×4 caps + 2 × 6×6 caps $105.76 Reference price $7.98. Type your store's. Reference price $12.98. Type your store's.
6 hinges $77.88 Reference price $12.98. Type your store's.
1 latches $6.98 Reference price $6.98. Type your store's.
1 drop rods $17.27 Reference price $17.27. Type your store's.
42 42 × 50 lb fast-setting $335.16
8 8 × 50 lb bags (0.5 ft³) $43.84 Reference price $5.48. Type your store's.
Ticked items $1,565.75

Untick what you already have. Lumber is priced by the foot, beside its row; the concrete's bags are priced in the table above.

Save imageExcel
How this was worked out

Every number below is yours. Each constant links to the row where you can change it.

Left 40' 40 ft
Drive gate 12' 12 ft
Right 40' 40 ft
Posts 10 bays in 2 runs: 8 line + 2 end + 0 corner + 2 gate 12 posts

Change:Widest post spacing, wood

How deep a post goes 0.5 × 72" out of the ground, or the frost depth 0" where deeper 36" + 6" = 42"

Change:Post in the ground, share of its height aboveYour frost depthGravel in the bottom of a hole

Posts, length 72" + 36" = 108" 10 × 10 ft
Gate posts, length 72" + 36" = 108" 2 × 10 ft
Concrete, each post (π ÷ 4 × 10" × 10" − 3 1/2" × 3 1/2") × 32 1/2" 1.247 ft³ × 10 = 12.468 ft³

Change:Hole across, 4×4 postConcrete stops under the ground

Concrete, each gate post (π ÷ 4 × 12" × 12" − 5 1/2" × 5 1/2") × 32 1/2" 1.558 ft³ × 2 = 3.116 ft³

Change:Hole across, 6×6 postConcrete stops under the ground

Bags of concrete 15.584 ft³ ÷ 0.375 ft³ 41.56 → 42 × 50 lb fast-setting

Change:Yield, 50 lb fast-setting bag

Gravel under the posts π ÷ 4 × 10" × 10" × 6" × 10 + π ÷ 4 × 12" × 12" × 6" × 2 3.512 ft³ → 8 × 50 lb bags (0.5 ft³)

Change:Gravel in the bottom of a hole

Rails 10 × 3 = 30 30 × 8 ft

Change:A rail every

Pickets, edge to edge 480" ÷ 5 1/2" + 72" ÷ 5 1/2" × 2 + 480" ÷ 5 1/2" 204 × 6 ft

Change:Gap under the pickets

With the waste for culls 204 × (1 + 5%) 214.2 → 215
Screws 204 pickets × 3 rails × 2 + 38 boards × 2 ends × 2 1,224 + 152

Change:Screws where a picket crosses a railScrews at each end of a rail

Gate hardware 1 gates, 2 leaves, 1 of them double 6 hinges, 1 latches, 1 drop rods

Change:A leaf is tall fromHinges a tall leaf

What it comes to 10 × 10 ft × $1.69/ft + 2 × 10 ft × $4.94/ft + 215 × 6 ft × $0.38/ft + 30 × 8 ft × $0.60/ft + 2 × 10 ft × $0.60/ft + 6 × 8 ft × $0.60/ft + 2 × $37.97 + 3 × $10.97 + 1 × $32.97 + 6 × $12.98 + 1 × $6.98 + 1 × $17.27 + 42 × $7.98 + 8 × $5.48 $1,565.75

Assumptions

Every one of these is editable. Change one and the answer changes with it.

Assumption Value Confidence
Widest post spacing, woodPosts of a wood fence no more than 8 ft apart, center to center: the spacing Inch Calculator and Omni both work at, and the length of the 2×4 rail that spans a bay. ≈ in Trade convention
A rail everyOne rail for every 24 in of fence height, never fewer than a top and a bottom one: Inch Calculator's rule - three rails on a 6 ft fence, two up to 4 ft. ~ in Derived or single-supplier
Gap under the picketsPickets stop about 2 in above the ground so they do not wick water; Freedom's vinyl kit sets its panels about 2 in up, and 2 in is the most ISPSC 305.2.1 allows over grass or gravel. ≈ in Trade convention
Screws where a picket crosses a railTwo screws where each picket crosses a rail, the usual nailing of a privacy fence. ~ screws Derived or single-supplier
Screws at each end of a railTwo screws at each end of a rail or a gate board, into the post or the frame. ~ screws Derived or single-supplier
Post in the ground, share of its height aboveQuikrete Fast-Setting Concrete Mix spec sheet, section 5: a post hole one half as deep as the post stands above ground. Quikrete's Setting Posts sheet says the same as one third of the post's length, and so does Home Depot's chain link guide for its posts. ratio From a data sheet or an agency document
Your frost depthYour frost depth, from your building department (IRC Table R301.2(1) is filled in locally). 0 means not given: every hole is then as deep as the post's own rule. Typed in, no hole stops above it. ≈ in Trade convention
Gravel in the bottom of a holeQuikrete Setting Posts, step 2: 6 in of gravel or crushed stone in the bottom of the hole, for drainage. in From a data sheet or an agency document
Concrete stops under the groundQuikrete Setting Posts, steps 4 and 6: fill the hole to 3-4 in below the top, then finish with soil. The middle of the range. in From a data sheet or an agency document
A leaf is tall fromThe gate height from which a leaf hangs on three hinges: 6 ft (Hoover Fence). ~ in Derived or single-supplier
Hinges a tall leafThree hinges to a leaf 6 ft high or taller: Hoover Fence's wood gate hinge pages. ~ hinges Derived or single-supplier
Hole across, 4×4 postQuikrete Fast-Setting spec sheet, section 3: a 4 in post set in a 10 in hole. Its rule of three times the post would make 10½ in for a 4×4. in From a data sheet or an agency document
Hole across, 6×6 postA 6×6 gate post. Quikrete's three times the post would be 16½ in, a hole few dig for a fence; 12 in is an auger's size. ~ in Derived or single-supplier
Yield, 50 lb fast-setting bagQuikrete Fast-Setting Concrete Mix spec sheet. ft³/bag From a data sheet or an agency document

What a fence gate takes

A gate is a gap in the fence with a post either side and a leaf hung between them. A 12 foot driveway gate in a 6 foot wood fence is two leaves of 6 feet, and it takes two 6×6 gate posts, each 10 feet long, set 36 inches deep in a 12 inch hole; six hinges, three to a leaf because each leaf is 6 feet tall; one latch; and one drop rod — the cane bolt that pins the fixed leaf to the ground so the other has something to latch to.

A wood gate is built from the fence's own lumber. Each leaf is a frame of three 2×4 rails, one for every 24 inches of height as on the fence, and a brace from the bottom of the hinge side to the top of the latch side, so the leaf hangs from its hinges instead of sagging toward the latch. A 6 foot leaf takes its rails from 8 foot boards and its brace, about 8 feet 4 inches long, from a 10 foot one. Its face is covered with the same pickets as the fence, 14 to a leaf.

Single or double

A walk gate is one leaf, usually 3½ to 4 feet; a drive gate is two leaves meeting in the middle. In the parts list choose Gate, one leaf or Gate, two leaves and type the opening. A double gate needs the drop rod and a latch that holds two leaves; a single gate needs neither.

Hinges

A leaf up to 5 feet tall hangs on a pair of hinges; from 6 feet it takes three, which is what Hoover Fence advises for wood gates. Both figures are under Assumptions. Heavy-duty strap or tee hinges carry a wood leaf; a chain link, vinyl or aluminum gate comes made, often with its hinges and latch — untick those rows if yours does.

Gate posts

A gate post carries a swinging leaf, so it is a 6×6 on a wood fence where the line posts are 4×4, in a wider hole with more concrete: 1.558 cubic feet each against 1.247 for a line post. Hang the gate before the fence pickets go on either side of it, and leave the gap the hinge and latch need. We are not connected with any maker, store or supplier named here.