Calculator.org.in
Calculator

Roof Pitch Calculator

Calculate roof pitch, slope percent, roof angle, rafter length, and rafter length with optional overhang from rise and run.

  • roof slope
  • rafter length
  • roof angle
  • rise run
  • pitch x 12

Vertical roof rise in inches.

Horizontal roof run in inches.

Optional horizontal overhang in inches.

Optional full roof span in inches. If blank, span is estimated as 2 x run.

Status: initial

Results

Awaiting calculation

Explore your result

Roof pitch scale

Explore the roof pitch calculator result visually while keeping this page's detailed guidance and examples.

Roof pitch scale
6 /12
Low slopeModerateConventionalSteepVery steep

Use this result well

  1. 1Verify the calculator inputs.
  2. 2Compare the key result relationships.
  3. 3Review the page guidance before acting.

Material suitability and safe access depend on manufacturer and local guidance.

Calculator guide

Introduction

The Roof Pitch Calculator converts rise and run into pitch, slope percent, angle, rafter length, and optional overhang-adjusted rafter length for early roofing and framing planning.


What is roof pitch?

Roof pitch describes how steep a roof is. In many building contexts, it is written as inches of rise for every 12 inches of horizontal run, such as 4:12 or 6:12.


Roof pitch formula

The calculator divides rise by run to find slope, multiplies that value by 12 to express pitch as x:12, converts the slope to an angle, uses the Pythagorean theorem for rafter length, and shows slope factors used for area and framing estimates.

Variable explanations

Understand what each input and result means before calculating.

Rise

The vertical height from the roof base line to the higher point.

Run

The horizontal distance from the wall line to the ridge or high point.

Pitch

The roof rise over a standard 12 inches of run.

Angle

The roof slope expressed in degrees.

Rafter length

The diagonal estimate from rise and run.

Slope factor

A multiplier for estimating sloped roof area from plan area.

Roof span

Optional full span. For simple gable roofs, run is often half of span.

Reviewed by the Calculator.org.in Editorial Team

Formula behavior, validation cases, explanatory examples, and cited sources are checked before publication. This review supports educational accuracy and is not a substitute for qualified professional advice.

Last reviewed: 2026-08-03

Review process

Formula guide

See the calculation logic, variable definitions, and practical meaning.

Pitch x:12

Pitch = Rise / Run x 12

  • Rise is vertical height.
  • Run is horizontal distance.

This gives the familiar roofing pitch format such as 4:12.

Slope percent

Slope Percent = Rise / Run x 100

  • Slope percent is another way to express steepness.

A 4:12 roof is about 33.33% slope.

Roof angle

Angle = arctan(Rise / Run)

  • Angle is measured from the horizontal run.

This converts roof pitch into degrees.

Rafter length

Rafter Length = sqrt(Rise^2 + Run^2)

  • Rise and run form a right triangle.

This estimates the diagonal rafter line length before construction allowances.

Slope factor

Slope Factor = Rafter Length / Run

  • Slope factor converts plan area to sloped roof surface area.

For rough material planning, roof surface area is often estimated as plan area times slope factor.

Hip and valley factor

Hip/Valley Factor = sqrt(2 + (pitch / 12)^2)

  • Used as a geometry reference for hip and valley line lengths.

Actual hip and valley cuts still depend on roof layout and framing details.

Worked examples

Follow realistic inputs through the calculation step by step.

1

Worked example

Common roof pitch

  1. 1Rise is 48 inches.
  2. 2Run is 144 inches.
  3. 3Pitch is 4:12.
2

Worked example

Rafter estimate

  1. 1Use rise and run as right-triangle legs.
  2. 2Apply the Pythagorean theorem.
  3. 3Review the result before ordering material.
3

Worked example

Overhang planning

  1. 1Enter horizontal overhang.
  2. 2The calculator extends the rafter line.
  3. 3Verify real cut length on site.
4

Worked example

Roof area multiplier

  1. 1Calculate pitch from rise and run.
  2. 2Review slope factor.
  3. 3Multiply plan area by slope factor for a rough sloped-area estimate.
5

Worked example

Material slope check

  1. 1Review pitch category and material guidance.
  2. 2Check the roofing manufacturer's minimum slope.
  3. 3Confirm underlayment and fastening requirements before installation.

Common mistakes

Avoid these common input and interpretation errors.

Mixing span and run

Run is usually half the total roof span for a simple gable roof.

Ignoring overhang

Rafter tails and eaves can require more material than the base rafter line.

Treating pitch as material approval

Roofing products often have minimum slope requirements.

Using full span as run

For many simple gable roofs, run is half the full building span. Using full span can halve the calculated pitch.

Ignoring slope factor

A steep roof has more sloped surface area than the same plan footprint.

Skipping field verification

Always confirm actual site measurements before cutting rafters.

Frequently asked questions

Quick answers to the questions users ask most often.

What does this Roof Pitch Calculator calculate?
It calculates pitch x:12, slope percent, roof angle, rafter length, and rafter length with optional overhang.
What is roof pitch?
Roof pitch is roof steepness, often expressed as inches of rise for every 12 inches of run.
How do I calculate roof pitch?
Divide rise by run, then multiply by 12 to get the x value in x:12 pitch.
What is a 4:12 roof pitch?
A 4:12 roof rises 4 inches for every 12 inches of horizontal run.
How do I convert roof pitch to degrees?
Use the arctangent of rise divided by run.
How is slope percent calculated?
Slope percent equals rise divided by run, multiplied by 100.
How is rafter length calculated?
Rafter length is the square root of rise squared plus run squared.
What is roof slope factor?
Slope factor is rafter length divided by run. It is commonly used to estimate sloped roof area from plan area.
What is a hip and valley factor?
It is a geometry multiplier for estimating hip or valley line length on a roof. Actual framing depends on roof layout.
Does this include roof overhang?
Yes, if you enter an optional horizontal overhang.
Is run the same as roof span?
No. For many simple gable roofs, run is half the total span.
Can this calculator design a roof?
No. It provides geometry estimates only, not structural design.
Does pitch affect roofing materials?
Yes. Roofing materials often have minimum slope requirements that must be checked.
What is the minimum pitch for asphalt shingles?
Many asphalt shingle discussions cite 2:12 as an absolute minimum and 4:12 or steeper as typical, but manufacturer instructions and local code control.
What is the minimum pitch for metal roofing?
It varies by metal panel system. Some standing-seam systems allow very low slopes, while other metal roofs need steeper pitches.
Can I use feet instead of inches?
Yes if rise and run use the same unit, but output labels are written in inches for this version.
What is a low slope roof?
Low slope commonly refers to roofs below about 4:12, but product and code requirements vary.
What is a steep roof?
Roofs above about 9:12 are often treated as steep for access, safety, and fastening considerations.
Should I cut rafters from this result alone?
No. Verify site measurements, cuts, ridge details, overhang, code, and professional guidance first.

Version history

A transparent record of calculator content updates.

Updated 2026-08-03
  • 1.1.0 · 2026-08-03

    Added slope factor, hip/valley factor, pitch reference chart, material slope guidance, span input, and measurement checklist.

  • 1.0.0 · 2026-07-05

    Initial roof pitch calculator release.