⬅ JusTheTool Home

📐 Slope & Pitch Calculator

Instantly convert Rise and Run into Roof Pitch (X:12), Angle (Degrees), Slope Percentage (%), and Ratio (1:X). Perfect for roofing, ADA ramps, and plumbing drainage.

*Note: Ensure both Rise and Run are in the same unit (e.g., both in inches, or both in feet).

Calculated Slope & Pitch

Roof Pitch
X:12
Angle
0.00°
Slope Percentage
0.00%
Slope Ratio
1:X

How to Use This Calculator

Whether you are framing a roof, pouring a wheelchair ramp, or laying a PVC drain pipe, the fundamental math is exactly the same: Rise over Run.

Simply enter your Rise and Run (in the same unit of measurement, like inches or feet), and the calculator will instantly generate the four universal ways to express that slope.

1. Roof Pitch (The "X:12" Format)

In carpentry and roofing, slope is almost always expressed as a ratio based on 12 inches of run. This is called "Pitch." If a roof rises 4 inches for every 12 inches of horizontal distance, it is called a 4:12 pitch (spoken as "four in twelve").

Common Roof Pitches & Angles

PitchAngle (Degrees)Slope %Common Use
2:129.46°16.67%Low slope / Porches
4:1218.43°33.33%Standard Ranch Home
6:1226.57°50.00%Standard Colonial / Cape Cod
9:1236.87°75.00%Steep / A-Frame Cabins
12:1245.00°100.0%Extreme Steep / Gothic

2. Wheelchair Ramps (ADA Compliance)

If you are building a wheelchair ramp, you must follow the Americans with Disabilities Act (ADA) guidelines. The legal maximum slope for a commercial or public ramp is a 1:12 ratio.

This means for every 1 inch of rise, you must have at least 12 inches (1 foot) of ramp length. If your porch is 24 inches off the ground, your ramp must be at least 24 feet long. In our calculator, a 1:12 ratio will show up as an 8.33% grade and a 4.76° angle.

💡 Contractor Pro-Tip: The "1:16" Rule While 1:12 is the legal maximum, it is incredibly steep for someone in a manual wheelchair to push themselves up. If you have the space, build your ramp at a 1:16 or 1:20 slope. It takes more lumber and concrete, but it makes the ramp significantly safer and easier to use.

3. Plumbing Drainage (Pipe Slope)

When laying PVC or ABS drain pipes, gravity is your only engine. If the pipe is too flat, water won't move and solids will clog. If the pipe is too steep, the water will outrun the solids, leaving them behind to cause a blockage.

The universal plumbing code standard for drainage is 1/4 inch of drop per foot of pipe.

If you plug those numbers into our calculator, you will see that standard plumbing slope is exactly a 2% grade and a 1.19° angle.

Frequently Asked Questions

What is the difference between Slope and Pitch?

Mathematically, they are the same concept (Rise over Run). However, the trades use them differently. "Pitch" is used in roofing and is expressed as a fraction of 12 (e.g., 6:12). "Slope" is used in civil engineering, landscaping, and plumbing, and is usually expressed as a percentage (e.g., 2% grade) or a ratio (e.g., 1:12).

How do I measure the pitch of an existing roof?

Take a 24-inch level and a tape measure. Climb onto the roof (or use a ladder at the gable end). Hold the level perfectly flat against the roof shingles. At the 12-inch mark on the level, measure straight down to the roof shingles. That vertical distance in inches is your pitch. If it measures 5 inches, you have a 5:12 pitch.

What is a 100% slope?

A 100% slope does NOT mean a vertical wall. A 100% slope means the Rise and the Run are exactly equal (e.g., 12 inches of rise for every 12 inches of run). This creates a perfect 45-degree angle. A vertical wall is an "infinite" slope.

What is the minimum slope for a metal roof?

For standard corrugated or standing seam metal roofing, the absolute minimum pitch is 3:12 (or 1/4:12 for specialized architectural standing seam with sealed seams). If you go lower than 3:12 with standard lap seams, wind-driven rain and capillary action will pull water under the metal panels and cause leaks.