Calcady
Home / Trade / Construction / Roof Pitch Calculator

Roof Pitch Calculator

Calculate roof pitch angle, rise, run, and rafter length from any two known roof measurements.

Roof Pitch & Rafter Length Calculator

Roof framing geometry uses the Pythagorean theorem — the rafter is the hypotenuse of a right triangle formed by the run (horizontal) and rise (vertical). The pitch ratio P/12 defines the rise per foot of run. Total rafter length adds the overhang (eave) beyond the wall plate.

Common Roof Pitches

Outside of wall plate to outside

Rise (in) per 12 in of run

Beyond the wall plate (typ. 1.5ft)

Run = W / 2 = 24 / 2 = 12.0000 ft
Rise = Run × (P/12) = 12.0000 × (6/12) = 6.0000 ft
Base Rafter = √(Run² + Rise²) = √(144.0000 + 36.0000) = 13.4164 ft
Total Rafter = Base + Overhang = 13.4164 + 1.5 = 14.9164 ft
Pitch Angle = arctan(6.000/12.000) = 26.57°
Rise (H)
6.000
ft
Base Rafter
13.416
ft (wall to ridge)
Total Rafter
14.916
ft (incl. 1.5 ft overhang)
Pitch Angle
26.6°
Moderate — common residential
Rise in feet-inches
60
Base Rafter in feet-inches
13416/16″
Total Rafter in feet-inches
141016/16″
Total Rafter Length by Span (P=6/12, Overhang=1.5 ft)
16 ft
10.444 ft
20 ft
12.680 ft
24 ft
14.916 ft
28 ft
17.152 ft
32 ft
19.389 ft
40 ft
23.861 ft

Practical Example

A contractor frames a 24-foot wide garage with a 6/12 pitch and 1.5-ft eave overhang.

Run = 24 / 2 = 12 ft
Rise = 12 × (6/12) = 6 ft
Base Rafter = √(12² + 6²) = √(144 + 36) = √180 = 13.416 ft
Total Rafter = 13.416 + 1.5 = 14.916 ft (14′ 11″)

The contractor orders 16-foot lumber (next standard length above 14.916), giving 1.1 ft of cutting waste per rafter. This calculation also tells them the ridge board will sit exactly 6 ft above the wall plate.

💡 Field Notes

  • Measuring Run precisely: The run must be measured from the outside edge of the top plate to the centerline of the ridge board — NOT the centerline of the building. Subtract half the ridge board thickness (typically ¾" for LVL or 1½" for dimensional lumber) from the calculated run before ordering lumber. Ignoring this causes an imperfect fit where both rafters meet at the ridge.
  • Rafter tables vs. calculator: Traditional framing squares have rafter length tables printed on them in inches per foot of run. A 6/12 pitch = 13.416 inches per foot of run. Multiply by run in feet to get base rafter in inches. This calculator matches that table exactly. For complex hip and valley rafters, the unit run increases to 17 (the diagonal of a 12×12 square).
  • Pitch and snow/wind loads: The pitch angle directly affects how the roof handles snow and wind. Pitches below 4/12 require special low-slope roofing membranes (not standard shingles) per most building codes. Pitches above 8/12 shed snow quickly but create serious fall hazards — OSHA requires roof brackets or safety harnesses above 6:12 for workers.
Email LinkText/SMSWhatsApp

Quick Answer: How do you calculate roof pitch?

Roof pitch is the ratio of vertical rise to horizontal run, expressed as X/12. To measure: place a level horizontally from the roof surface, measure 12 inches along the level, then measure straight down from the end of the level to the roof surface. That vertical distance is the pitch numerator. A measurement of 6 inches means a 6/12 pitch (26.6 degrees). Use the Pythagorean theorem (√(run² + rise²)) to convert pitch into actual rafter length.

Pitch Conversion Formulas

Pitch Angle = arctan(Rise ÷ Run)

Rise = Run × (Pitch ÷ 12)

Rafter = Run × Rafter Factor

Rafter Factor = √(1 + (pitch/12)²). This is a multiplier that converts horizontal run directly to sloped rafter length. It is printed on many framing squares.

Pitch, Angle, and Minimum Roofing Material

Pitch Angle Rafter Factor Min. Roofing Material
1/12 4.8° 1.003 Built-up / membrane only
3/12 14.0° 1.031 Metal standing seam
4/12 18.4° 1.054 Asphalt shingles (minimum)
6/12 26.6° 1.118 All shingle types
8/12 33.7° 1.202 All types (OSHA fall protection required)
12/12 45.0° 1.414 Slate, tile, or specialty (steep roof brackets required)

OSHA requires fall protection on all roofs steeper than 4/12. At 8/12 and above, roof jacks and pick boards are mandatory. At 12/12, scaffolding or fall arrest systems are required by most employers.

Pitch Measurement Mistakes

The Low-Pitch Shingle Failure

A homeowner measures a 2/12 pitch and installs standard 3-tab asphalt shingles (which require 4/12 minimum). Rain water backs up under the shingle tabs during wind-driven storms. Within 2 years, the roof sheathing develops rot from chronic moisture infiltration at the tab overlaps. The manufacturer warranty is void because the shingles were installed below the minimum pitch specification.

The Span vs Run Confusion

A DIY builder uses the full building span (30 feet) instead of the run (15 feet) in the rafter formula. The calculated rafter length is 33.5 ft instead of 16.8 ft. The lumber order arrives with 36-foot engineered beams at $180 each instead of 18-foot 2x8s at $28 each — a $5,400 overspend on materials alone.

Pitch Measurement Best Practices

Do This

  • Measure pitch from inside the attic. Place a level horizontally against the underside of a rafter. Measure 12 inches along the level, then measure vertically down to the rafter. This avoids inaccuracies from roofing material thickness.
  • Check material compatibility before installing. Every roofing material has a minimum pitch rating. Always verify the manufacturer specification against your measured pitch before purchasing materials.

Avoid This

  • Don't estimate pitch by eye. Even experienced roofers misjudge pitch by 1 to 2 increments. A 4/12 and 6/12 roof look similar from the ground but differ by 50% in rise per foot — affecting rafter length, material quantities, and drainage performance.
  • Don't measure over existing roofing. Multiple layers of shingles change the apparent angle. Always measure against the structural rafter or sheathing surface for accurate pitch determination.

Frequently Asked Questions

What is the most common residential roof pitch?

The most common residential roof pitch in the United States is 6/12 (26.6 degrees). It provides a good balance of water drainage, attic space, wind resistance, and material compatibility. Most asphalt shingle manufacturers design their products to perform optimally in the 4/12 to 8/12 range.

What is the minimum pitch for asphalt shingles?

Most asphalt shingle manufacturers require a minimum pitch of 4/12 with standard installation methods. Some allow installation down to 2/12 with additional underlayment (often a full peel-and-stick ice-and-water shield membrane). Below 2/12, asphalt shingles should not be used — switch to a built-up, modified bitumen, or single-ply membrane system.

How does pitch affect roof cost?

Higher pitch increases cost in three ways: (1) More roof surface area — a 12/12 pitch has 41.4% more surface area than a flat roof with the same footprint. (2) Longer rafters requiring more expensive lumber. (3) Increased labor rates due to steeper working conditions and fall protection requirements. Each pitch increment above 6/12 adds approximately 5 to 8% to the total roofing cost.

Can I convert pitch to degrees?

Yes. The angle in degrees equals arctan(pitch / 12). For a 6/12 pitch: arctan(6/12) = arctan(0.5) = 26.57 degrees. This calculator performs this conversion automatically. Common conversions: 3/12 = 14 degrees, 4/12 = 18.4 degrees, 6/12 = 26.6 degrees, 8/12 = 33.7 degrees, 12/12 = 45 degrees.

Related Calculators