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
Vertical height gained
Horizontal distance
Example: a 6-inch rise over a 12-inch run gives a 6:12 pitch.
Vertical rise from eave to high point
Full horizontal roof width
A centred gable uses half the total span as its run. If the ridge is off-centre, use Rise + Run for the slope you are measuring.
Angle measured up from the horizontal, not from the vertical.
Run is horizontal. Rise is vertical. The sloping line represents one roof slope, not a construction drawing.
Share Calculator
Roof Pitch Calculator
Choose a citation format for the Roof Pitch Calculator.
Related Calculators
View all calculators →
Gutter Cost Calculator
Open this roofing calculator for a focused calculation with clear inputs and results.
Try Calculator →
Ice & Water Shield Calculator
Open this roofing calculator for a focused calculation with clear inputs and results.
Try Calculator →
Metal Roof Calculator
Open this roofing calculator for a focused calculation with clear inputs and results.
Try Calculator →
Rafter Length Calculator
Open this roofing calculator for a focused calculation with clear inputs and results.
Try Calculator →
Roof Area Calculator
Open this roofing calculator for a focused calculation with clear inputs and results.
Try Calculator →
Roof Height Calculator
Open this roofing calculator for a focused calculation with clear inputs and results.
Try Calculator →
Roof Sheathing Calculator
Open this roofing calculator for a focused calculation with clear inputs and results.
Try Calculator →
Roof Shingle Calculator
Open this roofing calculator for a focused calculation with clear inputs and results.
Try Calculator →
Roof Truss Calculator
Open this roofing calculator for a focused calculation with clear inputs and results.
Try Calculator →
Roof Underlayment Calculator
Open this roofing calculator for a focused calculation with clear inputs and results.
Try Calculator →
Roof Ventilation Calculator
Open this roofing calculator for a focused calculation with clear inputs and results.
Try Calculator →
Roofing Cost Calculator
Open this roofing calculator for a focused calculation with clear inputs and results.
Try Calculator →
Roofing Square Calculator
Open this roofing calculator for a focused calculation with clear inputs and results.
Try Calculator →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.
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.
The calculator uses rise divided by run to determine the roof angle and pitch ratio.
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.
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.
Measure the vertical rise.
Measure the horizontal run, not the sloping roof length.
Select Calculate Roof Pitch to see your results.
A rise of 6 in over a run of 12 in gives:
Calculate Roof Pitch Using Rise and Span
Enter the vertical rise of the roof slope and the total horizontal span. Choose the correct roof shape so the calculator uses the right horizontal run.
Select this for a roof with a ridge in the centre. The run of one side is half the total span.
Select this for a shed or lean-to roof with one continuous slope. The run equals the full horizontal span.
With a rise of 6 ft and total span of 24 ft:
If a gable ridge is not centred, measure the actual horizontal run of the slope and use Rise + Run instead.
Convert a Known Roof Angle to Pitch
If you already know the roof angle from a drawing or measurement, enter it in degrees. The calculator converts it into an x:12 pitch ratio, slope percentage and pitch factor.
A roof angle of 30° is approximately:
To calculate a geometric rafter length, use Rise + Run or Rise + Span with measured dimensions.
Use rise and run, rise and span, or a known angle. For accurate results, measure horizontal distances correctly.
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.
Select a measurement to see what it means
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.
For example, if the eaves are 10 ft high and the ridge is 16 ft high, the roof rise is 6 ft.
Use the height difference between the two reference points that define the roof slope you are calculating.
What Is Roof Run?
Run is the horizontal distance covered by one slope, measured from its lower reference point to the point directly beneath its upper reference point. Do not measure along the sloping rafter.
For a centred gable roof with a 24 ft span, the run of either slope is 12 ft. For a single-slope roof, the run is the full horizontal distance from its low side to its high side.
Using the entire span as the run of a centred gable roof will give an incorrect pitch.
What Is Rafter Length?
Rafter length is the straight sloping distance between the same two reference points used for rise and run. The calculator can find this geometric length when both dimensions are known.
With a 6 ft rise and 12 ft run:
The calculated length excludes construction adjustments such as overhangs, ridge details and birdsmouth cuts unless the entered dimensions explicitly account for them.
How Do Rise and Run Determine the Roof Angle?
Roof angle is the angle between the horizontal run and the sloping rafter line. It depends on the ratio of rise to run, not on either measurement alone.
With the same run, a greater rise produces a steeper roof.
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.
For a centred gable roof, each run is half the span.
This only applies when the ridge is centred. For an offset ridge, measure each slope’s actual horizontal run separately.
For a single-slope roof, the run is the full horizontal span.
Do not divide the span by two for a single-slope roof.
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.
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, 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.
Percentage and degrees express steepness in different ways. A 50% slope is approximately 26.57° above horizontal.
Click a result to see what it means
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.
This is the standard format commonly used on US roofing drawings and product specifications.
Roof Angle (Degrees)
The angle is measured between the roof slope and a horizontal line. A 6:12 roof has an angle of approximately 26.57°.
Use this result when a drawing, roof window or product specification gives the required slope in degrees.
Roof Slope (%)
Slope percentage compares the vertical rise with the horizontal run. A 50% slope means the roof rises 0.5 units per 1 unit horizontally. It does not mean 50 degrees.
For the same roof, 50% slope is approximately 26.57°. Use the percentage only when that is the format your source requires.
Roof Pitch Factor
The pitch factor converts a horizontal projected length into its corresponding sloping length. A 6:12 roof has a factor of approximately 1.1180.
Multiply the horizontal run by the factor to estimate the straight sloping distance. The factor can also be used for simple roof-plane area calculations.
Geometric Rafter Length
When you enter rise and run, or rise and span, the calculator also reports the straight sloping distance between the calculation points. For 6 ft rise and 12 ft run, it is about 13.42 ft.
This is a geometric length, not necessarily the timber cutting length. It excludes any additional overhang or construction allowances.
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.
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.
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.
Prefer an instant result? Use the Roof Pitch Calculator above.
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.
Common Roof Pitch Conversions
Each row shows equivalent values for the same roof slope.
| Roof Pitch | Angle in Degrees | Slope Percentage | Pitch Factor |
|---|---|---|---|
| 2:12 | 9.46° | 16.67% | 1.014 |
| 3:12 | 14.04° | 25.00% | 1.031 |
| 4:12 | 18.43° | 33.33% | 1.054 |
| 5:12 | 22.62° | 41.67% | 1.083 |
| 6:12 | 26.57° | 50.00% | 1.118 |
| 8:12 | 33.69° | 66.67% | 1.202 |
| 10:12 | 39.81° | 83.33% | 1.302 |
| 12:12 | 45.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.
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.
Using a Level and Tape Measure
This is a direct way to measure the pitch of an accessible roof slope.
- Place one end of a level against the roof slope or a straight rafter that follows it.
- Hold the level horizontally and measure 12 inches from the contact point.
- 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.
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.
- Choose a straight rafter that follows the roof slope.
- Hold a level horizontally from a point on the rafter and mark 12 inches.
- Measure vertically from the 12-inch mark to the same rafter line. The measurement in inches gives the pitch as x:12.
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.
- Measure the full horizontal span between the two eaves-side reference points.
- Subtract the eaves height from the ridge height to find the rise.
- 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.
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.
- Measure the full horizontal span between the low and high reference points.
- Subtract the low-side height from the high-side height to find the rise.
- 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.
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.
Explore All Our Calculators
In addition to our Roof Pitch Calculator, we offer free tools for roof measurements, framing, materials and cost estimates. Choose a calculator below to get started.
- Gutter Cost Calculator
- Ice & Water Shield Calculator
- Metal Roof Calculator
- Rafter Length Calculator
- Roof Area Calculator
- Roof Height Calculator
- Roof Sheathing Calculator
- Roof Shingle Calculator
- Roof Truss Calculator
- Roof Underlayment Calculator
- Roof Ventilation Calculator
- Roofing Cost Calculator
- Roofing Square Calculator
You can also browse our complete calculator library.
