Fence Calculator
How many pickets and posts for a 100 ft fence?
A straight 100 ft, 6 ft tall privacy fence with posts every 8 ft has 13 sections, so it needs 14 posts, 39 rails (3 per section) and 219 pickets of 1x6 (5.5 in wide, butted tight). Setting 4x4 posts in 10 in wide, 24 in deep holes takes 22 bags of 80 lb concrete or 35 bags of 50 lb fast-setting mix.
This fence calculator turns a fence length into a materials list: posts, rails, pickets and bags of concrete for setting the posts. Enter the total length, post spacing, fence height and any gates, and it works out how many sections the fence has and what each one needs.
You can match the numbers to your actual materials by setting the picket width and gap, the post type, and the diameter and depth of your post holes. It suits wood privacy fences, picket fences and similar post-and-rail designs, and is handy for checking a supplier quote.
Enter your details
How to Use the Fence Calculator
- 1
Enter the fence layout
Type the total fence length in feet, including gate openings, then set the post spacing (8 ft is standard), the fence height, the number of gates and the gate width.
- 2
Set rails and pickets
Leave Rails per section on Auto (2 rails up to 5 ft tall, 3 above) or pick 2, 3 or 4. Enter the picket width (5.5 in for a 1x6) and the gap between pickets, which is 0 for a privacy fence.
- 3
Describe the post holes
Choose the post type (4x4, 6x6, round steel, or do not subtract the post) and enter the hole diameter and depth in inches. The defaults are a 4x4 post in a 10 in wide, 24 in deep hole.
- 4
Read the materials list
Results update as you type: posts and suggested post length, rails, pickets for the fence and gates, and concrete per hole with 80 lb and 50 lb fast-setting bag counts.
How the fence calculator works
The calculator treats the fence as one straight run. It removes the gate openings from the length, divides what is left by the post spacing and rounds up to get the number of sections. A straight run needs one more post than it has sections, and each gate splits the run, which adds one more post per gate.
Each section gets 2 or 3 rails (or the number you pick), each as long as the post spacing. Pickets are the width to cover in inches divided by the picket width plus the gap, rounded up, worked out separately for the fence and the gates. Each post hole is a cylinder minus the space the post takes up, converted from cubic inches to cubic feet. Bag counts use 0.6 cu ft per 80 lb bag of standard concrete and 0.375 cu ft per 50 lb bag of fast-setting post mix, and are rounded up after totaling all holes. The suggested post length is the fence height plus the hole depth.
Sections = ⌈(fence length − gates × gate width) ÷ post spacing⌉
Posts = sections + 1 + gates
Rails = sections × rails per section
Pickets = ⌈width in inches ÷ (picket width + gap)⌉
Concrete per hole (cu ft) = (3.1416 × (diameter ÷ 2)² − post area) × depth ÷ 1728Worked example: 150 ft privacy fence with one gate
Take a 6 ft tall privacy fence, 150 ft long, with one 4 ft gate, posts every 8 ft, 5.5 in pickets with no gap, and 4x4 posts set in 10 in wide, 24 in deep holes.
- Fenced length: 150 − 4 = 146 ft. Sections: 146 ÷ 8 = 18.25, rounded up to 19.
- Posts: 19 + 1 + 1 gate = 21 posts, each about 8 ft long (6 ft above ground plus 2 ft in the hole).
- Rails: a 6 ft fence gets 3 rails per section, so 19 × 3 = 57 rails of 8 ft.
- Pickets: 146 × 12 ÷ 5.5 = 318.5, so 319 for the fence, plus 48 ÷ 5.5 = 8.7, so 9 for the gate. Total 328.
- Concrete: each hole holds 0.92 cu ft after subtracting the post, so 21 holes need 19.33 cu ft. That is 33 bags of 80 lb concrete or 52 bags of 50 lb fast-setting mix.
Materials for common fence lengths
Straight runs with no gates, 6 ft tall, 8 ft post spacing, 3 rails per section, 5.5 in pickets with no gap, and 4x4 posts in 10 × 24 in holes.
| Fence length | Sections | Posts | Rails | Pickets | 80 lb bags | 50 lb fast-set bags |
|---|---|---|---|---|---|---|
| 50 ft | 7 | 8 | 21 | 110 | 13 | 20 |
| 100 ft | 13 | 14 | 39 | 219 | 22 | 35 |
| 150 ft | 19 | 20 | 57 | 328 | 31 | 50 |
| 200 ft | 25 | 26 | 75 | 437 | 40 | 64 |
| 300 ft | 38 | 39 | 114 | 655 | 60 | 96 |
100 ft of fence in different styles
The same 100 ft straight run with the calculator's other settings changed one at a time. Holes are 10 × 24 in around 4x4 posts unless noted.
| Style | Posts | Rails | Pickets | 80 lb bags |
|---|---|---|---|---|
| 6 ft privacy, 8 ft spacing, 1x6 tight | 14 | 39 | 219 | 22 |
| Same, with one 4 ft gate | 14 | 36 | 219 (210 + 9 gate) | 22 |
| 6 ft privacy, 6 ft spacing | 18 | 51 | 219 | 28 |
| 4 ft picket, 3.5 in pickets, 2.5 in gap | 14 | 26 | 200 | 22 |
| 6 ft privacy, 6x6 posts in 12 × 36 in holes | 14 | 39 | 219 | 41 |
Concrete per post hole
Concrete for one hole around a 4x4 post (3.5 × 3.5 in actual). The bag figures are fractions of a bag per hole; the calculator totals all holes before rounding up. For other hole shapes or a slab around the posts, use the concrete calculator.
| Hole (diameter × depth) | Concrete per hole | 80 lb bags per hole | 50 lb fast-set bags per hole |
|---|---|---|---|
| 8 × 18 in | 0.40 cu ft | 0.66 | 1.06 |
| 10 × 24 in | 0.92 cu ft | 1.53 | 2.46 |
| 12 × 24 in | 1.40 cu ft | 2.33 | 3.74 |
| 12 × 30 in | 1.75 cu ft | 2.92 | 4.67 |
| 12 × 36 in | 2.10 cu ft | 3.50 | 5.60 |
Edge cases the calculator does not model
- Corners: the tool assumes one straight run. Run it once per side, then subtract one post for each corner where two runs share a post.
- Board-on-board (shadowbox) fences overlap pickets, which a gap of 0 cannot express. Enter the coverage per picket instead: a 1x6 with a 1 in overlap covers 4.5 in, so set the picket width to 4.5 and the gap to 0. That gives 267 pickets for 100 ft.
- Slopes: pickets cover horizontal distance, but racked rails follow the slope and stepped sections need longer posts on the low side. Measure the run on the ground and add post length where the grade drops.
- Gate posts often go in larger, deeper holes than line posts. The calculator uses one hole size for every post, so add concrete for gate posts separately.
- Gate frames, hinges, latches, fasteners and post caps are not included.
Tips and common mistakes
- Keep post spacing at 8 ft or less for wood fences so standard 8 ft rails reach from post to post. Wider spacing lets rails sag and pickets warp.
- Buy 5 to 10% extra pickets. Some will be split, warped or badly knotted, and you will cut a few to fit short sections.
- A run that does not divide evenly by the spacing ends in one shorter section. The calculator still counts full-length rails for it, so you will have offcuts.
- Dig holes about 3 times the post width and roughly 1/3 to 1/2 as deep as the fence is tall above ground, and in cold climates below the local frost line, which may be deeper.
- Many builders put a few inches of gravel in the bottom of each hole for drainage. The gravel calculator can total it for a long fence line.
- Pricing lumber by volume? The board foot calculator converts posts and rails into board feet.
When to call a professional
Call 811 a few business days before you dig so buried utility lines are marked; it is free and required in most states. Before you order materials, confirm where your property line actually is. If the corner markers are missing or a neighbor disputes the line, a licensed land surveyor can stake it, which is far cheaper than moving a finished fence. Many towns limit fence height and set back distances from property lines, sidewalks and corners, some require a permit, and pool barriers have strict rules of their own. Homeowners association rules may also restrict style and height.
Hire a fence contractor for long runs on steep or rocky ground, fences over about 6 ft, masonry or heavy gates, or any fence that has to act as a code-compliant pool barrier.
Features
- Posts, rails and pickets from fence length and post spacing
- Accounts for gates (extra posts and gate pickets)
- Auto 2 or 3 rails per section based on height, or pick your own
- Picket count from picket width and gap
- Concrete per post hole with 80 lb and 50 lb fast-setting bag counts
Frequently Asked Questions
How many fence posts do I need for 100 feet?
With posts every 8 ft, a straight 100 ft fence has 100 ÷ 8 = 12.5 sections, rounded up to 13, so it needs 14 posts. Each gate adds another post, and each corner can add one if the corner does not fall exactly on the spacing. With 6 ft spacing, the same fence needs 17 sections and 18 posts.
How many pickets are in an 8 foot fence section?
An 8 ft section is 96 inches wide. With 5.5 in pickets (the actual width of a 1x6) butted tight for privacy, you need 96 ÷ 5.5 = 17.5, rounded up to 18 pickets. With a 0.5 in gap, each picket and gap takes 6 in, so you need 16. With 3.5 in pickets and a 2.5 in gap, you also need 16.
Does a fence need 2 or 3 rails?
A common rule is 2 rails for fences up to about 5 ft tall and 3 rails for taller fences, such as a 6 ft privacy fence. The middle rail keeps long pickets from bowing and warping. The calculator uses that rule on Auto, and you can choose 2, 3 or 4 rails yourself.
How deep should fence posts be?
A common guideline is to bury 1/3 to 1/2 of the post's above-ground height, so a 6 ft fence needs holes about 24 to 36 in deep, which means an 8 to 9 ft post. In areas where the ground freezes, set the post below the local frost line to prevent heaving. Your local building department can tell you the frost depth.
How many bags of concrete do I need per fence post?
For a 4x4 post in a 10 in wide, 24 in deep hole, the concrete fills about 0.92 cu ft once you subtract the post. That is about 1.5 bags of 80 lb concrete (0.6 cu ft each) or about 2.5 bags of 50 lb fast-setting mix (0.375 cu ft each). A 12 × 36 in hole takes about 2.1 cu ft, or 3.5 bags of 80 lb concrete.
How far apart should fence posts be?
Most wood fences use posts 6 to 8 ft apart, measured center to center. Eight feet is the most common because it matches standard 8 ft rails and keeps waste low. Use closer spacing for tall fences, heavy materials or windy sites. Vinyl and metal fence panels come in fixed widths, so follow the manufacturer's spacing for those.
Do I need to call 811 before digging fence post holes?
Yes. Post holes are deep enough to hit buried gas, electric, water and communication lines. Calling 811 or submitting a request online is free, and the utilities mark their lines within a few business days. Private lines you own, such as a line to a detached garage or a sprinkler system, are usually not marked, so locate those yourself.
Last reviewed