Field Service Cost Compare prices

Home/Calculators/Roof pitch calculator

Roof pitch calculator: pitch, angle, slope and rafter length

You are standing on the ground or at the edge of a roof with a level and a tape, and you need to turn a rise and run into a pitch you can state clearly before you order anything or plan the next step. Roof pitch calculator. Nothing was tested for this page; the numbers come from the formula shown below and the inputs you enter.

CalculatorBuilt 27 November 2026Example inputs, not industry averages

Pick the measure you have. Only the fields for that choice are used.
Used with rise and run. Vertical change over the run below.
Used with rise and run. Pitch is usually quoted per 12 inches of run.
Used when you chose angle. Above 0 and below 90.
Used when you chose percent. Rise divided by run, times 100.
Wall to ridge, measured level. Gives the rise and the sloped length.
Area seen from above. Gives the sloped roof surface.

Pitch, inches of rise per 12 inches of run

—

Angle, degrees
—
Slope, percent
—
Pitch factor
—
Rise over your run, feet
—
Sloped length over your run, feet
—
Sloped roof surface, square feet
—

An estimate from the formula below and the numbers you typed. Check quantities against your plan and your supplier before you order.

Put it into a job estimate

You enter what you already know: rise and run in inches, an angle in degrees, or a slope in percent. You get the pitch in inches per twelve, the angle, the slope percent, the pitch factor, and the sloped lengths and surface over your run or footprint.

The automatic calculation needs JavaScript. With scripting off, the fields above do nothing and the result area stays empty. The formula is written out below, so you can do the same arithmetic on paper.

Roof pitch calculator: how to measure

  1. Hold a level horizontally with one end touching the roof, so the rest of the level reaches out toward the eave.
  2. Measure the horizontal distance you want as the run, for example 12 inches along the level.
  3. At the end of that run, measure straight down to the roof surface to get the rise over the same run.
  4. For lengths or surface, add the horizontal run in feet and the footprint in square feet, measured level as seen from above.

Roof pitch calculator formula, written out

  • slope = rise / run
  • pitch = slope x 12 (inches of rise per 12 inches of run)
  • angle = arctan(slope); slope percent = slope x 100
  • pitch factor = square root of (1 + slope squared)
  • sloped length = horizontal run x pitch factor; sloped surface = footprint x pitch factor

Roof pitch calculator worked example

With the inputs already in the form (what do you know? Rise and run, rise 6, run 12, horizontal run of the roof 12, roof footprint 1000) the result is: pitch, inches of rise per 12 inches of run: 6.00; angle, degrees: 26.57; slope, percent: 50.00; pitch factor: 1.118; rise over your run, feet: 6.00; sloped length over your run, feet: 13.42; sloped roof surface, square feet: 1,118.

  1. Slope = rise / run = 6 / 12 = 0.5000
  2. Pitch = 6.00 in 12 (rise in inches per 12 inches of run)
  3. Angle = arctan(0.5000) = 26.57 degrees; slope = 50.00 percent
  4. Pitch factor = sqrt(1 + 0.5000^2) = 1.118
  5. Rise over a run of 12 ft = 6.00 ft; sloped length = 12 x 1.118 = 13.42 ft
  6. Sloped surface = 1,000 sq ft x 1.118 = 1,118 sq ft

To cut the framing, check the rafter length calculator for one slope. For drainage or a ramp, use the slope and percent grade calculator.

What the roof pitch calculator assumes

  • Assumes one plain single-plane slope measured on the level run.
  • Treats the run as horizontal distance, not distance along the roof surface.
  • Does not give shingle counts or rafter cuts.
  • Is not structural advice and does not check framing or load.

Roof pitch calculator questions people ask

What counts as the run when I measure?

The run is the horizontal distance, measured level, from the low point to the high point of the slope. Do not measure along the slanted roof surface, because that length is longer than the run.

How is pitch different from slope and angle?

Slope is rise divided by run, pitch is that slope times twelve, and angle is the arctangent of the slope. Percent is the slope times one hundred. The calculator shows all of them from the same input.

What is the pitch factor for?

The pitch factor is the square root of one plus the slope squared. Multiply it by a horizontal run or a footprint area to get the sloped length or the sloped roof surface.

Can I use the footprint to get roof surface?

Yes. Enter the roof footprint in square feet and the calculator multiplies it by the pitch factor to give the sloped roof surface for that single plane. It does not add overhangs or split the roof into separate planes.

This calculator belongs to the framing and roofing calculators. To price the whole job, not just this part, use the job costing calculator and the pricing guide below.

How this site makes money. Affiliate links on this site are marked before you click them, and a commission will never change a price, a test result or a ranking. Details in the affiliate disclosure.