Skip to main content

Roof Framing Calculator

Calculate rafter length, ridge height, cut angles, and number of rafters for roof framing projects.

Roof Framing Calculator

Calculate rafter length, ridge height, cut angles, and number of rafters for roof framing

Roof Pitch Guide

  • 2:12 to 4:12 - Low slope, requires special roofing materials
  • 4:12 to 6:12 - Moderate slope, standard asphalt shingles
  • 6:12 to 9:12 - Standard residential, good water/snow shedding
  • 9:12 to 12:12 - Steep slope, dramatic appearance, difficult to walk on

Formula

Rafter Length = √(Run² + Rise²)

Where Run = Span/2 and Rise = Run × (Pitch/12). The pitch is expressed as rise per 12 inches of run (e.g., 6:12 means 6 inches rise per 12 inches run).

Roof Pitch Reference Chart

PitchAngleRise per FootDescription
2:129.46°2"Low slope - requires special roofing
4:1218.43°4"Moderate - common residential
5:1222.62°5"Standard - good for most climates
6:1226.57°6"Standard - most common residential
8:1233.69°8"Steep - good for snow shedding
10:1239.81°10"Very steep - dramatic appearance
12:1245.00°12"45° angle - maximum common pitch

Understanding Roof Framing

Key Roof Framing Terms

  • Span: The total width of the building from wall to wall.
  • Run: Half the span - the horizontal distance from the wall to the ridge.
  • Rise: The vertical height from the wall plate to the ridge.
  • Pitch: The slope expressed as rise per 12 inches of run (e.g., 6:12).
  • Rafter Length: The diagonal distance from wall plate to ridge.
  • Overhang: The horizontal distance the rafter extends past the wall.

Rafter Cuts

Plumb Cut: A vertical cut made at the ridge and tail of the rafter. The angle equals the roof slope angle.
Seat Cut (Bird's Mouth): The notch where the rafter sits on the wall plate. Consists of a level cut and a plumb cut.

The Formula

Run = Span ÷ 2

Rise = Run × (Pitch ÷ 12)

Rafter Length = √(Run² + Rise²)

Slope Angle = arctan(Pitch ÷ 12)

Framing Square Usage

A framing square is an essential tool for marking rafter cuts. Here's how to use it:

  1. Place the square on the rafter board with the pitch number on the tongue (short arm).
  2. Align 12 inches on the blade (long arm) with the edge of the board.
  3. The tongue edge marks the plumb cut line.
  4. The blade edge marks the level (seat) cut line.
  5. For a 6:12 pitch, use 6" on the tongue and 12" on the blade.

Pro Tip: The unit rafter length (shown in results) tells you how many inches of rafter you need for each foot of run. Multiply this by your run in feet to get the rafter length.

How to Use

  1. 1
    Enter building spanEnter the total span of your building (wall to wall distance) in feet.
  2. 2
    Select roof pitchChoose a common roof pitch preset or enter a custom pitch value (rise per 12 inches of run).
  3. 3
    Choose rafter spacingSelect the rafter spacing (typically 16" or 24" on center).
  4. 4
    Set overhangEnter the desired overhang distance (horizontal projection past the wall).
  5. 5
    Add building lengthOptionally enter the building length to calculate the total number of rafters needed.
  6. 6
    View resultsSee rafter length, ridge height, cut angles, and rafter count.

Frequently Asked Questions

What is roof pitch?

Roof pitch is the slope of a roof expressed as a ratio of rise to run. For example, a 6:12 pitch means the roof rises 6 inches for every 12 inches of horizontal run. Common residential pitches range from 4:12 to 9:12.

How do I calculate rafter length?

Rafter length is calculated using the Pythagorean theorem: Rafter Length = √(Run² + Rise²). The run is half the building span, and the rise is calculated from the pitch (Rise = Run × Pitch/12). Add the overhang diagonal length for total rafter length.

What is a plumb cut?

A plumb cut is a vertical cut made on a rafter. It's used at the ridge (where the rafter meets the ridge board) and at the tail (the end of the overhang). The plumb cut angle equals the roof slope angle.

What is a seat cut (bird's mouth)?

A seat cut, also called a bird's mouth, is the notch cut into a rafter where it sits on the wall plate. It consists of a horizontal cut (seat) and a vertical cut (heel). The seat cut angle is 90° minus the plumb cut angle.

What rafter spacing should I use?

16 inches on center is the most common rafter spacing for residential construction. 24 inches on center may be used for lighter loads or with engineered trusses. 12 inches on center provides extra strength for heavy snow loads or long spans.

How do I use a framing square for rafter cuts?

Place the framing square on the rafter with the pitch number (e.g., 6 for 6:12) on the tongue (short arm) and 12 on the blade (long arm). The tongue edge gives you the plumb cut line, and the blade edge gives you the level cut line.