Decking Calculator
Calculate exactly how many deck boards you need, total linear feet, board-feet, and estimated material cost. Supports all common decking materials — pressure treated pine, cedar, composite, redwood, and tropical hardwood.
Material quantities are estimates only. Actual requirements depend on deck shape complexity, board defect rates, cutting patterns, and local lumber pricing. Consult a licensed contractor for structural components including joists, beams, footings, and ledger attachment.
How to Calculate How Many Deck Boards You Need
Ordering the right number of deck boards before you start building saves time, money, and the frustration of a second lumber yard trip mid-project. The calculation is precise but straightforward: divide your deck width (in inches) by the effective width of one board (face width plus gap), multiply by how many boards run end-to-end across the deck length, and apply a waste factor. The result is the total number of boards to purchase.
The gap between boards is easy to overlook but it matters. On a 12-foot-wide deck using 5.5-inch boards with a 1/8-inch gap, you need 26 rows — not 26.2, but exactly 26 because you always round up. Without the gap in the calculation, you would estimate 25 rows and come up one row short on the actual deck. Multiply that error across a large deck and you can be short by several boards.
Board length selection also affects your order. Matching board length to deck length eliminates end joints in the field. A 16-foot deck decked with 16-foot boards has no butt joints. An 18-foot deck using 16-foot boards requires one row of boards to be joined end-to-end, which adds an aesthetic seam and requires proper staggering across adjacent rows for structural integrity.
Decking Calculator
Enter deck dimensions, board size, and click Calculate
Formulas Used
Deck Area
Area = Length × WidthWhere:
Length= Deck length in feetWidth= Deck width in feet
Example:
16 ft × 12 ft = 192 sq ft
Effective Board Width
Effective Width = Board Width + GapWhere:
Board Width= Actual face width in inchesGap= Spacing between boards in inches
Example:
5.5 in + 0.125 in = 5.625 in
Number of Rows
Rows = ceil(Deck Width (in) ÷ Effective Width)Where:
Deck Width (in)= Deck width converted to inchesEffective Width= Board width plus gap in inches
Example:
ceil(144 in ÷ 5.625 in) = 26 rows
Boards Per Row
Boards per Row = ceil(Deck Length ÷ Board Length)Where:
Deck Length= Deck length in feetBoard Length= Selected board length in feet
Example:
ceil(16 ft ÷ 12 ft) = 2 boards
Total Boards with Waste
Total Boards = ceil(Rows × Boards per Row × (1 + Waste%))Where:
Rows= Number of rows across deck widthBoards per Row= Number of boards in each rowWaste%= Waste allowance as decimal
Example:
ceil(26 × 2 × 1.10) = 58 boards
Deck Board Materials: A Complete Comparison
The material you choose for your deck surface affects upfront cost, long-term maintenance, durability, and appearance. Each material has clear strengths and trade-offs.
Pressure Treated Pine
Pressure treated pine is the most widely used decking material in North America because of its low cost and availability. The wood is infused with preservative chemicals (typically copper azole or alkaline copper quaternary) under pressure, which protects it from rot, fungal decay, and insect damage. Untreated pine would last 3–5 years outdoors; properly treated and maintained pressure treated pine lasts 15–25 years or more.
The main drawbacks are aesthetics and maintenance. Freshly treated lumber has a green tint that fades over time but can also check (develop lengthwise cracks) and warp if not properly fastened and sealed. Pressure treated wood must be sealed every 1–2 years to prevent weathering. Always wear gloves when handling treated lumber and wash hands thoroughly afterward. Never burn treated wood offcuts — the chemicals are toxic when combusted.
Cost: $1–$3 per linear foot for 5/4×6 pressure treated deck boards (the most common profile).
Cedar
Western red cedar is naturally rot-resistant and insect-repellent due to its oils and tannins, making it an attractive alternative to pressure treated pine for homeowners who prefer a chemical-free option. Cedar is dimensionally stable, resists warping and shrinking, and has a beautiful reddish-brown color that ages to a silvery gray if left unfinished.
Cedar is softer than most hardwoods, making it easier to work with hand tools and limiting the chance of splitting when fastening. The trade-off is that cedar dents and scratches more easily under heavy traffic. Annual oiling or sealing extends the life and maintains the color. Cost: $2–$5 per linear foot.
Composite Decking
Composite decking is manufactured from a blend of recycled wood fiber and plastic (polyethylene or PVC). Leading brands include Trex, Fiberon, TimberTech, and Azek. Composite decking does not rot, splinter, or require staining and sealing — it only needs occasional cleaning with soap and water.
Modern composite boards are available in a wide range of colors and wood-grain textures and are consistently dimensionally stable. The primary drawbacks are higher upfront cost and heat retention — composite decks can get significantly hotter than wood under direct sun, which matters for barefoot comfort in southern climates. Composite boards also have specific gap requirements (3/16 to 1/4 inch) to allow for thermal expansion, especially in climates with large temperature swings.
Cost: $3–$8 per linear foot for mid-range composite boards. Premium capped composite boards (with a full plastic cap for maximum stain and fade resistance) run $6–$12+ per linear foot.
Redwood
California redwood is another naturally durable option with excellent rot and insect resistance. Old-growth redwood (heartwood) is highly durable but increasingly rare and expensive. New-growth redwood (sapwood) has less natural resistance and requires treatment similar to cedar. Redwood has a warm reddish color that is very appealing aesthetically. Cost: $4–$8 per linear foot.
Tropical Hardwoods (Ipe, Tigerwood, Cumaru)
Tropical hardwoods like ipe (also called Brazilian walnut) are among the most durable decking materials available. Ipe is rated Class A fire resistant, has a density that makes it sink in water, and can last 40–75 years with minimal maintenance. It is virtually impervious to insects, rot, and weathering.
The challenges with tropical hardwood are cost, workability, and sustainability. It is expensive ($6–$15+ per linear foot), extremely hard (blunts saw blades and drill bits quickly), and requires pre-drilling for every fastener. Always source tropical hardwood certified by the Forest Stewardship Council (FSC) to ensure legal and sustainable harvest. The beauty and longevity make it a premium choice for high-end deck projects.
Why Board Spacing Matters: Gaps for Drainage and Expansion
The gap between deck boards serves two critical functions: drainage and dimensional movement. Water that sits between boards accelerates wood decay and fastener corrosion. Allowing water to drain freely keeps the deck surface drier and extends the life of both the boards and the framing below.
Wood also expands and contracts with changes in moisture content. A pressure treated board installed wet (as most are sold) will shrink as it dries. If installed tight (no gap), the boards often dry to the correct spacing naturally. If you install dry wood (acclimated kiln-dried cedar or redwood) you should leave the specified gap from the start because the boards will not shrink further.
Composite boards have a different dynamic — they expand and contract with temperature, not moisture. In cold climates, a 20-foot composite board can be 1/2 inch shorter in winter than in summer. Composite manufacturers specify minimum end gaps and side gaps to accommodate this expansion. Always follow the manufacturer's installation guide for composite decking — failing to do so can cause buckling in hot weather.
Standard gaps: 1/8 inch (3mm) between boards for wood decking. 3/16 to 1/4 inch for composite. Never install composite boards tighter than the manufacturer's minimum gap specification.
Decking Patterns: Straight, Diagonal, and Herringbone
The pattern in which you lay deck boards affects the look, material requirements, and structural demands on the framing beneath.
Straight (Perpendicular) Pattern
The most common pattern runs boards perpendicular to the ledger (parallel to the house). This is the most material-efficient layout — you need 10% waste allowance for cuts and defects. Straight runs are also the easiest to install and require the least cutting. Joist spacing can be standard 16 inches on center.
Diagonal Pattern (45 Degrees)
Running boards at 45 degrees creates visual interest and an upscale appearance. The trade-off is significantly more cutting — every board end must be mitered at 45 degrees — which increases waste to 15–20%. Diagonal decking also requires joists spaced at 12 inches on center rather than 16 inches, because the boards span a greater effective distance between joists. This framing change must be planned from the beginning of your project.
Herringbone and Chevron Patterns
Herringbone and V-pattern decks are striking but complex. They require a center beam to support the mitered board ends, careful planning of board lengths, and 20–25% waste allowance. These patterns are best suited to experienced builders or professional contractors.
Picture Frame Border
A picture frame border runs boards perpendicular to the field boards around the perimeter of the deck, framing it like a picture. This requires blocking between joists at the perimeter to support the border boards, and adds 10–15% more material for the border alone. It is a popular choice for composite decking because the clean lines complement the material's refined appearance.
Fasteners and Hardware for Deck Boards
Choosing the right fasteners is as important as choosing the right decking material. The wrong fasteners cause rust staining, corrosion, and board failure.
Deck Screws (Face Fastening)
Stainless steel or hot-dipped galvanized (HDG) deck screws are the standard fastener for most wood decking. Use #10 × 3-inch screws for 5/4 decking into 2× framing, or 3.5-inch screws when going through composite boards into wood framing. Standard zinc-plated screws (bright screws) will rust rapidly outdoors and stain the wood — never use them for exterior decking. In coastal environments (within 1 mile of salt water), use stainless steel fasteners exclusively.
Spacing: two screws per joist crossing per board. Pre-drill within 1 inch of board ends to prevent splitting — especially important for tropical hardwoods and cedar.
Hidden Fasteners
Hidden fastener systems (Ipe Clip, Camo, Tiger Claw) install between boards at each joist, holding boards from the side rather than face-screwing through the top. This gives a clean screw-free surface, virtually eliminates surface splitting, and allows more natural board movement. Hidden fasteners are widely used with composite decking and premium wood species. They cost more than screws (approximately $0.50–$1.50 per fastener vs. $0.10–$0.30 for screws) but the finished appearance is premium quality.
Joist Hanger Hardware
Joist hangers, post bases, post caps, and structural ties are structural connectors, not decking hardware, but they are critical to deck safety. Use only Simpson Strong-Tie or equivalent connectors rated for the specific lumber dimensions and loads. All structural connectors must be compatible with the preservative chemicals in the treated lumber — standard galvanized connectors are suitable for most treated lumber, but stainless steel is required for some new preservative formulations (check the lumber label).
Joist Spacing and Its Effect on Decking
The distance between deck joists (the horizontal framing members the boards rest on) determines how much support each board has and which board thicknesses are appropriate for your span.
Standard joist spacing is 16 inches on center for most wood decking applications. For 5/4 (five-quarter) boards — the most common deck board profile at approximately 1 inch thick — 16-inch spacing is the maximum recommended span for straight patterns. For thinner boards or diagonal patterns, reduce to 12 inches on center.
Composite decking manufacturers typically specify maximum joist spacing in their installation guides. Most composite products allow 16 inches on center for perpendicular installation and require 12 inches on center for diagonal installation. Always check the manufacturer's specification — using wider spacing than allowed voids the product warranty and can cause visible flexing or "trampoline" effect underfoot.
Ledger Attachment and Structural Considerations
The ledger board is the horizontal framing member bolted to the house structure that supports one end of the deck joists. Improper ledger attachment is one of the leading causes of deck failures and collapses. This is not a place to cut corners.
The ledger must be attached to the house's band joist or rim board using lag screws or through-bolts in a pattern specified by your local building code (typically 2× 1/2-inch lag screws in a staggered pattern every 16 inches). The house siding, sheathing, and moisture barrier must be properly flashed at the ledger connection to prevent water infiltration behind the ledger — a common cause of rotting the house structure.
In many jurisdictions, a building permit is required for any attached deck, specifically because the ledger attachment must be inspected. Freestanding decks (not attached to the house) avoid the ledger issue but require additional footings and posts to support the side that would otherwise rest on the ledger. Always consult your local building department and obtain required permits before starting construction.
Waterproofing, Sealing, and Deck Maintenance
A sealed and maintained wood deck lasts significantly longer than one left untreated. The maintenance schedule varies by material.
Pressure Treated Pine Maintenance
New pressure treated lumber should not be sealed immediately — allow it to dry for at least 6 months (often a full season) before applying a sealer or stain. Test readiness by sprinkling water on the surface: if it beads up, the wood is still too wet to absorb sealer. Once ready, apply a penetrating water repellent sealer or a semi-transparent stain. Reapply every 1–2 years as needed. Annual cleaning with a deck cleaner and brightener removes mildew, tannin stains, and UV graying.
Cedar and Redwood Maintenance
Cedar and redwood can be left natural to weather to a silvery gray, or sealed to maintain the original color. Apply a UV-blocking oil-based penetrating sealer annually for color preservation. Avoid film-forming paints and solid stains on horizontal deck surfaces — they trap moisture and peel. Semi-transparent stains that penetrate the wood are the best choice.
Composite Decking Maintenance
Composite decking is the lowest-maintenance option. Clean twice annually (spring and fall) with a composite deck cleaner and a stiff brush. For stubborn stains (grease, rust), use the manufacturer's recommended cleaner. Never use a pressure washer with a concentrated nozzle — it can damage the surface cap of capped composite boards. Use a wide fan tip and keep the pressure below 1,500 PSI if pressure washing is necessary.
Common Decking Mistakes and How to Avoid Them
- Using nominal width instead of actual face width: A nominal 1×6 board is 5.5 inches wide — not 6 inches. Using 6 inches in your calculation results in too few boards. Always use actual dimensions.
- Forgetting the gap: The gap between boards adds up. On a 12-foot-wide deck with 5.5-inch boards and no gap in the calculation, you estimate 26.18 rows → 27 rows. With a 1/8-inch gap correctly added, you get 25.6 rows → 26 rows. One full extra row of boards.
- Applying 10% waste to a diagonal pattern: Diagonal installation requires cutting each end at 45 degrees, generating far more waste. Use 15–20% for diagonal patterns.
- Skipping permits: An un-permitted deck can become a significant problem when selling a home. Buyers' inspectors will find it; lenders may refuse to finance the sale. The permit process also ensures your deck meets minimum safety standards.
- Installing wet boards tight with no gap: If pressure treated boards are installed wet and tight, they will shrink and create gaps larger than intended. Or, if they cannot shrink, they cup. Install at the specified gap regardless of moisture content.
- Not pre-drilling near ends: Driving a screw within 1 inch of the end of a board without pre-drilling almost always splits the end, especially in drier wood. Pre-drill every fastener location within 2 inches of a board end.
- Using incompatible fasteners with treated lumber: The preservatives in modern ACQ and CA treated lumber corrode standard galvanized fasteners rapidly. Use hot-dipped galvanized (not electroplated) or stainless steel fasteners with treated lumber.
Pro Tips for a Long-Lasting Deck
- Crown boards up: Wood boards have a natural crown (slight curve across the width). Install crown-side up so the center of each board is slightly elevated — water runs toward the gaps rather than pooling in the center.
- Snap chalk lines every 8–10 rows: Even small errors in gap width accumulate over many rows. Check alignment frequently and adjust the gap by a millimeter or two if rows are drifting.
- Seal cut ends immediately: The cut ends of pressure treated lumber are the most vulnerable to moisture intrusion. Brush cut ends with copper naphthenate end-cut preservative immediately after cutting.
- Use a jig for consistent spacing: A simple spacer block (a piece of composite trim or a tile spacer cut to the gap width) ensures every gap is identical without measuring. Slide the spacer from board to board as you fasten.
- Acclimate composite boards: Allow composite boards to acclimate on-site for 24–48 hours before installation. In cold climates, composite boards installed in winter will expand significantly in summer — ensure you are respecting minimum gap requirements at installation temperature.
- Stagger end joints: When boards must be joined end-to-end, stagger the joints so no two adjacent rows have a joint in the same bay. End joints should land on the center of a joist and each board end should be supported. Never allow two adjacent board ends to meet over the same joist.
Frequently Asked Questions
Related Calculators
Authoritative Resources
- Prescriptive Residential Wood Deck Construction Guide
American Wood Council (AWC) — The American Wood Council's authoritative guide to residential wood deck framing, ledger attachment, and structural requirements.
- Decking Installation & Maintenance Guide
Trex Company — Installation specifications, gap requirements, and maintenance instructions for composite decking products.
- Wood Decks: Life Expectancy and Maintenance
University of Maryland Extension — University research on wood deck longevity, treatment options, and maintenance schedules.
Material quantities are estimates only. Actual requirements depend on deck shape complexity, board defect rates, cutting patterns, and local lumber pricing. Consult a licensed contractor for structural components including joists, beams, footings, and ledger attachment.
Calculator Assumptions
- Board widths used are actual face widths: 3.5in for 1×4 nominal, 5.5in for 1×6 nominal
- Gap of 1/8 inch or 1/4 inch is added to board width to determine spacing
- Waste factor of 10% is standard for straight patterns; use 15–20% for diagonal
- Boards run perpendicular to joists (standard straight pattern)
- Fastener estimate: 2.5 fasteners per board at $0.25 per fastener
- Board-feet calculation uses nominal 1-inch thickness
- Deck shape is assumed rectangular
Pro Tips
- ✓Match board length to deck span to minimize end joints — a 16 ft deck with 16 ft boards has no end joints
- ✓Acclimate pressure treated lumber 1–2 weeks on-site before installing (allows moisture equalization)
- ✓Use stainless steel or hot-dipped galvanized fasteners for coastal and wet climates
- ✓Run a string line or chalk line every 8–10 rows to check alignment and adjust gap
- ✓Crown the boards up — the crown side faces up so water sheds away from the center
- ✓Pre-drill within 1 inch of board ends to prevent splitting
- ✓Seal cut ends of pressure treated lumber immediately with copper naphthenate