TestTalkHQ • Carpentry Hub

Carpentry Calculators and Framing Tools

Practical layout math for carpenters and framers. Stairs, rafters, lumber volume, joist spans, deck beams, footings, deck post spacing, fence-line post spacing, ledger fastening, stud walls, headers, steel beams, and guardrail baluster spacing: interior stringers, exterior deck stairs, common rafter length, hip/valley rafter length, board feet, IRC joist tables, IRC deck beam tables, IRC deck footing tables, fence-line post on-center and bag counts (not deck beam posts), ledger-to-house fastener spacing, stud layout takeoffs, IRC door/window header tables, and the IRC R312.1.3 four-inch sphere rule as a starting point.

15Live calculators
7.75"Max rise (IRC)
10"Min run (IRC)
4"Sphere (IRC)
42Companion articles

Start Here

Measure finished floor to finished floor, then the horizontal going you actually have. Run the stringer calculator before you mark a 2x12. If the flag is FAIL, the well is the problem — not the saw. Mark from a story pole and one pattern stringer; troubleshoot uneven risers and squeaks only after the numbers match the house.

Main Carpentry Calculator Tools

Stairs · Framing

Stair Stringer Calculator

Number of steps, rise per step, run per step, stringer length, remaining throat, and a typical IRC pass/fail (max 7.75" rise, min 10" run).

Open Stair Stringer Calculator ->

Deck · Exterior

Deck Stair Calculator

Treated 2x12 open/basic-cut stringers, 2 or 3 stringers, step count, rise/run, length, remaining throat, and a typical IRC flag (same 7.75" / 10" as interior unless local amendments differ).

Open Deck Stair Calculator ->

Roof · Framing

Rafter Length & Roof Pitch Calculator

Common rafter length (plate to ridge and ridge to fascia), pitch in degrees and X/12, plumb-cut angle, and birdsmouth seat-cut angle. Toggle span vs run and pitch-direct vs rise+run. Hip/valley is a different calculation.

Open Rafter Length Calculator ->

Lumber · Estimating

Board Foot Calculator

Board feet per piece and total board feet from nominal thickness, width, length (feet or inches), and quantity. Optional $/board-foot estimated cost — leave price blank for volume only.

Open Board Foot Calculator ->

Framing · Spans

Deck & Floor Joist Span Calculator

Maximum tabulated joist span from IRC 2021 tables by species/grade, size, spacing, and floor vs deck. Starting point only — verify local code, the lumber grade stamp, and a licensed engineer outside standard prescriptive rows.

Open Joist Span Calculator ->

Framing · Beams

Deck Beam Span Calculator

Maximum tabulated beam span from IRC 2021 Table R507.5(1) by species group, 1/2/3-ply, size, and effective deck joist span. Starting point only — verify local code, the lumber grade stamp, and a licensed engineer outside standard prescriptive rows.

Open Deck Beam Span Calculator ->

Framing · Footings

Deck Footing Size Calculator

Minimum tabulated footing size from IRC 2021 Table R507.3.1 by live/snow load, tributary area, and soil bearing (1,500 / 2,000 / ≥3,000 psf). Starting point only — verify actual soil bearing locally, frost depth, adopted code, and a licensed engineer outside standard residential decks.

Open Deck Footing Size Calculator ->

Framing · Posts

Deck Post Spacing Calculator

Maximum tabulated post spacing from IRC 2021 Table R507.5(1) — the same cell as maximum beam span, labeled as on-center post spacing. Starting point only — verify local code, the lumber grade stamp, and a licensed engineer outside standard prescriptive rows.

Open Deck Post Spacing Calculator ->

Framing · Walls

Stud Wall Calculator

Stud count from wall length and 16" or 24" O.C. spacing (ceil(length ÷ spacing) + 1), top and bottom plate lengths, and optional door/window king, jack, and cripple extras. Layout takeoff — not a structural load calc.

Open Stud Wall Calculator ->

Framing · Openings

Header Size Calculator

Door and window header size from IRC Tables R602.7(1) and R602.7(2): opening width, species/grade, jack studs, snow or building width, and bearing vs partition. Starting point — verify local code.

Open Header Size Calculator ->

Roof · Hip / Valley

Hip / Valley Rafter Length Calculator

Hip and valley length from common-rafter run and pitch. Diagonal run = run × 1.4142, then length, plumb cut, and seat cut. Regular 90° corners only — starting point, not gospel.

Open Hip / Valley Rafter Calculator ->

Steel · Span

Steel Beam Span / Size / Deflection Calculator

W-shape steel beam span, section size, and deflection check when a landing header or beam is steel instead of wood. Starting point — verify loads and a licensed engineer for final design.

Open Steel Beam Span Calculator ->

Deck · Ledger

Deck Ledger Board Fastener Calculator

On-center spacing for 1/2" lag screws or 1/2" through-bolts from joist span (InterNACHI rule of thumb), plus fastener count for the ledger length. Starting point — verify IRC Table R507.9.1.3(1).

Open Ledger Fastener Calculator ->

Fence · Posts

Fence Post Spacing Calculator

Fence-line post count and bagged concrete from type, height, run, and wind — not IRC deck beam posts. Hole volume is a cylinder minus the post. Starting point — verify local frost line.

Open Fence Post Spacing Calculator ->

Deck · Guards

Guardrail Baluster Spacing Calculator

Baluster count, clear gap, and on-center spacing for one rail opening so a 4" sphere cannot pass (IRC R312.1.3). Always rounds the count up. Starting point — confirm local AHJ.

Open Guardrail Baluster Spacing Calculator ->

Guides, Troubleshooting & Comparisons

Fence Post Spacing and Concrete GuideType, height, wind, 3× hole, frost vs one-third depth, bag yields. Common Fence Post ProblemsLean, rot at grade, frost heave, panel sag, moving gate posts. Concrete vs Gravel vs Packed DirtWhen each setting method wins — none always wins. Deck Ledger Board Attachment RulesWhy the ledger is not stacked bearing — staggered rows, flashing, hold-downs. Common Deck Ledger Board ProblemsSiding-only fastening, failed flashing, wrong hardware, separation signs. Lag Screws vs Through-Bolts vs Structural ScrewsIRC path vs backside access vs ICC-ES structural screws. Stair Stringer Layout GuideHow the math works, how to mark with a framing square, how to cut without killing throat. Stair Stringer TroubleshootingUneven risers, squeaks, thin throat, and typical IRC failures. Open vs Closed (Housed) StringersWhich stringer type to use when — and when to mix a center carriage. Rafter Length & Pitch GuideHow the pitch triangle works, how to mark plumb cuts and the birdsmouth. Rafter Cutting TroubleshootingWrong angle, short/long rafter, ridge board misalignment. Common vs Hip / Valley RafterWhen common-rafter math applies — and when it does not. Hip / Valley Rafter Length GuideWhy hips use run × 1.4142, how plumb and seat come off that diagonal. Hip / Valley Rafter TroubleshootingLong/short at the ridge, backing-angle mistakes, seat-cut fit. Board Foot GuideWhat board feet are and why lumber is priced that way. Board Foot Estimating TroubleshootingNominal vs actual, waste factor, mixing BF with linear feet. Board Feet vs Linear FeetWhen yards price which way — and how to convert. Joist Span GuideHow tables work, and how to read a lumber grade stamp. Joist Span TroubleshootingBounce, sag, cracking, inherited framing that misses the table. Floor Joists vs Deck JoistsWhy the same 2x can have two allowable spans. IRC Joist Span TablesSpecies × size × spacing grids for floor and deck. Deck Beam Span GuideEffective joist span, plies, and why beams are built up from 2x members. Deck Beam Span TroubleshootingMidspan bounce, sag, adding a post vs upsizing the beam. Beam Span vs Joist SpanTwo IRC tables. Two load paths. Not interchangeable. IRC Deck Beam Span TablesSpecies × ply × size × effective joist span grids. Deck Footing Size GuideTributary area, soil bearing, and how to find the local number. Deck Footing Size TroubleshootingSettling, pulling away from the house, frost depth by region. Footing Size vs Post HeightTwo IRC tables for the same post. Sizing one does not size the other. IRC Deck Footing Size TablesLoad × tributary area × soil bearing grids. Deck Post Spacing GuideHow beam size, species, and joist load set maximum post spacing. Deck Post Spacing TroubleshootingBounce, inspector rejection, stair openings, poured footings. Post Spacing vs Beam SizeWhich to adjust first when the table cell does not fit the bay. Stud Wall Framing GuideHow spacing math works, 16" vs 24" O.C., and opening kings/jacks. Stud Wall Layout TroubleshootingCorner posts, intersections, and opening miscounts before you cut. 16" vs 24" O.C. FramingWhen each spacing is code-appropriate and the material tradeoff. Header Size Calculator GuideTributary load, span-table logic, RO vs cut length. Header Size TroubleshootingSagging headers, missing jacks, undersized bearing walls. Solid Sawn vs Built-Up vs LVLCost, span, and availability for opening headers. IRC Header Span TablesSize × building width × snow grids with NJ jack counts. Guardrail Baluster Spacing GuideWhy the 4" sphere exists, how to measure the opening, clear gap vs on-center. Baluster Spacing TroubleshootingFailed sphere checks, drifting layout, weak attachments, local amendments. Baluster vs Cable vs Glass GuardrailsWhich guard infill to use — install methods, cost, and maintenance.

Practical Notes / FAQ

Does this replace the code book?

No. The calculator flags typical IRC residential rise/run limits. Adopted code, local amendments, headroom, guards, and nosing still have to be checked on the job.

Why is this not under Machining & Fabrication?

Carpentry and framing are a separate vertical. Metal stairs and steel headers still live with fabrication and the steel beam calculator; wood stringers live here.

Will more framing calculators show up here?

Yes. This hub is the index for carpentry tools as they ship. Stairs, common rafters, hip/valley rafters, board-foot estimating, joist spans, deck beam spans, deck post spacing, fence-line post spacing (not the same as deck beam posts), deck footing size, deck ledger fastening, stud wall layout, door/window headers, steel beam span, and guardrail baluster spacing are live.

Related Hubs