# Roof Pitch Calculator

URL: https://hifreetools.com/construction/roof-pitch-calculator

> Enter the pitch as rise per 12 (6 for a 6/12 roof), as an angle or as a percent, then the run — half the building's span — and the overhang. You get the other two ways of writing the pitch, the pitch factor, the rafter length to the ridge, the tail, a matching hip or valley rafter, and how much roof surface a plan area becomes.

## Quick answer

A 6/12 roof rises 6 in for every 12 in of run, which is atan(6/12) = 26.57° or a 50% slope. Its pitch factor is √(1 + 0.5²) = 1.118, so a 14 ft run needs a 15.652 ft (15' 7 13/16") rafter line to the ridge, and 1,500 ft² of plan becomes 1,677.05 ft² of roof surface.

## Formula

- Rise per unit run k = pitch ÷ 12 = tan θ = percent ÷ 100
- Pitch factor f = √(1 + k²) = 1 ÷ cos θ
- Rafter = run × f; tail = overhang × f; rise = run × k
- Hip/valley (equal pitches) = √(2·run² + rise²); sloped area = plan area × f

## Inputs

- Pitch: rise per 12 of run (6 for 6/12) (0 to 120); default 6
- Roof angle (°) (0 to 85); default 30
- Slope (%) (0 to 1000); default 25
- Run: half the span, wall to ridge (0 to 1000000); default 14
- Overhang, measured level (0 to 100000); default 1
- Length unit — one of: feet, inches, metres, centimetres, millimetres; default ft
- Plan (footprint) area, any unit (0 to 10000000000); default 1500

## Worked examples (computed by the page's own function)

- Pitch: rise per 12 of run (6 for 6/12) = 6, Run: half the span, wall to ridge = 14, Overhang, measured level = 1, Length unit = ft, Plan (footprint) area, any unit = 1500 → Roof angle (°) = 26.57, Pitch (rise in 12) = 6, Slope (%) = 50, Pitch factor (slope multiplier) = 1.118  (k = 0.5 → θ = atan k = 26.5651°, 6/12, factor √(1 + k²) = 1.118034)
- Roof angle (°) = 30, Run: half the span, wall to ridge = 4, Overhang, measured level = 0.5, Length unit = m, Plan (footprint) area, any unit = 120 → Roof angle (°) = 30, Pitch (rise in 12) = 6.928, Slope (%) = 57.74, Pitch factor (slope multiplier) = 1.1547  (k = 0.57735 → θ = atan k = 30°, 6.9282/12, factor √(1 + k²) = 1.154701)
- Pitch: rise per 12 of run (6 for 6/12) = 12, Run: half the span, wall to ridge = 10, Overhang, measured level = 0, Length unit = ft, Plan (footprint) area, any unit = 1000 → Roof angle (°) = 45, Pitch (rise in 12) = 12, Slope (%) = 100, Pitch factor (slope multiplier) = 1.4142  (k = 1 → θ = atan k = 45°, 12/12, factor √(1 + k²) = 1.414214)

## Verification

Checked against 14 reference cases (expected values computed independently). Reviewed 2026-10-30. Latest change 2026-10-30: New: pitch ↔ degrees ↔ percent, rafter, tail, hip/valley length and the plan-to-sloped area factor, in feet, inches or metric.

## FAQ

**How do I convert roof pitch to degrees?**
Divide the rise by 12 and take the arctangent: θ = atan(rise ÷ 12). A 4/12 roof is atan(0.3333) = 18.43°, a 6/12 roof 26.57° and a 12/12 roof 45°.

**What is a pitch factor?**
The number you multiply a level length or area by to get the sloped length or area: √(1 + (rise ÷ 12)²). For 6/12 it is 1.118, so 1,000 ft² of plan is 1,118 ft² of roof surface.

**How do I calculate rafter length?**
Multiply the run (half the span, wall to ridge centre) by the pitch factor, then add the overhang times the same factor. A 14 ft run on a 6/12 roof is 14 × 1.118 = 15.652 ft before the ridge-board deduction.

**How do I measure roof pitch?**
Hold a level against the rafter or roof surface, mark 12 in along it from the roof, and measure straight down (or up) to the roof: that distance is the rise per 12. Or measure the angle with a digital level and use the Angle tab.

**What is the difference between pitch and slope in percent?**
Both describe rise over run. Pitch writes it per 12 units (6/12), percent per 100 (50%). The percent is the pitch divided by 12, times 100.

**How long is a hip rafter?**
For two roof planes of the same pitch meeting at a 45° corner, the hip runs √2 times the common run, so its length is √(2·run² + rise²). On a 6/12 roof that is 18 in per foot of common run.


## Sources

- [Wikipedia — Roof pitch (rise over run, degrees and percent)](https://en.wikipedia.org/wiki/Roof_pitch)
- [ICC — 2021 International Residential Code, Chapter 9 Roof Assemblies (minimum slopes by roof covering)](https://codes.iccsafe.org/content/IRC2021P2/chapter-9-roof-assemblies)
- [NIST SP 811 — Guide for the Use of the SI (unit definitions)](https://www.nist.gov/pml/special-publication-811)

Runs in the browser; nothing is uploaded. Cite as: HIFreeTools, "Roof Pitch Calculator", https://hifreetools.com/construction/roof-pitch-calculator
