Skip to main content
construction

Roof Pitch Calculator

Calculate roof pitch, slope angle, and rafter length from rise and run measurements.

Reviewed by Christopher FloiedPublished Updated

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

1

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.

2

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.

3

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.

4

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.

Formula Reference

Roof Pitch Calculator Formula

See calculator inputs for the governing equation

Variables: All variables and their units are labeled in the calculator interface above. Input fields accept values in multiple unit systems — select your preferred unit from the dropdown next to each field.

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.

About This Calculator

The Roof Pitch Calculator is a free, browser-based calculation tool for engineers, students, and technical professionals. Calculate roof pitch, slope angle, and rafter length from rise and run measurements. It implements standard formulas and supports both metric (SI) and imperial unit systems with automatic unit conversion. All calculations are performed instantly in your browser with no data sent to a server. Use this calculator as a quick reference and sanity-check tool during design, analysis, and learning. Always verify results against primary engineering references and applicable standards for any safety-critical application.

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

Roof pitch is traditionally expressed in the X:12 format in the United States, where X is the number of inches the roof rises for every 12 inches of horizontal run. Common residential pitches range from 4:12 (moderate slope) to 12:12 (45-degree angle). Low-slope roofs (below 3:12) require special roofing materials like modified bitumen or single-ply membranes because shingles alone will not prevent water infiltration at shallow angles. The slope factor (also called the pitch multiplier) allows you to convert a flat, plan-view area measurement into the actual roof surface area. It is calculated as the square root of (1 + (rise/run)^2). For a 6:12 pitch, the slope factor is 1.118, meaning the actual roof area is about 11.8 percent larger than the footprint. The rafter length is half the building span multiplied by the slope factor, plus any overhang. Building codes specify minimum and maximum pitches for different roofing materials and climate zones. In snow country, steeper pitches prevent dangerous snow accumulation, while in hurricane-prone areas, moderate pitches (4:12 to 6:12) resist wind uplift better than steep roofs.

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

Step 1:Pitch ratio = 6 / 12 = 0.50
Step 2:Angle = arctan(0.50) = 26.6 degrees
Step 3:Slope factor = sqrt(1 + 0.25) = 1.118
Step 4:Rafter length = (30 / 2) x 1.118 = 16.77 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.