Fence Board Calculator: How Many Boards Do I Need?
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
A fence board calculator works out how many individual boards you need to build a fence run, based on the total length of the fence, the width of each board, and the gap (or overlap) you plan between boards. You enter those three numbers and the calculator returns the number of boards required, plus the total board footage (linear feet or meters) so you can order the right amount. This guide explains the math behind the calculator, how to measure correctly, and the common mistakes that lead to buying too few or too many boards.
Formula
The core formula is simple: convert the fence length from feet to inches, then divide by the sum of one board width plus the gap between boards. The result is the number of boards, rounded up to the next whole number because you cannot buy a fraction of a board.
In symbols: N = ceil( L × 12 / (w + g) )
- N = number of boards (whole boards)
- L = total fence length (feet)
- w = board width (inches)
- g = gap between boards (inches)
- 12 = conversion factor from feet to inches
If you are working in metric, the same formula works with meters and centimeters: N = ceil( L × 100 / (w + g) ), where L is in meters and w/g are in centimeters.
Worked Example
Using the default values from the calculator: a 100-foot fence, with 5.5-inch wide boards and a 0.5-inch gap between each board.
- Convert fence length to inches: 100 ft × 12 = 1200 inches.
- Add board width and gap: 5.5 in + 0.5 in = 6.0 in.
- Divide: 1200 ÷ 6.0 = 200 boards.
- Since 200 is already a whole number, no rounding up is needed.
- Total board length: 200 boards × (5.5/12) ft = 200 × 0.4583 = 91.7 ft (rounded to one decimal).
The calculator returns 200 boards and 91.7 total board feet. Notice that the total board footage is less than the fence length because the gaps take up space.
How to Measure Your Fence Line Correctly
Accurate measurement is the foundation of a correct board count. Measure the total length of the fence run along the line where the boards will be attached – usually the outside face of the rails. Use a tape measure or a measuring wheel for long runs. For a straight fence, measure from end to end. For a fence with corners or angles, measure each straight segment separately and add them together.
Do not include the posts in the length; the boards run continuously across the posts. Also, decide on your gap before measuring, because the gap affects the count. A typical gap for a privacy fence is 0 to 0.5 inches; for a picket fence, gaps can be 1 to 3 inches.
Choosing Board Width and Gap
The two numbers you control – board width and gap – have a big impact on the total count and the look of the fence.
- Board width: Standard pressure-treated pine pickets are often 5.5 inches wide (a 1×6 board). Cedar and composite boards come in various widths from 3.5 to 7.25 inches. Wider boards mean fewer boards and fewer gaps, but they cost more per board.
- Gap: A zero gap gives a privacy fence (boards touching). A gap of 0.5 to 1 inch is common for a semi-private fence. Larger gaps (2–3 inches) create a more open, airy look. The gap you choose affects airflow, visibility, and wind resistance.
If you are building a board-on-board (shadowbox) fence, the calculation is different because boards overlap. In that case, you typically need two boards for every one board-width interval, or you can use the same formula but treat the effective width as half the board width. For example, with 5.5-inch boards, the effective width is 2.75 inches, so you need about twice as many boards.
Common Mistakes and How to Avoid Them
Even with a simple formula, people often end up with the wrong number of boards. Here are the most frequent errors:
- Mixing units: Forgetting to convert feet to inches or mixing centimeters and meters. Always work in one unit system.
- Forgetting the gap: Using only the board width in the denominator. The gap is part of the spacing.
- Rounding down: If the division gives 199.2, you need 200 boards, not 199. Always round up.
- Not accounting for waste: Boards may be cut to length, damaged, or have defects. Add 5–10% extra to your order.
- Ignoring post spacing: The calculator assumes a continuous run. If you have posts every 8 feet, you might want to cut boards to fit between posts, which can create extra waste.
Limits of the Calculator
This calculator gives the number of boards for a straight, uniform fence. It does not account for:
- Gates, which require additional framing and boards.
- Corner posts or angled sections – measure each segment separately.
- Board length – the calculator assumes you are using boards that are long enough to span the fence height without splicing. If your fence is taller than the board length, you will need to join boards, which adds complexity and waste.
- Trim or cap boards – those are separate materials.
For a typical residential fence, the calculator is accurate to within a few boards, provided your measurements are correct.
Cost and Ordering Considerations
Once you have the number of boards, you can estimate cost by multiplying by the price per board. However, lumber prices vary by region, wood type, and time of year. Pressure-treated pine is generally the most economical, while cedar and redwood cost more. Composite and PVC boards are the most expensive but require less maintenance.
When ordering, buy 5–10% extra to cover waste, mistakes, and future repairs. For a 200-board fence, that means ordering 210–220 boards. Many lumber yards allow returns of unused boards, but check their policy before buying.
Frequently Asked Questions
How many fence boards do I need for 100 feet? Using standard 5.5-inch boards with a 0.5-inch gap, you need 200 boards. If you use 3.5-inch pickets with a 1-inch gap, you need about 267 boards (100×12 / (3.5+1) = 266.7, round up to 267).
What is the standard gap between fence boards? For a privacy fence, the gap is usually 0 inches (boards touching). For a semi-private fence, a 0.5 to 1-inch gap is common. For a picket fence, gaps of 1 to 3 inches are typical. The gap affects airflow and visibility.
Do I need to account for the fence posts in the board count? No, the boards run continuously across the posts. The posts are installed first, and the rails are attached to them. The board count depends only on the total length of the fence run, not the number of posts.
How much extra should I buy for waste? Add 5–10% to the calculated number to cover cutting, defects, and mistakes. For a 200-board fence, buy 210–220 boards. If you are building on uneven ground or have many corners, use the higher end.
Can I use this calculator for a board-on-board fence? Yes, but you need to adjust the effective board width. For a shadowbox fence, the effective width is half the board width because each board overlaps the next. For 5.5-inch boards, use 2.75 inches in the calculator, which will double the board count.
What if my fence is not a straight line? Measure each straight segment separately and add the board counts together. Do not measure diagonally across corners, as that will give an incorrect length.
Related
Formula used
in L | Fence length | ft | 100 | 0 in w | Board width | in | 5.5 | 0 in g | Gap between boards | in | 0.5 | 0 out n | Number of boards | boards | ceil(L * 12 / (w + g)) | 0 out total | Total board length | ft | n * (w / 12) | 1
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.