Fence Calculator

Style
Add prices (optional)
Enter your fence length to see the material list.

Type how long your fence is. You get the parts list: how many posts, how many rails, how many pickets, and how many bags of concrete to set it all in. Nothing to sign up for, nothing to add to a cart. The arithmetic behind a fence order is not hard, but it is fiddly in a way that costs money: posts are spacings plus one, gate openings come out of the run before you count boards, and a 4×4 post is 3.5 inches on every side, not 4. Get one of those wrong on a hundred-foot run and you are back at the yard on Sunday afternoon. This calculator uses the same formulas the trade uses, with gates in the math rather than in a footnote, and it shows you a post length you can actually buy instead of the raw number the formula produces.

Built by Bob QA by Ben Shipped

How to use

  1. 1

    Type your total fence length. That is the only field you have to touch — everything else is pre-filled with the sizes most residential fences use, and the answer appears as you type.

  2. 2

    Pick a style. Privacy sets solid boards with no gap, Picket spaces them 2.5 inches apart, and Ranch rail drops pickets entirely. The chip only changes the defaults underneath; you can still override any field.

  3. 3

    Add your gates. Enter how many openings you have and how wide each one is. Gate widths are subtracted from the run before the rail and picket counts, and each gate adds two posts.

  4. 4

    Check the post sizes against what you are actually buying. The defaults are actual dimensions, not nominal ones: a 4×4 post measures 3.5 inches and a 1×6 picket measures 5.5 inches. Nominal-versus-actual is the single most common way this math comes out wrong.

  5. 5

    Read the four numbers: posts, rails, pickets, bags of concrete. Underneath, you get sections, net length after gates, the post length plus the next stock length up, hole depth, and linear feet of rail.

  6. 6

    Open Add prices if you want a cost. Fill in what you pay per post, rail or picket and you get a material total plus a per-linear-foot figure, both calculated from the waste-inclusive counts.

  7. 7

    Tap Copy list. It copies the whole parts list as one line you can paste into a text to yourself or hand to the lumber desk.

Frequently asked questions

Ratings & Reviews

Rate this tool

Sign in to leave a written review.
Loading reviews…