Roof Pitch Calculator

Calculate roof pitch (rise/run ratio), angle in degrees, and rafter length from rise and run measurements.

Roof Measurements

Vertical height from top plate to ridge.

Horizontal distance from wall to below ridge. For a 6:12 pitch enter 12.

Enter your actual run distance to calculate exact rafter length.

Results

Enter rise and run, then press Calculate

Roof Pitch Diagram

Diagram updates after you calculate.

Common Pitch Reference

Pitch (X:12) Degrees Slope % Classification

Summary

Calculate roof pitch (rise/run ratio), angle in degrees, and rafter length from rise and run measurements.

How it works

  1. Enter the rise — the vertical height from the top plate to the roof ridge.
  2. Enter the run — the horizontal distance from the wall to directly below the ridge (half the span).
  3. Select your unit system (imperial or metric).
  4. Click Calculate to get pitch ratio, degrees, percentage slope, and rafter length.
  5. Optionally enter a rafter span to compute the exact board length needed.

Use cases

Frequently Asked Questions

Last updated: 2026-05-23 · Reviewed by Nham Vu