UseCalcPro
Home
MathFinanceHealthConstructionAutoPetsGardenCraftsFood & BrewingToolsSportsMarineEducationTravel
Blog
  1. Home
  2. Construction

Rafter Calculator

Calculate rafter dimensions and cuts

Rafter Length

174.4"

Pitch

6:12

Angle

26.6°

Birdsmouth

5.5"

Rafter Length

161.0"

Ridge Height

72.0"

Pitch

6:12

Angle

26.6°

Rafter Dimensions

Total Length (w/ overhang)174.4"
Rafter Length161.0"
Ridge Height72.0"

Birdsmouth Cut

Seat Cut (horizontal)

5.5"

Plumb Cut (vertical)

5.5"

What You'll Need

3PLUS 15 Degree Coil Roofing Nailer

3PLUS 15 Degree Coil Roofing Nailer

$120-$1704.5
View on Amazon
Guardian Rooftop Safety Kit 50ft Lifeline

Guardian Rooftop Safety Kit 50ft Lifeline

$45-$654.6
View on Amazon
Albion B-Line Manual Cartridge Caulking Gun 10oz

Albion B-Line Manual Cartridge Caulking Gun 10oz

$32-$384.7
View on Amazon
BOSCH GLM20 Blaze 65ft Laser Distance Measure

BOSCH GLM20 Blaze 65ft Laser Distance Measure

$30-$504.6
View on Amazon
Stanley FatMax 25ft Magnetic Tape Measure

Stanley FatMax 25ft Magnetic Tape Measure

$20-$304.6
View on Amazon
3PLUS 15 Degree Coil Roofing Nailer

3PLUS 15 Degree Coil Roofing Nailer

$120-$1704.5
View on Amazon
Guardian Rooftop Safety Kit 50ft Lifeline

Guardian Rooftop Safety Kit 50ft Lifeline

$45-$654.6
View on Amazon
Albion B-Line Manual Cartridge Caulking Gun 10oz

Albion B-Line Manual Cartridge Caulking Gun 10oz

$32-$384.7
View on Amazon
BOSCH GLM20 Blaze 65ft Laser Distance Measure

BOSCH GLM20 Blaze 65ft Laser Distance Measure

$30-$504.6
View on Amazon
Stanley FatMax 25ft Magnetic Tape Measure

Stanley FatMax 25ft Magnetic Tape Measure

$20-$304.6
View on Amazon

As an Amazon Associate, we earn from qualifying purchases.

Frequently Asked Questions

Q

How do I calculate rafter length?

Rafter length = √(run² + rise²). For a 6:12 pitch with 12 ft run: rise = 6 ft, length = √(144 + 36) = √180 = 13.4 ft, plus overhang.

  • Use the unit length method: √(12² + pitch²) gives inches per foot of run
  • For 6:12 pitch: unit length = √(144 + 36) = 13.42" per foot of run
  • Multiply unit length × run in feet: 13.42 × 12 = 161.0" rafter length
  • Add overhang separately: overhang tail = √(overhang² + (overhang × pitch/12)²)
  • Always add 6–12" to the lumber length for the ridge cut and birdsmouth
Q

What is a birdsmouth cut?

The birdsmouth is the notch cut into the rafter where it sits on the wall plate. It consists of a seat cut (horizontal) and plumb cut (vertical).

  • Seat cut (horizontal) should not exceed 1/3 of the rafter depth for structural integrity
  • For a 2×6 rafter (5.5" actual), maximum seat cut depth is ~1.83"
  • Plumb cut angle matches the roof pitch: 26.6° for 6:12, 33.7° for 8:12
  • Mark the birdsmouth using a framing square: pitch on tongue, 12 on blade
  • Cut with a circular saw for the straight lines, finish corners with a handsaw
Q

What size lumber for rafters?

Common choices are 2x6, 2x8, or 2x10 depending on span and load. 2x6 rafters can typically span 10-12 feet with standard spacing.

  • 2×6 (SPF #2): spans up to 12 ft at 16" OC with 20 psf live load
  • 2×8 (SPF #2): spans up to 16 ft at 16" OC — most common residential choice
  • 2×10 (SPF #2): spans up to 20 ft at 16" OC for larger buildings
  • 24" OC spacing reduces max span by about 15% compared to 16" OC
  • Snow load areas (40+ psf) may require upsizing by one lumber dimension
Lumber SizeMax Span (16" OC)Max Span (24" OC)Cost/ft
2×612 ft10 ft$0.80–$1.20
2×816 ft14 ft$1.20–$1.80
2×1020 ft17 ft$1.60–$2.40
2×1224 ft20 ft$2.20–$3.50
Q

What is roof pitch and how is it measured?

Roof pitch is the slope expressed as rise over run. A 6:12 pitch means the roof rises 6 inches for every 12 inches of horizontal run.

  • Low pitch (2:12–4:12): requires special roofing materials, angle 9.5°–18.4°
  • Standard pitch (5:12–9:12): most common residential roofs, angle 22.6°–36.9°
  • Steep pitch (10:12–12:12): excellent water/snow shedding, angle 39.8°–45°
  • Measure existing pitch: place a level against the roof, mark 12" horizontal, measure vertical rise
  • Higher pitch = more roofing material needed but better longevity and weather resistance
PitchAngleRise/ftCommon Use
4:1218.4°4"Low-slope, modern homes
6:1226.6°6"Most common residential
8:1233.7°8"Colonial, Cape Cod
12:1245.0°12"A-frame, steep gable

Find a Contractor Near You

Get free quotes from licensed contractors in your area

Angi
Angi4.7/5

Verified reviews & background checks

Get Free Quotes

Showing results for your area

Example Calculations

16:12 Pitch Roof with 12 ft Run

Inputs

Run12 ft
Pitch6:12
Overhang12"
Rafter Width5.5"

Result

Rafter Length161.0"
Total with Overhang174.4"
Ridge Height72.0"
Pitch6:12
Angle26.6°
Birdsmouth Seat Cut5.5"
Birdsmouth Plumb Cut5.5"

Unit length = sqrt(144 + 36) = sqrt(180) = 13.42". Rafter = 13.42 × 12 ft = 161.0". Overhang tail = sqrt(12² + 6²) = 13.4". Total = 161.0 + 13.4 = 174.4". Ridge height = (144/12) × 6 = 72.0". Angle = atan(6/12) = 26.6°.

28:12 Pitch Roof with 10 ft Run

Inputs

Run10 ft
Pitch8:12
Overhang18"
Rafter Width5.5"

Result

Rafter Length144.2"
Total with Overhang165.9"
Ridge Height80.0"
Pitch8:12
Angle33.7°
Birdsmouth Seat Cut5.5"
Birdsmouth Plumb Cut5.5"

Unit length = sqrt(144 + 64) = sqrt(208) = 14.42". Rafter = 14.42 × 10 ft = 144.2". Overhang tail = sqrt(18² + 12²) = sqrt(468) = 21.6". Total = 144.2 + 21.6 = 165.9". Ridge height = (120/12) × 8 = 80.0". Angle = atan(8/12) = 33.7°.

Formulas Used

Rafter Length

Rafter Length = sqrt(12² + Rise²) × Run (ft)

Calculates the line length of the rafter (without overhang) using the unit length method.

Where:

Rise= Roof pitch rise per 12 inches of run (e.g., 6 for a 6:12 pitch)
Run= Horizontal distance from wall to ridge in feet (half of total span)

Total Rafter Length (with overhang)

Total = Rafter Length + sqrt(Overhang² + (Overhang × Rise / 12)²)

Adds the overhang tail length to the main rafter length.

Where:

Rafter Length= Main rafter length in inches (from wall plate to ridge)
Overhang= Horizontal overhang distance in inches

Ridge Height & Angle

Ridge Height = Run (in) / 12 × Rise | Angle = atan(Rise / 12) × (180 / PI)

Calculates the ridge height above the wall plate and the rafter angle from horizontal.

Where:

Run (in)= Horizontal run in inches
Rise= Pitch rise per 12 inches of run

Complete Guide to Roof Rafter Calculation and Framing

1

Unit Length Method: The Foundation of Rafter Calculation

The unit length method calculates rafter length by finding the hypotenuse for each foot of horizontal run. For a 6:12 pitch, the unit length is √(12² + 6²) = √180 = 13.42 inches per foot of run. A 12-foot run at 6:12 pitch produces a rafter line length of 13.42 × 12 = 161.0 inches (13.42 ft) before adding the overhang tail.

Overhang adds a separate triangle calculation: tail length = √(overhang² + (overhang × rise/12)²). A 12-inch overhang at 6:12 pitch adds √(144 + 36) = 13.4 inches, bringing the total rafter to 174.4 inches. Carpenters typically add 6–12 inches to the lumber length for the ridge cut and birdsmouth, meaning this rafter needs a 16-foot board.

Ridge height is calculated as (run in inches / 12) × rise. For a 12 ft run at 6:12: (144 / 12) × 6 = 72 inches (6 ft) above the wall plate. The rafter angle from horizontal is arctan(6/12) = 26.6°, which determines both the plumb cut angle at the ridge and the seat cut angle at the birdsmouth.

Run = 12 ft (144 in)Rise = 6 ftRafter = 161.0 in+13.4 in overhang26.6°Rafter line lengthOverhang tail
2

Birdsmouth Cuts: Seat and Plumb Dimensions

The birdsmouth notch seats the rafter on the wall top plate using two cuts: a horizontal seat cut and a vertical plumb cut. Per IRC R802.6, the seat cut depth must not exceed one-third of the rafter depth for structural integrity—on a 2×6 rafter (5.5” actual), the maximum seat cut is 1.83 inches.

The plumb cut angle matches the roof pitch: 26.6° for 6:12, 33.7° for 8:12, and 45° for 12:12. Framers mark these angles using a framing square with the pitch value on the tongue (short side) and 12 on the blade (long side). For a 6:12 pitch, align 6 inches on the tongue and 12 inches on the blade against the rafter edge.

Cutting accuracy matters—a 1/8-inch error at the birdsmouth can translate to 1/2 inch or more at the ridge over a 12-foot run. Use a circular saw for the straight cuts and finish the inside corner with a sharp hand saw. Pre-drill any fastener holes to prevent splitting at the notch.

PitchPlumb Cut AngleUnit Length/ftRidge Height (12 ft run)
4:1218.4°12.65"48"
6:1226.6°13.42"72"
8:1233.7°14.42"96"
10:1239.8°15.62"120"
12:1245.0°16.97"144"
3

Lumber Sizing by Span, Spacing, and Load

2×8 SPF #2 rafters at 16-inch on-center spacing can span up to 16 feet under a 20 psf live load and 10 psf dead load—the most common residential rafter choice per the IRC span tables. Increasing to 24-inch spacing reduces the maximum span by approximately 15%, to about 14 feet for the same lumber grade.

Snow load areas requiring 40+ psf live load ratings often mandate upsizing by one lumber dimension. A 12-foot span that works with 2×6 at 20 psf needs 2×8 at 40 psf. At $1.20–$1.80 per linear foot for 2×8 versus $0.80–$1.20 for 2×6, the material cost increase for a 30-rafter roof is $240–$360.

For spans exceeding 20 feet, engineered lumber (LVLs or I-joists) becomes cost-effective compared to oversized dimensional lumber. A 24-foot LVL rafter costs $4–$6 per foot but eliminates the need for intermediate bearing walls. Check with a structural engineer for any span that pushes the limits of the beam size calculator.

Always verify rafter sizing against IRC Table R802.4 or local amendments. Ceiling-attached rafters (cathedral ceilings) have reduced spans compared to standard attic rafters due to the combined bending and tension loads.

4

Step-by-Step Rafter Calculation for Roof Framing

A complete rafter calculation starts with measuring the horizontal run from the outside of the wall plate to the center of the ridge board. For a gable roof on a 24-foot-wide building, the run is 12 feet (half the span). The ridge board thickness (typically 1.5 inches for dimensional lumber) shortens the actual rafter run by 0.75 inches.

The roof pitch calculator converts between pitch notation (6:12) and angle degrees (26.6°). Pair it with the roofing calculator to estimate shingle bundles after determining the actual roof area from the rafter dimensions and roof length.

  1. 1

    Determine run and pitch

    Measure horizontal distance from wall plate to ridge center. Half the building span minus half the ridge board thickness. Select pitch based on architectural style and local snow/wind requirements.

  2. 2

    Calculate rafter line length

    Use unit length method: √(12² + rise²) × run in feet. For 6:12 pitch, 12 ft run: √(180) × 12 = 161.0 inches.

  3. 3

    Add overhang tail

    Overhang tail = √(overhang² + (overhang × rise/12)²). For 12" overhang at 6:12: √(144 + 36) = 13.4". Total rafter = 174.4".

  4. 4

    Select lumber and mark cuts

    Choose lumber that exceeds total length by 6–12". Mark birdsmouth at wall plate location: seat cut ≤33% of rafter depth (1.83" max for 2×6). Mark plumb cuts at ridge and tail.

Related Calculators

Stair Stringer Calculator

Calculate stair dimensions

Roof Pitch Calculator

Calculate roof pitch from rise and run measurements, convert between degrees and ratio. Find the slope multiplier for accurate roofing material estimates.

Plywood Cut Calculator \u2014 Sheet Count, Waste & Cut Layout

Calculate how many plywood sheets you need, pieces per sheet, waste percentage, and total material cost. Factors in saw kerf width and grain direction.

Shingle Calculator

Calculate how many shingle bundles and squares you need for your roof replacement. Enter dimensions or area with pitch for accurate material estimates.

Framing Calculator

Calculate studs, plates, and headers needed for wall framing. Enter wall dimensions, spacing, and openings for a complete lumber list and cost estimate.

Macrame Wall Hanging Calculator

Calculate cord yardage, cut lengths, and dowel size for macrame wall hangings. Enter dimensions, cord size, density, and fringe length for a full cut list.

Related Resources

How Much Roofing Material Do I Need? Shingles, Bundles & Cost Guide

Read our guide

Concrete Calculator

Calculate concrete needed

Paint Calculator

Calculate paint needed

Flooring Calculator

Calculate flooring materials

More Construction Calculators

Plan your building projects

View All

Last Updated: Mar 26, 2026

This calculator is provided for informational and educational purposes only. Results are estimates and should not be considered professional financial, medical, legal, or other advice. Always consult a qualified professional before making important decisions. UseCalcPro is not responsible for any actions taken based on calculator results.

UseCalcPro
FinanceHealthMath

© 2026 UseCalcPro