Roof Pitch Calculator: Free 3D Roof Slope, Angle & Rafter Estimator

Interactive 3D Truss CAD, Angle & Rafter Multiplier Tool

Roof Pitch Calculator: Free 3D Roof Slope, Angle & Rafter Estimator

Measuring a roof for framing, solar panels, or new shingles? Use our interactive 3D roof pitch calculator and roof slope calculator to convert rise and run into exact $X/12$ pitch ratios, degrees, percentage grade, ridge height, and rafter lengths. This mobile-friendly roof pitch calculator app, pitched roof calculator, and pitched roof angle calculator visualizes your speed-square cut angles and truss geometry in real time.

1. Calculation Input Mode & Slope MeasurementsStep 1 of 3
Roof Pitch Ratio (Rise per 12" Run): 5 / 12 Pitch (22.62°)Walkable Slope
2. Roof Framing Style, Building Span & OverhangStep 2 of 3
3. Rafter Lumber Size & Roofing Material CheckStep 3 of 3
Interactive 3D Roof Pitch, Rafter & Speed-Square Blueprint
Drag on blueprint to orbit 360° • Visualizes pitch triangle, ridge height & raftersPitch: 5/12 (22.62°)
Calculated Roof Pitch & Slope Angle
5.00 / 12 Pitch
Angle: 22.62° | Slope Grade: 41.67%
Pitch Multiplier: 1.083x (13.00" per ft run)
5′ 0" High
At 12.0 ft Horizontal Run
14′ 5"
Common Rafter (w/ Overhang)
1,152 sq ft
11.52 Roofing Squares
Complete Pitched Roof Angle & Rafter SpecificationsIRC Shingle Compliant
Framing & Slope MetricFormula / BasisExact Measurement
Roof Pitch Ratio ($X:12$)Vertical Rise per 12" Run5.00 / 12
Roof Pitch Angle & Grade$\arctan(\text{Rise} \divide \text{Run})$22.62° (41.67% Slope)
Common Rafter Multiplier$\sqrt{1 + (\text{Pitch}\divide 12)^2}$1.0833x (13.00"/ft)
Total Peak Ridge Height12.0 ft Run × 5.00"/ft5.00 ft (60.0 in)
Common Rafter Length (Net + Tail)13.00 ft Body + 1.44 ft Eave14.44 ft (14′ 5")
Hip / Valley Rafter Length$\sqrt{\text{Pitch}^2 + 288} \divide 12$ Factor19.38 ft (19′ 5")
Speed Square Saw Cut Angles42 Total Rafters (24" OC)Plumb: 22.6° | Seat: 67.4°
Building Code & Walkability Check: A 5/12 pitch (22.6°) is comfortably walkable without roof jacks and qualifies for standard single-layer synthetic underlayment under asphalt shingles.

Convert Your Pitch Multiplier into Shingle Bundles

Once you know your exact roof pitch factor and sloped square footage above, head over to our roofing calculator to estimate shingle bundles, underlayment rolls, drip edge, and full tear-off labor costs.

Elevating Low-Slope Patio Roofs & Overhangs

Tying a new patio cover into a low 3/12 or 4/12 house eave without losing headroom? Explore heavy-duty bracket hardware in our guide to SkyLift roof riser alternatives for elevated pergola and porch framing.

Matching Roof Pitch to Metal vs. Shingle Materials

Low-slope roofs between 1/12 and 3/12 shed water slowly and often require standing seam panels rather than standard shingles. Read our comparison of metal roof vs. asphalt shingles to choose the right system for your slope angle.

Steep-Slope Architectural Shingle Performance

On prominent 6/12 to 12/12 pitched roofs where street visibility and high-wind uplift matter most, heavier laminated shingles stand out. Check our breakdown of CertainTeed Landmark vs. Landmark Pro before ordering materials.

How Our Pitched Roof Calculator & Roof Slope Calculator Works

In North American carpentry and roofing, slope is expressed as a pitch ratio of $X/12$ (read as “$X$ in 12”), where $X$ is the number of vertical inches the roof rises for every 12 inches (1 foot) of horizontal run. On a standard symmetrical gable roof, the horizontal run equals half of the total building span ($Run = Span \divide 2$). On a single-slope shed roof, the horizontal run equals the entire building width. Our pitched roof angle calculator uses three core trigonometric formulas to convert between pitch, degrees, and rafter lengths:

1. Roof Angle in Degrees: $\theta = \arctan(\text{Pitch} \divide 12) \times (180 \divide \pi)$
2. Common Rafter Multiplier: $\text{Factor} = \sqrt{1 + (\text{Pitch} \divide 12)^2}$
3. Hip / Valley Rafter Multiplier: $\text{Hip Factor} = \sqrt{2 + (\text{Pitch} \divide 12)^2}$

Roof Pitch ($X/12$)Angle (Degrees)Slope Grade (%)Common Rafter MultiplierHip/Valley MultiplierWalkability & Code Notes
2/12 Pitch9.46°16.67%1.014x (12.17"/ft)1.424x (17.09"/ft)Min shingle slope; requires double ice/water barrier
3/12 Pitch14.04°25.00%1.031x (12.37"/ft)1.436x (17.23"/ft)Low slope; easily walkable; special underlayment
4/12 Pitch18.43°33.33%1.054x (12.65"/ft)1.453x (17.44"/ft)Standard minimum for single-layer underlayment
5/12 Pitch22.62°41.67%1.083x (13.00"/ft)1.474x (17.69"/ft)Ideal residential pitch (~22.5°); very walkable
6/12 Pitch26.57°50.00%1.118x (13.42"/ft)1.500x (18.00"/ft)Classic gable slope; max comfortable walk pitch
8/12 Pitch33.69°66.67%1.202x (14.42"/ft)1.564x (18.76"/ft)Steep slope; requires roof jacks & safety harness
10/12 Pitch39.81°83.33%1.302x (15.62"/ft)1.641x (19.70"/ft)Very steep architectural pitch; steep-labor rate
12/12 Pitch45.00°100.00%1.414x (16.97"/ft)1.732x (20.78"/ft)Exact 45° diagonal slope; 1 ft rise per 1 ft run

Frequently Asked Questions

How do I calculate a roof pitch?

To calculate a roof pitch yourself, place a 12-inch carpenter's level (or mark 12 inches on a longer level) horizontally against the underside of a rafter in your attic—or against the roof surface—and hold it dead level. Next, measure straight up vertically from the 12-inch mark on the level to the bottom edge of the rafter (or roof deck). That vertical measurement in inches is your rise per 12 inches of run ($X/12$). If you only know your building's total ridge height and width, divide Total Rise (in inches) ÷ Total Run (in inches) × 12 to get your exact $X/12$ pitch.

What roof slope is 22.5 degrees?

A 22.5-degree roof slope equals a 5/12 roof pitch (specifically 4.97/12, which carpenters and roofers round to a standard 5/12 pitch, or 22.62 degrees). Expressed as a percentage grade, a 22.5-degree slope is a 41.42% grade ($\tan(22.5^\circ) \times 100$), and its common rafter length multiplier is 1.082x to 1.083x (exactly 13 inches of sloped rafter length for every 12 inches of horizontal run, forming a classic 5-12-13 right triangle).

What is the pitch of a 12/12 roof?

A 12/12 roof pitch has an exact 45-degree angle and a 100% slope grade, meaning the roof rises 12 vertical inches for every 12 horizontal inches of run (a 1:1 ratio). Because the sloped rafter forms the hypotenuse of an isosceles right triangle ($\sqrt{12^2 + 12^2} = 16.97\text{ inches}$), a 12/12 roof has a 1.414x pitch multiplier—meaning a house with a 2,000-square-foot flat footprint requires 2,828 square feet of sloped roofing material before waste.

How high is a 5′12" pitch roof?

A 5/12 pitch roof (often written as 5:12 or 5"/12") rises 5 inches vertically for every 12 inches (1 foot) of horizontal run. On a standard symmetrical gable roof, the horizontal run to the center peak is half the total building width ($Span \divide 2$):
• On a 20-foot-wide building (10 ft run): $10 \times 5\text{ inches} = 50\text{ inches}$ (4 feet 2 inches high at the ridge).
• On a 24-foot-wide building (12 ft run): $12 \times 5\text{ inches} = 60\text{ inches}$ (exactly 5 feet 0 inches high at the ridge).
• On a 30-foot-wide building (15 ft run): $15 \times 5\text{ inches} = 75\text{ inches}$ (6 feet 3 inches high at the ridge).
• On a 40-foot-wide building (20 ft run): $20 \times 5\text{ inches} = 100\text{ inches}$ (8 feet 4 inches high at the ridge).

Ralph Wade

Hey...Ralph is here! So, did you find this article useful? If so, please leave a comment and let me know. If not, please tell me how I can improve this article.Your feedback is always appreciated. Take love :)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts