Rafter Length Calculator Skip to main content
Shops & Outbuildings Free Pro Features Available

Rafter Length Calculator

Calculate Rafter Lengths, Bird's Mouth Cuts, Ridge Height, and Roof Area from Pitch and Span

Use this rafter geometry screen to compute local common rafter run, unit length, tail length, square-plan hip/valley prompts, a one-third notch-depth review prompt, and a gable roof-area geometry prompt from entered pitch, span, ridge thickness, overhang, spacing, and building length.

The output is preliminary geometry only. It is not rafter span approval, structural design, code-compliance proof, permit approval, inspection approval, material order verification, cut-list approval, roof assembly approval, fall-protection approval, scaffold approval, or jobsite work authorization. Verify adopted code, AWC/IRC span and design references, field layout, roof assembly, and site safety before construction or roof access.

Pro Tip: Treat the ridge-board thickness, HAP, bearing, fascia, and pattern-rafter fit as field-review prompts. The math can locate a geometry line, but the adopted code, roof plan, engineered details, and actual lumber/source conditions decide whether a layout is acceptable.

PREVIEW All Pro features are currently free for a limited time. No license key required.

Rafter Length Calculator

How It Works

  1. Enter Geometry Prompts

    Enter roof pitch, building span, ridge-board thickness, horizontal overhang, rafter spacing, rafter depth prompt, and building length.

  2. Review Unit Length

    Common rafter unit length uses sqrt(rise-squared + 144) inches per foot of run. A square-plan hip/valley prompt uses sqrt(rise-squared + 288).

  3. Review Total Geometry

    The app multiplies unit length by the common run after the ridge-thickness prompt and adds the horizontal overhang converted to slope length.

  4. Resolve Source Gaps

    Use the warnings to resolve adopted code, span sizing, notch/bearing detail, roof assembly, material order, cutting, and roof-work safety outside the app.

Built For

  • Framers checking local common rafter geometry before a pattern-rafter and code/field review
  • Carpenters comparing square-plan hip or valley geometry prompts before detailed roof layout
  • Estimators screening roof-area geometry before a verified material takeoff and supplier order
  • Designers documenting unresolved span, code, and roof-plan assumptions for qualified review
  • Inspectors or owners separating geometry prompts from structural adequacy and permit acceptance
  • Shed or outbuilding planners identifying when roof pitch, overhang, span, or safety review needs escalation

Features & Capabilities

Common and Hip/Valley Geometry Prompts

Computes unit length, common run, rafter length, tail length, and square-plan hip/valley prompts while keeping jack rafters and compound cuts explicit gaps.

Bird's Mouth Source Boundary

Shows a one-third notch-depth comparison as a review prompt, not code compliance, bearing approval, or cutting authorization.

Roof Area Geometry Prompt

Converts plan area to sloped gable area using the pitch slope factor, then warns that material order quantities require separate verification.

Source and Safety Warnings

Surfaces IRC/AWC/OSHA/NIST source pointers and residual gaps for structural design, roof assembly, field layout, and work-at-height safety.

PDF Export

Exports the same source-aware geometry prompts, assumptions, source warnings, and source pointers used on screen.

Assumptions

  • Roof framing is conventional stick-built with a ridge board (not a ridge beam or structural ridge).
  • Common rafter unit length uses sqrt(rise-squared + 144); hip/valley uses sqrt(rise-squared + 288).
  • The one-third bird's mouth comparison is a local review prompt, not a compliance or cutting decision.
  • Overhang is measured horizontally from the outside face of the wall to the fascia line.

Limitations

  • Does not perform structural analysis of rafter size, spacing, species, grade, loads, bearing, bracing, ties, connectors, uplift, or ridge support.
  • Does not determine adopted-code compliance, permit approval, inspection acceptance, AHJ interpretation, or engineered design.
  • Does not solve compound hip and valley intersections, unequal pitches, jack rafters, backing/drop, fascia details, HAP, or pattern-rafter fit.
  • Does not verify roofing product requirements, underlayment, low-slope waterproofing, sheathing layout, waste, flashing, ventilation, or material order quantities.
  • Does not approve roof access, fall protection, scaffold/ladders, training, competent-person inspection, rescue, weather, or employer safety procedures.

References

  • ICC-IRC-2024-CH8-ROOF-CEILING-SOURCE - 2024 IRC Chapter 8 roof-ceiling construction source pointer
  • AWC-SPAN-TABLES-JOISTS-RAFTERS-2012 - AWC span tables for joists and rafters source pointer
  • AWC-NDS-2024-SOURCE - AWC National Design Specification source pointer
  • OSHA-1926-501-FALL-PROTECTION-2026 - OSHA construction fall-protection duty source pointer
  • OSHA-1926-451-SCAFFOLDS-2026 - OSHA scaffold general requirements source pointer
  • NIST-SP811-B8 - unit conversion and rounding context

Frequently Asked Questions

No. It is a geometry prompt. Rafter span sizing, species, grade, roof loads, ties, bracing, bearing, connectors, uplift, adopted code, permits, and inspections require current code/AWC references and qualified review.
It is a local one-third notch-depth prompt for review. It does not approve the cut, bearing, HAP, connection, ridge system, load path, or adopted-code compliance.
The app uses a 45-degree plan assumption where the hip/valley unit run is sqrt(12 squared + 12 squared), or about 16.97 inches. Jack rafters, overhang geometry, backing/drop, compound cuts, and unequal pitches are not solved.
Use it only as a geometry prompt. Verified material orders still need the actual roof plan, waste, valleys, dormers, underlayment, flashing, ventilation, manufacturer instructions, supplier lengths, and field measurements.
No. Roof access, fall protection, scaffold/ladders, competent-person inspection, worker training, rescue, weather, and employer safety procedures must be resolved outside this app.
Disclaimer: Rafter geometry output is preliminary and source-aware. Do not use it as structural design, rafter span approval, code-compliance proof, permit document, inspection acceptance, cut-list approval, material order verification, roof assembly approval, fall-protection approval, scaffold approval, or safe-work authorization.

Learn More

Shops & Outbuildings

Rafter Framing: Common, Hip, and Valley Rafter Calculations

Source-boundary guide for common, hip, and valley rafter geometry prompts, bird's mouth review limits, roof-plan gaps, and structural/safety review.

Shops & Outbuildings

Roofing Material Source Boundaries: Squares, Slope Factor, and Waste Prompts

How to estimate roofing materials for shingles and metal panels. Slope factor, squares, bundles, underlayment, ice and water shield, and waste allowance.

Structural

Wood Beam Spans: NDS Allowable Stress Design Explained

How maximum spans are calculated per NDS. Species and grade design values, size factor, repetitive member factor, deflection limits, and why deflection usually controls residential spans.

Related Tools

Shops & Outbuildings Live

Shop Heater BTU Sizing Calculator

Calculate the exact BTU output your shop or garage heater needs. Factors in wall R-values, ceiling insulation, slab edge loss, overhead door infiltration, and air changes per hour to size propane, natural gas, and electric heaters correctly.

Shops & Outbuildings Live

Overhead Door Infiltration Loss Calculator

Calculate heat loss through overhead doors in shops, garages, and warehouses. Compares open-door vs closed-door losses, seal condition impact, and annual cost of infiltration with payback on door seals and high-speed doors.

Shops & Outbuildings Live

Long-Run Voltage Drop Calculator

Calculate voltage drop for long wire runs to detached shops, barns, garages, and outbuildings. Compares copper vs aluminum, shows motor starting voltage impact, and recommends the right wire size for your distance and load.