Roof Pitch Calculator

Calculate roof pitch, slope percentage, and rafter length from rise and run — or from a pitch you already know. Free, private, no signup required.

Formula reviewed:

Known Slope Values

Vertical distance measured in inches.

Horizontal distance in inches (typically 12").

Common standard pitches:

Pitch & Slope Results

Standard Roof Pitch6:12Exact: 6.00:12
Standard / Conventional

Standard residential walkable slope. Normal underlayment and standard shingle nailing apply.

Slope Angle26.57°
Slope Percentage50.00%
Slope Multiplier (Pitch Factor)1.118

Use this factor (1.118) to multiply flat horizontal area into true sloped surface area.

Understand Your Roof Pitch at a Glance

Enter any known value — rise and run, an x:12 pitch ratio, an angle in degrees, or a slope percentage — and get all other roof slope metrics calculated instantly, including an optional theoretical rafter length. Calculations run entirely client-side in your web browser with zero server uploads and no account required.

Result Interpretation: Reading the Numbers

  • Pitch (x:12): The standard North American roofing shorthand representing how many inches the roof plane rises vertically for every 12 inches of horizontal run. A "6:12" pitch rises 6 inches over every foot of horizontal span.
  • Slope Percentage: The rise-to-run ratio expressed as a percentage (rise ÷ run × 100). A 6:12 roof has a 50% slope, while a 12:12 roof represents a 100% slope.
  • Angle (Degrees): The acute inclination angle above horizontal, derived via the arctangent of the rise/run ratio.
  • Slope Multiplier (Pitch Factor): The mathematical factor (√(1 + ratio²)) used to multiply flat building footprint area into actual sloped rafter surface area. For example, a 6:12 roof has a slope factor of 1.118, meaning the true roof area is 11.8% greater than the horizontal footprint.
  • Estimated Rafter Length: The theoretical straight-line diagonal distance (hypotenuse) from the wall plate to the center of the ridge board. It represents pure geometry and does not include eaves overhangs, ridge board deductions, or birdsmouth notches.

How to Use This Calculator

  1. Choose what you already know: Select between rise and run measurements, a known x:12 pitch, a slope angle in degrees, or a slope percentage.
  2. Enter your values: Enter the measurement into the input fields above.
  3. Optional rafter estimate: Check the rafter option and enter the horizontal run length (distance from wall plate to ridge) to determine the diagonal rafter span.
  4. Review all slope formats: Read the synchronized pitch, degree, percentage, and slope factor immediately.

Formulas & Mathematical Logic

All calculations rely on standard trigonometry and Pythagorean geometry:

Rise / Run Ratio:

ratio = rise ÷ run

Pitch to Slope Percentage:

slope_percent = (rise ÷ run) × 100

Pitch to Angle (Degrees):

angle_degrees = arctan(rise ÷ run) × (180 ÷ π)

Angle to Pitch Ratio:

rise ÷ run = tan(angle_degrees × (π ÷ 180))

Slope Multiplier (Pitch Factor):

pitch_factor = √( 1 + (rise ÷ run)² )

Theoretical Rafter Length:

rafter_length = run_length × √( 1 + (rise ÷ run)² ) = √( run_length² + rise_total² )

All angle results are presented rounded to two decimal places; pitch ratios display both an exact decimal rise and the standard quarter-inch rounded carpenter notation.

Real-World Worked Examples

Example 1: Starting from Rise and Run

A builder measures a 6-inch vertical rise over a 12-inch level run with a framing square:

  • Rise: 6 inches
  • Run: 12 inches
  • Slope Ratio: 6 ÷ 12 = 0.50
  • Slope Percentage: 0.50 × 100 = 50.00%
  • Angle: arctan(0.50) = 26.57°
  • Standard Pitch: 6:12
  • Pitch Factor: √(1 + 0.50²) = 1.118

Example 2: Starting from Known Angle with Rafter Span

An architect's elevation plan specifies a 30° roof pitch with a 14 ft horizontal run from exterior wall plate to ridge:

  • Angle: 30.00°
  • Horizontal Run: 14 ft
  • Slope Ratio: tan(30°) = 0.57735
  • Exact Pitch: 0.57735 × 12 = 6.93:12 (rounds to standard 7:12)
  • Slope Percentage: 57.74%
  • Pitch Factor: √(1 + 0.57735²) = 1.1547
  • Theoretical Rafter Length: 14 ft × 1.1547 ≈ 16.17 ft (approx. 16' 2")

Standard Roof Pitch Reference Table

Residential building codes and roofing material manufacturers categorize roof pitches into specific operational categories:

Pitch (x:12)Angle (Degrees)Slope %Slope FactorCategoryApplication Notes
0:12 to 2:120° – 9.46°0% – 16.7%1.000 – 1.014Flat / Low SlopeRequires built-up roof, membrane, or modified bitumen; standard shingles not suitable.
3:1214.04°25.0%1.031Low SlopeRequires double underlayment if using asphalt shingles.
4:1218.43°33.3%1.054ConventionalMinimum standard pitch for standard single-layer asphalt shingle application.
6:1226.57°50.0%1.118ConventionalMost common residential roof pitch. Walkable with reasonable caution.
8:1233.69°66.7%1.202ConventionalCommon for colonial and transitional homes. Sheds snow and water rapidly.
10:1239.81°83.3%1.302Steep SlopeDifficult to walk without roof jacks and safety harnesses.
12:1245.00°100.0%1.414Steep SlopeFull 45° angle. Requires full steep-slope safety rigging.

Assumptions & Edge-Case Limitations

  • Single Plane Uniformity: The calculation assumes a constant, unvarying slope along the rafter plane being evaluated. It does not calculate compound hips, mansard breaks, or flared eaves in a single operation.
  • Theoretical Geometric Line: The estimated rafter length calculates the diagonal hypotenuse from exterior plate to ridge center. On actual job sites, framers deduct half the ridge board's thickness (usually 3/4" for a 2x ridge board), add tail overhang length for eaves, and cut birdsmouth seats.
  • No Structural Sizing: This tool computes angles and lengths only. It does not size framing members (e.g. 2x6 vs 2x8 rafters), assess dead/live snow loads, determine collar tie spacing, or specify structural fasteners.
  • Material Estimates: This tool focuses strictly on slope geometry. To calculate shingle bundles, underlayment rolls, or waste margins, visit the companion calculators linked below.

Mandatory Construction Disclaimer

This calculator provides a directional geometric estimate of roof pitch, slope percentage, slope factor, and theoretical rafter length based on entered measurements. It is not a substitute for professional on-site architectural measurements, structural engineering calculations, or building code compliance reviews. Always verify actual physical dimensions and local municipal building codes before ordering lumber, cutting rafters, or beginning roof construction.

Next Steps & Related Construction Tools

Continue planning your roofing and building project with these verified tools: