Rafter Calculator Pro
Calculate rafter lengths, angles, birdsmouth cuts, ridge reduction, and full roof structure. Interactive SVG diagrams with real-time results for professional carpenters and DIY enthusiasts.
Input Parameters
All measurements update calculations in real-time.
Calculated Results
Results update automatically as you change inputs.
Ridge Reduction & Plumb Setback
These adjustments ensure your rafters meet perfectly at the ridge beam and the plumb cut is correctly positioned. The Plumb Setback tells you how far back from the ridge to measure to form the plumb cut.
Formula Derivation
Full Roof Structure Profile
Visualize your complete roof and wall structure. See the ridge height, eave clearance, and total span in one comprehensive diagram.
Step-by-Step Rafter Cutting Guide
Follow these three precision cuts to transform a board into a perfect rafter.
Ridge Cut (Top)
Plumb cut at ridge end
- ①Measure Total Rafter Length from the tail end
- ②Mark the plumb line at the ridge point
- ③Cut along the plumb line at 68.0°
- ④Subtract Ridge Reduction: 0-13/16"
Birdsmouth Cut
Seat + plumb notch at wall
- ①Measure 12' 3-1/2" from ridge cut along rafter edge
- ②This point marks the birdsmouth location
- ③Mark seat line (horizontal, 22.0°) and plumb line
- ④Verify HAP ≥ 1/3 rafter depth (critical!)
Tail / Fascia Cut
Eave end for fascia board
- ①The tail cut forms the eave end of the rafter
- ②Overhang: 0-1/8" beyond wall outer face
- ③Option A: Cut plumb (90°) for standard fascia
- ④Option B: Cut 68.0° for angled look
This cutting guide is for educational reference only. Always verify measurements on-site before cutting. Local building codes, snow load, wind load, and seismic requirements vary — consult a licensed structural engineer or architect before any construction. Never cut more than 1/3 of the rafter depth for the birdsmouth notch (HAP ≥ 2/3 of depth).
Common Roof Pitches Quick Reference
Standard roof pitch classifications with typical applications and geographic recommendations.
| Pitch (X:12) | Angle | Class | Typical Uses & Notes | Snow/Wind |
|---|---|---|---|---|
| 9.46° | Flat-Low | Porch overhangs, shed roofs, modern low-slope designs. Requires proper membrane drainage system. NOT recommended for heavy snow areas. | ❌ Poor | |
| 14.04° | Very Low | Modern residential, metal roofing, shed-style homes. Minimum slope for asphalt shingles (some manufacturers require 4:12). | ⚠️ Moderate | |
| 18.43° | Low | Most common minimum for asphalt shingles. Ranch-style homes, warm climates with low snowfall. Economical material use. | ⚠️ Mild | |
| 22.62° | Medium-Low | Southern US residential, moderate climate. Balances material cost with water shedding capability. | ✅ OK-Mild | |
| 26.57° | Standard | ⭐ Most popular pitch in North America. Works with all roofing materials. Classic gable roof look. Safe for DIY projects. | ✅ Moderate | |
| 30.26° | Medium | Transitional Northeast/Midwest homes. Better snow shedding than 6:12. Still walkable with care. | ✅ Good | |
| 33.69° | Medium-High | Traditional Northeast, Midwest, mountain homes. Excellent snow shedding. Requires roofing boots for safe walking. | ✅ Very Good | |
| 36.87° | Steep | Heavy snow regions (Rocky Mountains, Canada). Colonial, Cape Cod style. Walkable with extreme caution, use safety harness. | ⭐ Excellent | |
| 39.81° | Very Steep | Alpine, ski chalets, historic European designs. Maximum snow shedding. Safety ropes required for any roof work. | ⭐ Excellent | |
| 45.00° | Extremely Steep | Gothic Revival, dramatic architectural statement, premium custom homes. Roof work requires scaffolding. High material cost. | ⭐ Max Snow |
4:12 to 6:12 can be walked without extensive safety equipment. Wear slip-resistant boots.
7:12 to 9:12 require toe boards or safety harness. Roof brackets recommended.
10:12 and above require scaffolding. Consider professional installation only.
Rafters vs. Roof Trusses
Understand the tradeoffs between traditional stick framing and modern pre-fabricated truss systems.
Stick-Framed Rafters
Built on-site, piece by piece
Open web design leaves full attic usable for storage, bonus rooms, or HVAC runs.
Easily adapt to irregular floor plans, dormers, skylights, or architectural details.
Framers carry individual boards. No crane needed for delivery or installation.
Cutting and installing rafters takes 2–4× longer than trusses for comparable roof.
Precision layout and math (what our calculator helps with!). Quality depends on carpenter.
Beyond 16–20 ft span requires collar ties, rafter ties, or heavy dimensional lumber.
Pre-Fabricated Trusses
Engineered, assembled in factory
Entire roof framed in a single day. Dramatic labor savings on site.
Professionally engineered for exact loads. Every truss identical, no human error.
Triangulated design spans garages, great rooms without intermediate support.
Internal webbing blocks usable attic space. "Attic trusses" cost more and reduce span.
Require truck delivery and often a crane to lift into place on the foundation.
Cutting a truss web voids the engineering. Must order custom for complex shapes.
⏱️ Quick Side-by-Side Comparison
| Installation Time | 🪵 2–4 days on site | 🔺 1 day with crew + crane |
| Labor Cost (Typical US) | 🪵 High ($15–35/sqft) | 🔺 Low ($5–15/sqft) |
| Material Cost | 🪵 2×6 to 2×12 dimensional | 🔺 2×4 chords, metal plate gussets |
| Max Span | 🪵 16–20 ft (simple) | 🔺 60–80 ft (engineered) |
| Usable Attic | 🪵 ✅ Full height available | 🔺 ❌ Webs block (specialty only) |
| Design Changes | 🪵 ✅ Easy on-site | 🔺 ❌ Requires re-order |
| Dormers & Complexity | 🪵 ✅ Natural fit | 🔺 ⚠️ Custom trusses $$ |
| Weight on Walls | 🪵 Heavier (solid timber) | 🔺 Lighter (distributed loads) |
Popular Roof Type Styles
The gable roof our calculator handles is just the start. Here are 7 common roof styles and when to use each.
Gable (Peaked)
⭐ Most Common · 40% of US homes
Two sloped sides meeting at a central ridge. Simple, classic, excellent water shedding. This is what our calculator is designed for.
Hip Roof
High wind / hurricane zones
All four sides slope downward from the ridge. More complex, stronger against wind, no gable ends for siding.
Shed / Lean-To
Porches, additions, modern design
Single flat slope, easiest to frame. Common for outbuildings, carports, and contemporary architecture.
Gambrel (Barn)
Barns, Dutch Colonial, sheds
Two pitches per side: shallow upper, steep lower. Maximizes attic/loft space with the Dutch bend.
Mansard
French Second Empire style
Four gambrel-style sides, often with dormer windows. Creates full upper floor. Classic Parisian look.
Dormer (Add-on)
Attic conversions, natural light
Structure projecting from existing slope to add window, headroom, or architectural detail. Adds complexity.
Butterfly / V-Roof
Modern eco homes, rain collection
Inverted gable — two slopes meeting in a central valley. Modernist, great for solar panels, rainwater harvesting.
Flat / Low-Slope
Commercial, modern residential
Very low pitch (0–2:12). Requires TPO, EPDM, or built-up roofing membrane. Drainage is the #1 concern.
Combination
Custom homes, unique lots
Mix of gables, hips, shed, and dormers. Most interesting rooflines require multiple framing systems.
Rafter Math: Complete Formula Guide
Master the geometry behind every rafter calculation with our comprehensive formula reference.
Rafter Line Length
The diagonal length of the rafter from the wall plate to the ridge, including the overhang. Uses right triangle trigonometry where the total horizontal distance (run + overhang) is the adjacent side and the rafter is the hypotenuse.
Plumb Setback
The horizontal distance to measure back from the ridge plumb cut line to correctly position the plumb cut. This accounts for the rafter's depth and roof pitch, ensuring the plumb cut forms a perfect vertical line when installed.
Total Rafter Length
The actual length of material to cut. Adds the plumb setback to the line length so you have enough stock to form the plumb cut at the ridge end of the rafter.
Cut Angles
Seat = Pitch
The plumb cut angle (top of rafter) is always complementary to the pitch. The seat cut angle (bottom notch) equals the pitch angle. Set your circular saw or table saw to these angles for precise cuts.
Specialty Roofing & Framing Calculators
Beyond the main rafter calculator, these dedicated tools estimate floor joist spans, convert roof pitch to degrees, size roof trusses, budget truss costs, and calculate gable rafters, lean-to rafters, roof overhangs, and pergola framing.
Floor Joist Span Calculator
Interactive floor joist span lookup with reference span charts for 2x6–2x12, deck joist spacing, and joist count estimation.
Open calculator →Roof Pitch Calculator
Interactive roof pitch calculator: convert X/12 to degrees, slope percent, and angle, plus a common pitch chart and measuring guide.
Open calculator →Roof Truss Calculator
Roof truss span estimator and selection guide comparing King Post, Queen Post, Fink, and Warren trusses by span, cost, and complexity.
Open calculator →Rafter Lumber Size Calculator
Free rafter lumber size calculator for rafters, joists & beams. Find 2x6, 2x8, 2x12 max spans, wood species, beam span & rafter dimensions fast.
Open calculator →Roofing Calculator
Free roofing calculator to estimate roof materials, pitch, rafters & load. Convert roof framing, figure roof rafters, and size roofing spans in one hub.
Open calculator →Roof Height Calculator
Free roof height calculator: enter span and pitch to get ridge height and roof rise in feet-inches, plus a height lookup table and clearance notes.
Open calculator →Rafter Angle Calculator
Free rafter angle calculator: get plumb cut, seat cut, and birdsmouth angles from roof pitch, plus a cut-angle chart and saw bevel settings.
Open calculator →Roof Ridge Height Calculator
Roof ridge height calculator compares Gable, Hip, and Shed ridge height and estimates roof size, length, and area from span and pitch.
Open calculator →I-Joist Span Calculator
I-joist span calculator with TJI span tables by series, spacing, and load. Compare wood I-joist to solid lumber and find the right I-joist size.
Open calculator →Roof Truss Cost Calculator
Roof truss cost calculator estimates truss prices per type. Compare King, Queen, Fink, Warren, and Scissor truss costs and installation.
Open calculator →Lean-to Roof Calculator
Lean-to roof calculator finds rafter length, pitch, and slope for single-slope roofs. Calculate lean-to rafters, skillion, and shed roof slope.
Open calculator →Gable Roof Calculator
Gable roof calculator computes rafter length, plumb cut, roof area, and sheathing. Compare gable vs hip roof and convert hip to gable framing.
Open calculator →Roof Overhang Calculator
Roof overhang calculator finds eave length, fascia height, and soffit area from rafter span and pitch. Includes IRC overhang limits.
Open calculator →Pergola Rafter Calculator
Pergola rafter calculator finds rafter count, spacing, span, and slope for freestanding or attached pergolas. Includes 12/16/24 inch OC charts.
Open calculator →Metal Roof Calculator
Metal roof calculator estimates panel count, panel length, and waste factor. Includes a minimum slope chart for standing seam, corrugated, and 5V crimp panels.
Open calculator →Rafter Load Calculator
Rafter load calculator converts snow, dead, and live loads into a per-rafter line load, then suggests a rafter size with deflection and shear checks.
Open calculator →Rafter Tie Calculator
Rafter tie calculator finds horizontal thrust, tie tension, and the span reduction for raised ties. Compare rafter tie vs collar tie placement rules.
Open calculator →Gambrel Rafter Calculator
Gambrel rafter calculator computes upper and lower rafter lengths, four cut angles, and ridge height for barn roofs. Includes pole barn and 40 ft presets.
Open calculator →Gazebo Rafter Calculator
Gazebo rafter calculator sizes hip and common rafters for hexagon and octagon roofs, with cheek cut angles, birdsmouth layout, and 6/8/12-side examples.
Open calculator →Ridge Beam Calculator
Ridge beam calculator compares ridge board vs structural ridge beam, sizes beam spans and ridge posts, and explains cathedral ceiling framing rules.
Open calculator →Rafter Tables
Rafter table calculator: length factors for 1/12 to 24/12 pitch, hip and valley factors, HAP and seat cut tables, printable worksheet, and metric chart.
Open calculator →Rafter Insulation Calculator
Calculate insulation R-value, batt depth, and vent baffle gap between roof rafters. Free calculator for cathedral ceilings and enclosed rafter bays.
Open calculator →Board Feet Calculator
Board feet calculator with the bd ft = (T×W×L)/12 formula, nominal vs actual lumber sizes, board feet to square feet conversion, and mbf pricing.
Open calculator →Linear to Square Feet Calculator
Convert linear feet to square feet and back with material width. Free LF to SF calculator for decking, siding, trim, with charts and worked examples.
Open calculator →Stair Calculator
Stair calculator finds riser height, tread depth, stringer length, stair angle, and landing rules from total rise. Includes IRC comfort rules and metric.
Open calculator →Flat Roof Rafter Calculator
Flat roof rafter calculator for low-slope roofs: reference 2x6–2x12 span charts at 16/24 OC, ponding checks, and parapet or ledger connection notes.
Open calculator →Dormer Rafter Calculator
Dormer rafter calculator for shed and gable dormers: rafter lengths, ridge height, cheek framing, ledger tie-in, headroom checks, and truss-roof warnings.
Open calculator →LVL Beam Span Calculator
LVL beam span calculator with reference span charts by depth and tributary width. Size 1–4 ply LVL beams and see when to step past a single 11-7/8 ply.
Open calculator →Header Size Calculator
Size a door or window header with our free calculator. Door header size chart and load bearing beam span table for 2x4 and 2x6 walls.
Open calculator →Wall Stud Calculator
Free wall stud calculator and estimator: stud count with openings, corners, and blocking, 16 vs 24 OC spacing, and the 2x4 vs 2x6 comparison matrix.
Open calculator →Rafter Guides & Tools
How to Calculate Rafter Length and Cuts
Hands-on how-to manual for calculating rafter length and marking cuts on lumber.
Rafter Span and Size Guide
Building code reference for rafter span limits and size selection.
Hip, Valley & Jack Rafter Guide
Complete guide to hip rafter, valley rafter, and jack rafter calculations for hip roofs and intersecting roof geometries.
Shed Roof Rafter Calculator
Step-by-step guide to calculating rafter length, angles, and cuts for shed roofs and lean-to roofs.
Rafter Length with Construction Calculator
Pro guide to using construction calculators for rafter length, angles, and cut calculations on the job site.
A-Frame Rafter Calculator
Complete guide to A-frame rafter calculation, floor framing, and structural geometry for A-frame house construction.
Rafter Square & Framing Square Guide
Complete guide to using rafter squares and framing squares for manual rafter layout, including step-off methods and angle tables.
Rafter Birdsmouth & Seat Cut Guide
Step-by-step guide to calculating the rafter birdsmouth notch: seat cut length, HAP, heel and plumb cut angles, and notch layout.
Metric Rafter Calculator Guide
Complete guide to calculating rafter length, angles, and sizes in metric units for UK, Australia, and European builders.
What Is a Rafter? Definition, Anatomy & Types
Definition and anatomy of a roof rafter — plumb cut, seat cut, birdsmouth, ridge cut, and tail — plus Common, Hip, Valley, Jack, and Lean-to rafter types and sizing notation.
How to Measure a Roof
Complete roof measurement methodology: tape and pitch multiplier, ground estimates, satellite and app tools, metal and shingle specifics, and common errors.
Frequently Asked Questions
How do I calculate rafter length?▼
What is the difference between plumb cut and seat cut?▼
Why is HAP important?▼
How far apart should I space my rafters or trusses?▼
Should I use rafters or pre-fabricated trusses?▼
What size rafter do I need for my span?▼
What roof pitch should I choose for my climate?▼
What is the best roofing material for my pitch?▼
How does the PDF export work?▼
Can I use this calculator for metric and imperial units?▼
Can this tool be used as a lean to rafter calculator?▼
Is this a common rafter calculator?▼
Does this rafter calculator with birdsmouth output the notch dimensions?▼
Can I use this roof rafter calculator with birdsmouth and overhang together?▼
How does the rafter calculator with overhang compute the tail length?▼
Is this an online rafter calculator or do I need to install an app?▼
Is this a free gable roof calculator?▼
How does this roof rafter length calculator work?▼
About Rafter Calculator Pro
Rafter Calculator Pro is a professional-grade roofing calculator designed for carpenters, construction contractors, and DIY home improvement enthusiasts. Built with modern web technology and validated against proven carpentry formulas, it provides instant, accurate calculations for all common rafter dimensions.
As a free online rafter calculator, there is nothing to download or install — the tool runs entirely in your browser and works on desktop, tablet, and mobile devices. Whether you are framing a gable roof, sizing a lean-to shed, or laying out a birdsmouth notch, every result updates in real time as you adjust the input parameters.
Key Features
- ✓ Real-time calculation as you type — no "calculate" button needed
- ✓ Interactive SVG diagrams with three view modes: profile, birdsmouth detail, and full structure
- ✓ Metric (mm) and Imperial (ft-in-fraction) unit systems with automatic conversion
- ✓ Degree and x/12 pitch input with quick presets for common pitches
- ✓ PDF export with calibration marks for field reference
- ✓ Birdsmouth cut details including HAP measurement
- ✓ Ridge reduction calculation for perfect rafter joints
Accuracy & Safety
All calculations use standard trigonometric formulas accepted in professional carpentry. However, this tool is for educational and planning purposes only. Always verify all measurements, angles, and structural decisions on site before making any cuts. Building codes and structural requirements vary by location — consult a licensed professional engineer for structural projects.