Roof Pitch Calculator

Calculate roof pitch from rise and run, roof rise and span, or a known angle. Get the pitch ratio (x:12), degrees and slope percentage in seconds.

Choose what you know

Use the same unit for both lengths.

Vertical height gained

Horizontal distance

Example: a 6-inch rise over a 12-inch run gives a 6:12 pitch.

Understand your measurements
Run Rise Pitch angle

Run is horizontal. Rise is vertical. The sloping line represents one roof slope, not a construction drawing.

Your roof pitch results
Roof pitch—Rise per 12 units of run
Roof angle—Degrees
Roof slope—Percentage
Pitch factor—Sloped ÷ horizontal length

Results use right-triangle geometry. For a centred gable roof, the ridge must be centred. Rafter length, when shown, is the geometric slope length without extra overhang or construction allowances. Need roof dimensions beyond pitch? Use the Rafter Length Calculator or Roof Area Calculator.
0 people found this calculator helpful
💬 Feedback
Understanding roof pitch

What Is Roof Pitch?

Roof pitch describes how steep a roof is. It is usually expressed as a ratio of vertical rise to horizontal run, written as x:12.

For example, a 6:12 roof pitch means the roof rises 6 inches for every 12 inches of horizontal distance. This equals a 26.57° angle or a 50% slope.

Roof pitch is useful when measuring a roof, planning construction, estimating roofing materials and checking roofing product requirements.

6:12 Roof Pitch Diagram A roof slope rising 6 inches over a horizontal run of 12 inches, creating a 26.57 degree angle. 6:12 Roof Pitch 26.57° Run = 12 in Rise 6 in
A 6:12 pitch rises 6 inches for every 12 inches of horizontal run.
How the calculator works

How Does the Roof Pitch Calculator Work?

Choose the method that matches your roof measurements. Enter the values and the calculator will show your roof pitch (x:12), angle in degrees, slope percentage and pitch factor. If you enter dimensions, it can also calculate the geometric rafter length.

What do rise and run mean?

The rise is the vertical change in height, and the run is the horizontal distance covered by one roof slope. The sloping side is the rafter line. Use horizontal measurements, not distances measured along the roof surface.

Core angle formula
\[\theta=\tan^{-1}\left(\frac{\text{Rise}}{\text{Run}}\right)\]

The calculator uses rise divided by run to determine the roof angle and pitch ratio.

Roof rise, run, rafter and angle diagram A right triangle showing horizontal run, vertical rise, sloping rafter and the roof angle. θ RUN RISE RAFTER
Rise is vertical, run is horizontal and the rafter follows the roof slope.
Choose the information you have

Three ways to calculate your roof pitch

Select the method that matches what you know. Each method gives the same pitch for the same roof slope.

Method 1

Calculate Roof Pitch Using Rise and Run

Enter the vertical rise and horizontal run of one roof slope. Use the same unit for both values, such as inches or feet.

1

Measure the vertical rise.

2

Measure the horizontal run, not the sloping roof length.

3

Select Calculate Roof Pitch to see your results.

Example

A rise of 6 in over a run of 12 in gives:

6:12 pitch26.57°50% slope
HORIZONTAL RUNRISE
The slope forms a right triangle from its vertical rise and horizontal run.
Enter the measurements you know to get your roof pitch.

Use rise and run, rise and span, or a known angle. For accurate results, measure horizontal distances correctly.

Back to calculator
Roof geometry explained

Roof Rise, Run and Span Explained

Use the diagram to identify roof rise, horizontal run, rafter length and angle. These measurements help you choose the correct inputs and avoid calculating the pitch of the wrong roof slope.

Identify the measurements

Select a measurement to see what it means

Interactive diagram
Interactive roof geometry showing rise, run, rafter and angle A right-triangle roof diagram. Selecting a measurement highlights its corresponding line. RISE RUN RAFTER θ
Each measurement describes the same roof slope.
01 · Rise

What Is Roof Rise?

Rise is the vertical height gained from the lower end of a roof slope to its upper end. Measure between matching reference points, such as the eaves and ridge levels of a centred gable roof.

Example
\[\text{Rise}=16\text{ ft}-10\text{ ft}=6\text{ ft}\]

For example, if the eaves are 10 ft high and the ridge is 16 ft high, the roof rise is 6 ft.

Measure a vertical difference, not total building height.

Use the height difference between the two reference points that define the roof slope you are calculating.

Choose the correct span

Roof Span vs Run: Gable or Single-Slope?

Span means the full horizontal distance between the roof’s reference sides. Select a roof shape to see how the calculator uses it.

FULL SPAN = 24 ft RUN = 12 ft
Centred ridge

For a centred gable roof, each run is half the span.

Gable relationship
\[\text{Run}=\frac{24\text{ ft}}{2}=12\text{ ft}\]

This only applies when the ridge is centred. For an offset ridge, measure each slope’s actual horizontal run separately.

Ready to calculate?

Enter your rise and run, rise and span, or a known angle in the calculator above to get your roof pitch. The next section explains the results.

Understand every number

Understanding Your Roof Pitch Calculator Results

The calculator shows your roof pitch (x:12), angle in degrees, slope percentage and pitch factor. When you enter length measurements, it also calculates the geometric rafter length. Here is what each result means and when to use it.

One roof · five useful results

One roof, different ways to express its slope

For example, a roof with a 6 ft rise and 12 ft horizontal run has a 6:12 pitch, a 26.57° angle and a 50% slope. These describe the same slope, not three different measurements.

Pitch6:12
=
Angle26.57°
=
Slope50%
50% slope does not mean 50°.

Percentage and degrees express steepness in different ways. A 50% slope is approximately 26.57° above horizontal.

Six in twelve roof pitch result diagram A right triangle representing a roof with a 6 foot rise, 12 foot run, 26.57 degree angle and 13.42 foot rafter length. 26.57° RUN = 12 ft RISE = 6 ft RAFTER ≈ 13.42 ft ROOF PITCH 6:12 PITCH FACTOR 1.118 SLOPE 50%
Example geometry: 6 ft rise over 12 ft horizontal run.
Explore each result

Click a result to see what it means

Interactive guide
01 · Pitch ratio

Roof Pitch (x:12)

The main result uses the US roofing format. 6:12 means the roof rises 6 inches for every 12 inches of horizontal run. It does not mean the actual run must be 12 inches.

Example result6:12
Pitch ratio formula
\[x=\left(\frac{\text{Rise}}{\text{Run}}\right)\times12\]
Use the x:12 result

This is the standard format commonly used on US roofing drawings and product specifications.

Calculate it yourself

How to Calculate Roof Pitch Manually

To calculate roof pitch, divide the vertical rise by the horizontal run, then multiply by 12. This gives the roof pitch in the standard x:12 format.

Roof pitch formula
Roof pitch = (Rise ÷ Run) × 12
Worked example

Calculate a Roof Pitch with 6 Inches of Rise and 12 Inches of Run

A roof rises 6 inches over a 12-inch horizontal run.

(6 ÷ 12) × 12 = 6:12 pitch

The result means the roof rises 6 inches for every 12 inches of horizontal distance. This is also a 26.57° angle and a 50% slope.

Remember: Rise and run must use the same measurement unit. Measure the run horizontally, not along the sloping roof surface.
Roof pitch conversions

Roof Pitch Chart – Degrees, Percentage and x:12

Compare common roof pitches in degrees, slope percentage and pitch factor. For additional values and more detailed conversions, see our complete roof pitch chart.

Quick reference

Common Roof Pitch Conversions

Each row shows equivalent values for the same roof slope.

Roof Pitch Angle in Degrees Slope Percentage Pitch Factor
2:129.46°16.67%1.014
3:1214.04°25.00%1.031
4:1218.43°33.33%1.054
5:1222.62°41.67%1.083
6:1226.57°50.00%1.118
8:1233.69°66.67%1.202
10:1239.81°83.33%1.302
12:1245.00°100.00%1.414

Values are rounded for readability. For a pitch between these rows, enter your measurements in the calculator above to get a more precise result.

Practical measurement guide

How to Measure Roof Pitch

To measure roof pitch, find how much the roof rises vertically over a known horizontal distance. You can use a level and tape measure, take measurements from an accessible attic, or use the roof dimensions from a building plan.

Measure safely. You do not need to climb onto the roof. Use accessible measurements or drawings whenever possible. If the roof cannot be measured safely, ask a qualified professional.
Method 01

Using a Level and Tape Measure

This is a direct way to measure the pitch of an accessible roof slope.

  1. Place one end of a level against the roof slope or a straight rafter that follows it.
  2. Hold the level horizontally and measure 12 inches from the contact point.
  3. At that mark, measure the vertical distance from the level to the same roof slope or rafter line.

Example: A 6-inch rise over a 12-inch horizontal run gives a 6:12 roof pitch.

Level and tape measure used to check roof pitch over a 12-inch horizontal distance
Keep the level horizontal and measure the rise vertically.
Method 02

Measuring From Inside the Attic

If the attic is safely accessible and the rafters are visible, you can measure the slope without going onto the roof.

  1. Choose a straight rafter that follows the roof slope.
  2. Hold a level horizontally from a point on the rafter and mark 12 inches.
  3. Measure vertically from the 12-inch mark to the same rafter line. The measurement in inches gives the pitch as x:12.
Measuring the rise of a roof rafter from a horizontal reference inside an attic
Use a straight rafter as the reference for the roof slope.
Method 03

Measuring a Gable Roof From Building Dimensions

For a symmetrical gable roof with a centred ridge, use the full horizontal span and the heights at the eaves and ridge.

  1. Measure the full horizontal span between the two eaves-side reference points.
  2. Subtract the eaves height from the ridge height to find the rise.
  3. Divide the full span by two to find one slope's run.

Example: A 24 ft span with a 6 ft rise gives a 12 ft run and a 6:12 pitch. Select Rise + Span and Centred Gable in the calculator.

Gable roof elevation showing building span, eaves height and ridge height
For a centred gable roof, one slope's run is half the full span.
Method 04

Measuring a Shed or Single-Slope Roof

For a simple shed or lean-to roof with one continuous slope, measure the horizontal distance from the low side to the high side.

  1. Measure the full horizontal span between the low and high reference points.
  2. Subtract the low-side height from the high-side height to find the rise.
  3. Select Rise + Span and Single Slope in the calculator.

Example: A 16 ft horizontal span with a 4 ft rise gives a 3:12 pitch. Do not divide the span by two.

Side elevation of a shed roof showing low and high sides and the full horizontal span
A single-slope roof uses the full horizontal span as its run.
Before calculating: Measure the run horizontally, not along the sloping roof. Keep rise and run in matching units and use reference points from the same roof slope. Enter your measurements in the Roof Pitch Calculator.
Quick Answers

Frequently Asked Questions About Roof Pitch

Answers to common questions about roof angles, shingles, shed roofs, rafter length and using your calculator results.

What angle is a 4:12 roof pitch?

A 4:12 roof pitch is about 18.43°, equivalent to a 33.33% slope. It rises 4 inches for every 12 inches of horizontal run. For other common ratios, use our roof pitch chart.

Can you install asphalt shingles on a 3:12 roof?

Yes, some asphalt shingles can be installed on a 3:12 roof, but it is a low-slope application. A 2:12 pitch is a commonly specified lower limit for asphalt shingles, and pitches from 2:12 to below 4:12 typically require special underlayment details. Check the exact shingle manufacturer’s installation instructions and locally adopted code before choosing materials. Do not assume a standard shingle installation is suitable.

How do I calculate the pitch of a shed or lean-to roof?

Measure the vertical height difference between the low and high sides and the full horizontal run between those same points. Divide rise by run, then multiply by 12. For example, a 4 ft rise over a 16 ft run gives a 3:12 pitch. Unlike a centred gable roof, do not halve the run. See our roof pitch calculation guide for the formula and examples.

Can I calculate roof pitch if I only know the angle?

Yes. Select Known Angle in the calculator. A 30° roof angle converts to approximately 6.93:12 pitch, 57.74% slope and a 1.1547 pitch factor. An angle tells you the steepness, but you still need a horizontal or vertical dimension to calculate a physical rafter length.

What is a roof pitch multiplier used for?

The pitch multiplier (or pitch factor) converts a horizontal projected distance to its corresponding sloping distance. For a 6:12 pitch, the factor is about 1.118. For a single uniformly sloped roof plane, it can also help convert projected area into roof surface area. It does not include overhangs, openings, waste or extra roof planes. Use our roof area calculator for a fuller area estimate.

Is the calculated rafter length the length I should cut?

Not necessarily. The pitch calculator gives the straight sloping distance between the reference points used in the calculation. A real rafter may need adjustments for ridge-board thickness, birdsmouth cuts, overhangs and bearing details. Use the rafter length calculator for more detailed geometry, and confirm final cut dimensions from your framing plan.

Is a 6:12 roof safe to walk on?

Pitch alone cannot determine whether a roof is safe to walk on. Even a relatively moderate slope can be hazardous because of wet surfaces, loose roofing, weak decking or exposed edges. OSHA fall-protection requirements depend on the work and conditions, not simply a single pitch cutoff. Avoid climbing onto a roof to measure its pitch; use accessible drawings, attic measurements or a qualified professional instead.

Why does my calculated roof pitch look wrong?

First check that your run is horizontal, not the sloping roof length, and that rise and run use the same measurement units and reference points. For a centred symmetrical gable roof, the run is half the full span; for a simple single-slope roof, it is the full horizontal span. An offset ridge needs its actual run measured separately. Correcting these inputs usually resolves an unexpected result.