Skip to content
Roofing calculator

Roof Pitch Calculator

Explore the geometry of one straight roof slope. Enter a familiar ratio such as 6:12 with a horizontal run, or measure rise and run directly; the calculator updates the pitch, angle, grade, and simple rafter line.

✓   Clear calculations✓   No account required✓   Free to use
Timber roof gable showing the slopeMeasure your project
Check the result ↗

Project dimensions

Enter your project measurements.
Try 6:12, 8:12, or 10:12
ft
The level distance from eave to ridge, without overhang.

Your measurements are calculated in this browser and are not sent to a server.

Measurement guide

Read the rise-to-run ratio

A 6:12 pitch means 6 inches of rise for every 12 inches of horizontal run.

Before calculating

Keep the run horizontal and the rise vertical. Take both from the same roof plane; a rafter length is the slope length and cannot replace the run.

Your measurements
Pitch ratio 6:12Horizontal run 12 ft
RunRise

Your results

Estimated material quantity for your project.

✓ Calculation complete
Roof pitch and rafterRun 12 ft · rise 6 ft
Live 3D

Drag to rotate or choose an angle. Repeated materials are limited in the model; measurements and estimate use your full values.

Calculated pitch
6:12
Rise in 12 units of horizontal run
Simple rafter length
13.42 ft

Straight eave-to-ridge line from the entered rise and run; no overhang or cut allowance.

How this estimate was calculated

Vertical rise6 ft
Horizontal run12 ft
Pitch angle26.57°
Slope / grade50%
Slope factor1.118

One straight right-triangle roof section. Rafter length excludes overhang, ridge thickness, birdsmouth, and structural sizing.

Need help with your project?Check the method, assumptions, and related calculators below.
Explore all calculators →

How to use this calculator

  1. Choose “Pitch ratio and run” for a conventional ratio such as 6:12, 8:12, or 10:12. Enter the horizontal distance from eave to ridge.
  2. Choose “Measured rise and run” when you have both field measurements. Enter vertical rise and horizontal run in the selected unit system.
  3. Use the live 3D roof to compare top, front, and side angles as the pitch changes.

Measure the project correctly

Run is a level horizontal distance, not the diagonal roof surface. For a symmetric gable, it is approximately half the projected width, excluding any separate overhang.

Rise is the vertical height gained over that run. A 6:12 pitch means 6 units of rise for every 12 units of horizontal run; it does not mean a six-foot roof rise unless the run is twelve feet.

For the angle and rise on a common slope, see our 6:12 roof pitch worked example.

Timber roof gable showing the slope
Timber roof gable showing the slope. Photo: Ricardo Resende / Unsplash

The calculation

Pitch per 12 = 12 × rise ÷ run. Angle = arctan(rise ÷ run). Grade = 100 × rise ÷ run. Simple rafter length = √(rise² + run²).

The slope factor is rafter length divided by horizontal run. That ratio also converts horizontal projected roof area to simple sloped area.

All input lengths are converted to meters internally. A ratio is dimensionless, so 6:12 has the same angle in US and Metric modes.

Worked example

Use a 6:12 pitch and a 12 ft horizontal run for one eave-to-ridge side of a simple gable.

Step-by-step Roof Pitch Calculator worked example
StepCalculationResult
Interpret pitch6 ÷ 120.5 rise/run
Find rise12 ft × 0.56 ft
Find anglearctan(0.5)26.57°
Find grade0.5 × 10050%
Find rafter line√(12² + 6²)13.42 ft
Find slope factor√(12² + 6²) ÷ 121.1180

The 13.42 ft result is a straight geometric line before overhang, ridge thickness, seat cut, waste, or structural design. Use the Roofing Calculator when you need a covering-area purchase estimate.

How to read the result

Pitch ratio
Vertical rise normalized to 12 units of horizontal run.
Angle and grade
The same slope shown as degrees above horizontal and percent rise over run.
Rafter line
The hypotenuse of the measured right triangle, useful for geometry checks but not a cut list.

Before you buy materials

A roof described as 8:12 rises eight inches over a twelve-inch horizontal run, regardless of the total roof size.

Use the model’s front or side view to compare rise and run. It helps distinguish horizontal span from sloping plane area, but it does not replace measured plans.

Rafter cut length and roof construction depend on overhang, ridge board, pitch cuts, bearing, loads, materials, and local rules. Consult appropriate design documents for those decisions.

Common estimating mistakes

  • Measuring run along the roof: Measure a level horizontal run; the diagonal is the rafter line calculated from rise and run.
  • Reading 6:12 as six degrees: Use the angle output; a 6:12 pitch is about 26.57 degrees.
  • Using geometric rafter length as a cut length: Account separately for overhang, ridge, seat cuts, and structural requirements.

Assumptions and limits

  • One straight right-triangle roof section. The model illustrates a symmetric gable by mirroring that slope; it does not infer structural members.
  • The 3D model uses representative ridge length for explanation. It does not measure the building length or design the roof.
Questions & answers

Frequently Asked Questions

Common questions about the Roof Pitch Calculator.

What is the angle of an 8:12 roof?
Arctangent of 8 ÷ 12 is about 33.69 degrees.
Does 3D load on the normal calculator page?
Yes. The calculator page loads an interactive 3D roof after its main form loads. The numeric result also works when 3D is unavailable.
References & resources

Sources for Product Assumptions

See the original sources behind this roof pitch calculator's units, material data, and product examples. The exact steps used on this page are shown in the calculation and worked example.

Residential roof with shingle materials