The Build Calculator

Carpentry & Roofing Calculators

These free carpentry calculators work out stair risers and treads, rafter lengths, roof pitch, deck framing and board feet, then turn the design into a materials list: boards, sheets, bundles of shingles and feet of gutter.

Carpentry math is where small errors compound. One wrong riser height can fail a whole staircase at inspection, and a roof pitch that’s slightly off changes every rafter cut. The stair and baluster calculators check their results against common IRC limits.

All 14 carpentry & roofing calculators

Stair CalculatorHow many steps for your rise? A 40″ rise takes 6, a 48″ rise takes 7 and an 8 ft floor takes 14.Board Foot CalculatorCalculate board feet for one board or a lumber order, plus linear feet, cost and square-foot conversions.Rafter CalculatorCalculate common rafter length from run and roof pitch, including overhang.Roof Pitch CalculatorCalculate roof pitch from rise and run, convert pitch to degrees, and find slope multipliers for estimating roofing materials.Roofing CalculatorEstimate roofing materials from your house footprint and pitch: roof squares, shingle bundles, underlayment rolls, nails, material cost and installed price.Gutter CalculatorCalculate the gutter sections, downspouts, hangers, elbows, end caps and corners for a DIY gutter install or replacement, plus 5 vs 6 inch gutter sizing.Shingle CalculatorWork out how many bundles of shingles you need from roof area.Siding CalculatorCalculate siding in squares and panels from wall measurements, minus doors and windows, with waste factor and cost estimate for vinyl and fiber cement.Board and Batten Calculator16″ or 24″ batten spacing? 16″ suits most interior walls; 24″ suits exterior panel siding and tall walls.Fence CalculatorCalculate the posts, rails, pickets and concrete bags for a wood privacy or picket fence from its length.Deck CalculatorWork out the deck boards, joists, hangers, screws and footings for any deck size, with 10% waste included.Baluster Spacing CalculatorFind how many balusters (spindles) you need and the exact even gap between them for any deck or stair railing.Deck Stain CalculatorFind how many gallons of deck stain you need for the floor, railings and steps.Plywood CalculatorFind how many 4x8 sheets of plywood or OSB you need for a subfloor, wall sheathing or roof deck, with openings subtracted, waste added and cost per sheet.

Project guides

Which calculator do I need?

Your projectUse
Building stairs or deck stepsStair Calculator
Building a deckDeck Calculator, Baluster Spacing Calculator, Deck Stain Calculator
Roof framing and raftersRafter Calculator, Roof Pitch Calculator
Re-roofingRoofing Calculator, Shingle Calculator, Gutter Calculator
Framing a wallStud Calculator
Siding and exterior wallsSiding Calculator, Board and Batten Calculator
FencesFence Calculator
Sheathing, subfloor and sheet goodsPlywood Calculator
Buying lumber or hardwood for woodworkingBoard Foot Calculator

Tips before you order

  • Measure total rise to finished surfaces. A stair calculated to bare framing will be off by the thickness of every tread.
  • Studs, joists and rafters are usually laid out at 16 or 24 inches on center. Closer spacing uses more lumber but gives a stiffer frame.
  • Roofing is sold by the square: one square covers 100 sq ft, usually 3 bundles of architectural shingles.
  • Codes vary. The calculators check common IRC limits, but your local building department has the final say.

Frequently asked questions

What is the standard rise and run for stairs?+

Most residential stairs use a 7 to 7¾-inch rise and a 10 to 11-inch run. The IRC limits risers to 7¾ inches and requires treads of at least 10 inches. The stair calculator divides your total rise into equal risers within those limits.

How far apart are rafters spaced?+

Most houses use rafters at 16 or 24 inches on center; a common setup is 2×8s at 16 inches for spans up to about 12 feet. To count rafters for one side of the roof, divide the wall length in inches by the spacing and add one. The rafter calculator then gives the length of each.

What does a roof pitch like 6/12 mean?+

Pitch is the rise in inches for every 12 inches of horizontal run, so a 6/12 roof rises 6 inches per foot, about 26.6°. The roof pitch calculator converts rise and run to pitch, degrees and the slope multiplier used to estimate roofing.

How far apart should deck balusters be?+

Code requires that a 4-inch sphere can’t pass between balusters, so the clear gap must be under 4 inches. The baluster spacing calculator works out the count and exact even spacing for any railing length.

How many bundles of shingles are in a square?+

Three bundles of standard architectural shingles cover one square (100 sq ft). Some heavier designer shingles need four or five bundles per square, so check the wrapper.

What is a board foot?+

A board foot is a volume of lumber 12 × 12 × 1 inches (144 cubic inches). Hardwood is priced by the board foot, and the board foot calculator converts any board dimensions and quantity to board feet and cost.

More calculators