Roof Pitch Calculator
Calculate roof pitch, slope angle, and rafter length from rise and run measurements.
This free online roof pitch calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Enter your values below and see results update in real time as you type. Perfect for everyday calculations, homework, or professional use.
Vertical rise per 12 inches of run
Horizontal run (typically 12 inches)
Total building width (eave to eave)
Results
Pitch
0.5
Slope Angle
26.6°
Slope Factor
1.118
Rafter Length
16.77 ft
How to Use This Calculator
Enter your input values
Fill in all required input fields for the Roof Pitch Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.
Review your inputs
Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.
Read the results
The Roof Pitch Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.
Explore parameter sensitivity
Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.
When to Use This Calculator
- •Use the Roof Pitch Calculator when you need accurate results quickly without the risk of manual computation errors or unit conversion mistakes.
- •Use it to verify calculations made by hand or in spreadsheets — an independent check can catch errors before they lead to costly decisions.
- •Use it to explore how changing input parameters affects the output — a quick way to develop intuition and identify the most influential variables.
- •Use it when collaborating with others to ensure everyone is working from the same numbers and applying the same assumptions.
Related Calculators
Ramp Calculator
Calculate the required length, slope angle, and materials for an ADA-compliant wheelchair ramp based on the height change and desired slope ratio for accessibility projects.
Cubic Yard Calculator
Convert length, width, and depth measurements into cubic yards for ordering bulk materials.
Roof Truss Calculator
Calculate the number of roof trusses needed, their approximate span and height dimensions based on building width, roof pitch, and truss spacing for preliminary planning.
Square Footage Calculator
Calculate the area of a rectangular space in square feet from length and width measurements.
Board Foot Calculator
Calculate the board footage of a single piece of lumber from its thickness, width, and length.
Fence Calculator
Calculate the number of posts, rails, and pickets needed for a fence based on length and spacing.
About Roof Pitch Calculator
Roof pitch describes the steepness of a roof, expressed as the ratio of vertical rise to horizontal run (e.g., 6:12 means the roof rises 6 inches for every 12 inches of horizontal distance). This calculator converts that ratio into the slope angle in degrees, computes the slope factor for adjusting flat-area measurements to actual roof area, and estimates rafter length based on the building span. Whether you are ordering shingles, planning a roof replacement, or designing a new structure, knowing the pitch is essential. Steeper roofs shed water and snow more effectively but require more material and are more difficult to work on safely.
The Math Behind It
Formula Reference
Pitch
Pitch = Rise / Run
Variables: Expressed as X:12 (e.g., 6:12)
Angle
Angle = arctan(Rise / Run)
Variables: Result in degrees
Slope Factor
SF = sqrt(1 + (Rise/Run)^2)
Variables: Multiply by horizontal run to get rafter length
Worked Examples
Example 1: 6:12 pitch on a 30 ft wide building
Rise = 6 in, Run = 12 in, Span = 30 ft
The roof has a 26.6-degree angle with rafters approximately 16.77 ft long.
Common Mistakes & Tips
- !Confusing pitch ratio with angle in degrees -- a 6:12 pitch is 26.6 degrees, not 6 degrees.
- !Forgetting to add eave overhang to the rafter length calculation.
- !Using pitch where slope is required, or vice versa.
- !Not applying the slope factor when converting building footprint to actual roof area.
Related Concepts
Used in These Calculators
Calculators that build on or apply the concepts from this page:
Frequently Asked Questions
What is the most common roof pitch?
The most common residential roof pitch in the US is between 4:12 and 6:12. A 4:12 pitch provides a good balance between aesthetics, cost, and water shedding.
What is the minimum pitch for shingles?
Most asphalt shingle manufacturers require a minimum pitch of 2:12, with some allowing down to 2:12 only if special underlayment is used. Below 2:12, low-slope roofing systems are required.
Embed this calculator on your site
Paste this snippet into your blog, course page, or documentation to drop a live, interactive Roof Pitch Calculator into your page.
Free to embed — includes a link back to MegaCalc.