Roof Pitch Calculator: Calculate Roof Slope & Rafter Length
Roof pitch is one of the most fundamental measurements in residential and commercial construction. Whether you’re framing a new roof, estimating materials, checking compliance with local building codes, or calculating snow and wind loads, knowing your roof’s pitch with precision is essential. This free roof pitch calculator computes pitch ratio, angle in degrees, rafter length, and slope percentage from your rise and run measurements — with a real-time interactive blueprint diagram and material guidance for each pitch category.
🏗️ Core roof pitch formulas:
Pitch ratio = Rise ÷ Run
Angle = arctan(Rise ÷ Run)
Rafter length = √(Rise² + Run²)
Slope % = (Rise ÷ Run) × 100
Pitch in X:12 notation = (Rise ÷ Run) × 12
Understanding Roof Pitch: Rise Over Run
Roof pitch describes how steep a roof is — specifically, how many units of vertical rise occur for every unit of horizontal run. In the US, pitch is almost always expressed in the X:12 format, where X is the number of inches of rise per 12 inches of run. A 6:12 pitch means the roof rises 6 inches vertically for every 12 inches it runs horizontally.
The 12-inch denominator is the US standard because it makes pitch intuitive in imperial measurements. A roofer who says “six-twelve” immediately communicates a moderately sloped roof that most homeowners can walk on safely with appropriate footwear. International builders often use the decimal pitch ratio (0.5 for a 6:12 roof) or the slope percentage (50%).
Common Roof Pitch Ratios and Their Applications
| Pitch (X:12) | Angle | Category | Suitable materials | Common uses |
| 1:12 – 2:12 | 4.8° – 9.5° | Flat / Low-slope | TPO, EPDM, built-up roofing | Commercial buildings, flat extensions |
| 3:12 – 4:12 | 14.0° – 18.4° | Low pitch | Metal, asphalt (with barrier), EPDM | Ranch homes, shallow gables |
| 5:12 – 7:12 | 22.6° – 30.3° | Medium pitch | All materials | Most common residential pitches |
| 8:12 – 10:12 | 33.7° – 39.8° | Steep pitch | All materials; slate, tile preferred | Cape Cod, Colonial, traditional styles |
| 11:12 – 12:12 | 42.5° – 45.0° | Very steep | All; expensive to install | Victorian, A-frame, steep gables |
| Over 12:12 | Over 45° | Extreme | Wood shake, slate | Decorative turrets, steep A-frames |
How to Calculate Rafter Length
Rafter length is calculated using the Pythagorean theorem — the same formula that finds the hypotenuse of a right triangle. The roof triangle has: rise (vertical leg), run (horizontal leg), and rafter (hypotenuse).
Formula: Rafter = √(Rise² + Run²)
Example: 6-inch rise, 12-inch run. Rafter = √(6² + 12²) = √(36 + 144) = √180 = 13.42 inches. This is the rafter length for 12 inches of horizontal run — scale up by multiplying by the actual run distance. For a house with a 15-foot half-span: rafter per foot = 13.42/12 = 1.118 ft/ft. Total rafter = 1.118 × 15 = 16.77 feet (plus overhang allowance of typically 1.5–2 feet).
Roof Pitch and Material Selection
🔲Low-slope (below 3:12)
Requires membrane roofing: TPO, EPDM, PVC, or built-up roofing (BUR). These materials create a watertight seal suited to near-flat surfaces. Standard shingles are not suitable — water pools instead of draining. Internal drains, scuppers, or gutters must be carefully engineered.
🏠Medium slope (4:12 – 7:12)
The most popular residential range for its balance of aesthetics, cost, and weather performance. Compatible with asphalt shingles (most common), metal panels, concrete and clay tiles (min 4:12), wood shingles (min 3:12), and slate (min 4:12). The widest choice of materials at the best cost.
⛰️Steep slope (8:12+)
Excellent water and snow shedding. All standard materials are suitable. Labour costs increase significantly — working on steep pitches requires scaffolding or roof jacks. Material waste increases with steeper pitches as cutting becomes more complex. Attic space is larger, which can be a design benefit.
❄️Snow country considerations
In heavy snow regions, steep pitches (6:12+) allow snow to slide off, reducing structural load. Very flat roofs can accumulate dangerous snow loads. However, steeply sliding snow can create ground hazards — guards or barriers may be required near entrances and walkways.
Roof Pitch vs Roof Angle: Understanding the Difference
Roof pitch (X:12 ratio) and roof angle (degrees) both describe steepness but are expressed differently. Pitch is the practical measurement used in construction documents and material specifications. Angle in degrees is used in structural engineering and load calculations.
Conversion: Angle = arctan(Pitch ratio). A 6:12 pitch = arctan(0.5) = 26.57°. A 12:12 pitch = arctan(1.0) = 45.0°. The angle representation is non-linear — going from 3:12 (14.0°) to 6:12 (26.6°) doubles the pitch ratio but adds only 12.6°, while going from 9:12 (36.9°) to 12:12 (45.0°) adds only 8.1° for the same pitch-ratio increase.
Related Construction Calculators
Frequently Asked Questions
How do you calculate roof pitch?
Roof pitch is calculated by dividing the rise (vertical height) by the run (horizontal distance). Pitch ratio = Rise ÷ Run. To express in the standard US X:12 format: multiply the ratio by 12. Example: 6-inch rise over 12-inch run = 6/12 = 0.5 ratio = 6:12 pitch. For a roof with 3-foot rise over 10-foot run: 3/10 = 0.3 ratio × 12 = 3.6:12 pitch. Enter your measurements in this calculator and the result appears instantly along with the angle in degrees, rafter length, and slope percentage.
What is a 6/12 roof pitch?
A 6/12 (or 6:12) roof pitch means the roof rises 6 inches vertically for every 12 inches of horizontal run. This gives a pitch ratio of 0.5 (50%), an angle of 26.57°, and a rafter length of 13.42 inches per foot of run. The 6:12 pitch is one of the most common residential pitches in North America — it provides good water drainage, supports most roofing materials, and creates a visually appealing moderately steep roof. It falls in the medium pitch category and is walkable with appropriate safety equipment.
How do I calculate roof angle in degrees?
Roof angle = arctan(Rise ÷ Run). This is the inverse tangent (arctangent) of the pitch ratio. Examples: 4:12 pitch = arctan(4/12) = arctan(0.333) = 18.43°. 6:12 = arctan(0.5) = 26.57°. 8:12 = arctan(0.667) = 33.69°. 12:12 = arctan(1.0) = 45.0°. This calculator computes the angle automatically from your rise and run inputs. Engineers use degrees for structural load calculations; roofers and framers primarily use the X:12 pitch format for practical construction work.
What is rise over run in roofing?
Rise over run is the fundamental measurement of roof steepness. The “rise” is the vertical height from the ceiling joist or top plate to the ridge board. The “run” is the horizontal distance from the outside wall to directly below the ridge — typically half the building width for a symmetric gable roof. The ratio of these two measurements (rise ÷ run) defines the pitch. In standard US framing, run is measured horizontally per 12 inches, making the pitch “X inches of rise per 12 inches of run.”
How do I calculate rafter length?
Rafter length = √(Rise² + Run²). This is the Pythagorean theorem applied to the roof triangle. Example: 6-inch rise, 12-inch run. Rafter = √(36 + 144) = √180 = 13.42 inches (per 12 inches of run). For a house 28 feet wide with a 6:12 pitch: Half-span (run) = 14 feet = 168 inches. Rise = 168 × (6/12) = 84 inches. Rafter = √(84² + 168²) = √(7056 + 28224) = √35280 = 187.8 inches = 15.65 feet. Add 1.5–2 feet for overhang to get the total cut length.
What roof pitch is best?
There is no universally “best” roof pitch — the optimal choice depends on climate, architectural style, and budget. For most residential construction: 4:12 to 7:12 is considered the standard range, offering the best balance of water drainage, material compatibility, attic space, and walkability for maintenance. In heavy snow regions, 6:12+ is preferred to shed snow load. In high-wind areas, lower pitches (3:12 to 5:12) reduce wind resistance. Architecturally, the pitch should be appropriate for the home’s style — low Ranch homes suit 3:12 to 4:12; traditional Colonial and Tudor styles typically use 8:12 to 12:12.
What is a low-slope roof?
Low-slope roofs have a pitch between 1:12 and 3:12 (2.4° to 14.0°). Roofs below 2:12 are typically called “flat roofs” though they always have some slope for drainage. Low-slope roofs require specialised waterproofing membranes (TPO, EPDM, PVC, or built-up roofing) because standard shingles cannot adequately prevent water infiltration at these angles. They’re common on commercial buildings, garages, extensions, and contemporary architecture. Ponding water (water that stands for more than 48 hours) is the main maintenance concern for low-slope roofs.
Can I use metric units?
Yes — this calculator supports inches, feet, metres, and centimetres. Select your preferred unit from the dropdown and enter your measurements. The pitch ratio, angle, rafter length, and slope percentage are calculated correctly regardless of the unit chosen. The pitch X:12 notation in results converts your measurements to the equivalent inches-per-12-inches standard for comparison purposes. In metric countries, roof pitch is often expressed as a ratio (e.g., 1:2), as a percentage (50%), or as an angle in degrees rather than the X:12 format.
How does roof pitch affect material quantities?
Steeper roofs have longer rafter spans and larger surface areas than flat projections of the same footprint. A 4:12 roof over a 1,000 sq ft floor plan has approximately 1,054 sq ft of surface area (5.4% more). A 12:12 pitch over the same footprint has approximately 1,414 sq ft (41.4% more). This “roof area multiplier” increases material quantities — more shingles, underlayment, flashing, and nails. Labour costs also increase with pitch because workers must move more carefully and materials are harder to handle. Always calculate actual roof area (not floor area) when estimating roofing materials.
How accurate is this roof pitch calculator?
The calculations are mathematically exact using standard trigonometry and the Pythagorean theorem. Pitch ratio, angle, rafter length, and slope percentage are all derived precisely from your input values. Sources of real-world variation: (1) Field measurements of rise and run are rarely as precise as calculator inputs — always take multiple measurements and use an average; (2) Lumber dimensions have tolerances; (3) Rafter length calculations don’t include overhang, ridge board thickness, or bird’s mouth cut depth. For construction, add appropriate allowances beyond the calculated rafter length and verify with a licensed contractor.
Calculate your roof pitch
Pitch ratio, angle, rafter length, slope % — accurate, instant, free.
Calculate roof pitch ↑