Decking & fencing

Decking Calculator

Calculate how many deck boards you need from your deck dimensions and the actual board size you plan to use. Estimate extra material, fasteners, and optional decking cost without assuming a structural deck design.

Deck dimensions

Enter the overall rectangular dimensions of the deck surface.

Board direction

Choose which deck dimension the boards will run parallel to.

Deck board size

Use the actual face width and stock length of the decking you plan to buy.

For example, a nominal 6-inch wood board may have an actual face width around 5.5 inches. Use the dimensions of the product you plan to purchase.

Board gap

Enter the planned side-to-side space between adjacent deck-board rows.

Extra board allowance

Optional — add whole boards for cuts, damage, spares, or other project-specific needs.

Fasteners

Optional — use the rate and package size for the actual screw, clip, or hidden-fastener system you plan to use.

Material prices

Optional — enter your supplier prices to estimate decking material cost.

Decking calculation guide

How to calculate how many deck boards you need

Start with the deck length and width, choose the direction the boards will run, and enter the actual board width, stock length, and planned gap. The Decking Calculator determines how many parallel board rows are needed, how many stock boards are required for each row, and the resulting whole-board purchase quantity.

Decking calculator formula

First determine the dimension perpendicular to the deck boards. This is the span that must be covered by board faces and the gaps between them.

Board rows neededRound up ((Span across boards + Gap) ÷ (Board width + Gap))

Next determine how many stock-length boards are required to complete one row:

Boards per rowRound up (Board run length ÷ Stock board length)

The base board quantity is:

Base boardsBoard rows × Stock boards per row

If an optional allowance is entered:

Boards to buyRound up (Base boards × (1 + allowance ÷ 100))

Decking calculation example

Suppose a rectangular deck measures 12 ft long by 10 ft wide. The boards run along the 12 ft direction, have an actual face width of 5.5 in, are sold in 12 ft lengths, and use a 0.25 in side-to-side gap.

Deck area12 × 10 = 120 ft²
Board run length12 ft
Span across rows10 ft = 120 in
Rows required(120 + 0.25) ÷ (5.5 + 0.25) → 21 rows
Stock boards per row12 ÷ 12 = 1
Base boards21 × 1 = 21 boards

With a 10% extra-board allowance, 21 × 1.10 = 23.1, so the purchase quantity rounds upward to24 whole deck boards.

Why does board direction matter?

Board direction determines which deck dimension is the length of each row and which dimension must be covered by multiple parallel rows.

Along deck length

The deck length becomes the board-run dimension. The deck width is covered by parallel board rows and their gaps.

Along deck width

The deck width becomes the board-run dimension. The deck length is covered by parallel board rows and their gaps.

Changing direction can therefore change both the number of rows and the number of stock boards needed to complete each row.

Why does the calculator use actual board width?

The installed coverage comes from the actual face width of the decking, not simply the nominal product name. Enter the real width listed for the board you plan to purchase.

For example, a board sold under a nominal size may have a smaller actual finished width. Using the product's actual dimension gives a more useful row estimate.

How are gaps between deck boards calculated?

If a deck requires N parallel rows, there are normally N − 1 internal side-to-side gaps between those rows. The calculator accounts for this directly when finding the number of rows required.

Total covered span(Rows × Board width) + ((Rows − 1) × Gap)

Because spacing requirements vary with decking products and installation systems, HomeMeasureWorks does not choose one universal board gap automatically.

The 0 in, 1/8 in, and 1/4 in buttons are convenient input shortcuts only. They are not universal installation recommendations.

What if one deck board is shorter than the row?

When the stock board is shorter than the required board-run length, multiple stock boards are counted for every row.

Stock boards per rowRound up (Board run length ÷ Board length)
The calculator intentionally does not assume that an offcut from one row can always be reused in another row. Real reuse depends on cut length, joint layout, board orientation, appearance, installation pattern, and project requirements.

What does final row width required mean?

The deck width may not divide perfectly into full board faces and the selected gaps. The calculator therefore shows how much board width is required in the final row to reach the entered deck edge.

Full-width final row

The required final-row width is effectively equal to one complete board face.

Partial-width final row

Less than a full board face is required, so some longitudinal trimming or ripping may be needed depending on the chosen layout.

The calculator reports the geometry but does not tell you where to place or balance ripped edge boards.

How does the extra deck board allowance work?

The optional allowance is applied after the base quantity of whole stock boards has been calculated.

Board allowanceBase boards × (1 + allowance ÷ 100)

The result is rounded upward to the next whole board. Extra material may be useful for cuts, damaged pieces, matching future repairs, or project-specific needs.

The 0%, 5%, 10%, and 15% buttons are shortcuts for entering a value. They are not universal purchasing recommendations.

Installed vs. purchased board length

Installed board length

Board rows × Board run length

This represents the nominal linear footage of decking running across the finished deck surface.

Purchased board length

Boards to buy × Stock board length

This represents the nominal linear footage contained in all whole stock boards purchased.

The difference is shown as nominal extra board length. It includes effects from stock-length rounding and any extra-board allowance.

Nominal extra linear footage does not guarantee that every cutoff is reusable.

How are deck fasteners estimated?

Fastener systems vary, so the Decking Calculator does not silently assume one screw or hidden-clip rate. Instead, enter the fastener rate appropriate for the actual decking and fastening system you are using.

Fasteners neededRound up (Deck area × Fasteners per 100 ft² ÷ 100)

If you also enter the number of fasteners in one package:

Fastener packsRound up (Fasteners needed ÷ Fasteners per pack)
Use the rate provided for the actual face-fastening, clip, or hidden-fastener system rather than treating the placeholder value as a recommendation.

How to estimate decking material cost

Deck board cost

Boards to buy × Price per board

Fastener cost

Fastener packs × Price per pack

The estimated material total combines whichever optional prices you enter.

It does not automatically include framing lumber, joists, beams, posts, footings, railing, stairs, fascia, hardware, flashing, delivery, taxes, labor, permits, demolition, or other project costs.

Does this calculator include deck framing?

No. This calculator estimates the surface decking boards and optional fasteners from the dimensions and product information you enter.

Structural framing depends on the actual deck design, materials, spans, loads, connections, site conditions, manufacturer requirements, and applicable local rules. HomeMeasureWorks does not invent joist spacing, beam sizes, post sizes, footing dimensions, or structural capacities.

Use the plans, product documentation, and applicable project requirements for structural deck framing.

Tips for a more accurate decking estimate

Measure the finished deck surface

Use the dimensions of the area that will actually receive decking.

Use actual board dimensions

Enter the real face width and stock length for the product you plan to buy.

Use the correct board direction

Direction changes which deck dimension must be covered by rows and which becomes the board-run length.

Verify board spacing

Enter the planned gap for the actual decking product and installation system.

Check available stock lengths

Different board lengths can substantially change the number of pieces and offcuts.

Verify the fastener system

Use the fastener quantity or coverage rate specified for the actual system being used.

Decking calculator FAQ

How do I calculate how many deck boards I need?

Determine how many parallel rows are required from the deck span, actual board width, and board gap. Then determine how many stock boards are needed for each row and multiply those two quantities. HomeMeasureWorks performs those calculations automatically.

Does the gap between deck boards affect the number of boards?

Yes. The side-to-side gaps occupy part of the deck span, so the calculator includes the entered gap when determining how many board rows are needed.

Should I use nominal or actual deck board width?

Use the actual face width of the product you plan to install. That is the physical width that contributes to deck-surface coverage.

Why does board direction change the result?

Board direction changes both the length of each row and the perpendicular span that must be covered by multiple rows. That can change the number of stock boards required.

What if my deck board is shorter than the deck?

The calculator rounds upward to the number of stock boards needed for each row. It does not assume that every cutoff from one row can be reused in another row.

What does partial-width final row mean?

It means the remaining width at the final edge is smaller than one full deck board. Depending on the layout, a board may need to be trimmed longitudinally to fit that remaining space.

Does extra board allowance change the number of rows?

No. Board rows describe the deck geometry. The optional allowance adds extra whole stock boards to the purchase quantity after the base board count is calculated.

How many deck screws or hidden fasteners do I need?

Enter the fastener rate for the actual system you plan to use. The calculator applies that rate to the deck area and rounds upward to a whole number of fasteners.

Can I calculate fastener packages?

Yes. Enter both the fastener rate and the number of fasteners per package. The calculator rounds the purchase quantity upward to whole packages.

Can I estimate decking cost?

Yes. Enter optional prices per deck board and per fastener package. The calculator shows the costs separately and combines the prices you provide into an estimated material total.

Does this Decking Calculator include joists, beams, posts, or footings?

No. It estimates surface decking and optional fasteners. Structural framing should come from the actual deck design and applicable project requirements.

Assumptions and limitations

This calculator assumes a rectangular deck surface with straight parallel board rows. It estimates board quantities from the dimensions, board direction, actual board width, stock length, gap, allowance, and optional fastener information you provide.

Stock-board quantities are rounded by row. The calculator does not assume that every cutoff can be reused elsewhere, and nominal extra linear footage should not be interpreted as guaranteed reusable material.

Irregular layouts, diagonal decking, picture-frame borders, breaker boards, herringbone patterns, transitions, stairs, fascia, railing, and other design details may require additional material or different calculations.

The calculator does not determine structural framing, joist or beam sizing, post or footing requirements, structural capacity, permits, or installation specifications.

See our calculation methodology for more about HomeMeasureWorks formulas, rounding, and assumptions.