Skip to content

Roof Pitch Calculator

Calculate roof pitch with instant, accurate results and clear step-by-step output.

By CalcGenius Editorial TeamLast reviewed August 28, 20253 min read
Roof Pitch Calculator

Vertical inches gained over the run.

Standard 12 in for residential pitch ratios.

Length along the ridge (longer building dimension).

Total width (2 × run for a symmetric gable).

📊
Enter your values and click Calculate

About

Roof pitch is the slope of a roof, expressed conventionally in the US as inches of rise per 12 inches of run — "4:12" means the roof rises 4 inches vertically for every 12 inches of horizontal run. Pitch determines how well the roof sheds water and snow, what materials can be used (asphalt shingles need minimum 2:12, membrane roofs for less than 2:12), walkability (above 6:12 requires fall protection), and the actual surface area (steeper pitches have more area than the footprint below). The slope factor — sqrt(rise² + run²) ÷ run — multiplies the building footprint to give the roof surface area, essential for material ordering.

The pitch ratio and angle are related by tangent: angle (in degrees) = atan(rise ÷ run) × (180/π). For a 4:12 pitch, atan(4/12) = atan(0.333) = 0.3217 rad × 57.2958 = 18.43°. To convert from angle to pitch: rise/run = tan(angle). For a 30° angle, tan(30) = 0.577 = 6.93/12, so the pitch is about 7:12. The calculator supports both input modes — use whichever you have (your building plans typically use ratio, while a digital protractor reads angle).

The slope factor multiplies the building footprint to give the roof surface area. For a 4:12 gable, the slope factor is 1.054 (5.4% more surface area than footprint). For a 6:12, it's 1.118 (11.8% more). For a 12:12, it's 1.414 (41.4% more — almost half again the footprint area). So a 1,500 sq ft house needs about 1,580 sq ft of shingles at 4:12, but 2,121 sq ft at 12:12 — that's 34% more material cost for the steeper pitch. Always include the slope factor in shingle ordering or you'll come up 5–40% short.

Roof type also affects surface area. Gable roofs (two sloped planes meeting at a ridge) are the simplest and have the smallest surface area for a given pitch — surface area = footprint × slope factor. Hip roofs (all four sides slope down to the walls) have about 10% more surface area than gable roofs of the same footprint and pitch (because the hip ridges add surface). Shed roofs (single sloped plane) match the gable calculation for surface area. Mansard and gambrel roofs (which have multiple pitches on each side) require piece-by-piece calculation.

Shingles and underlayment are sold by the "square" — 100 sq ft of roof surface area. A typical 1,500 sq ft house with a 4:12 gable roof needs about 16 squares of shingles (1,580 ÷ 100). Add 10–15% for waste, cuts, starter courses, and hip/ridge caps — so order 18 squares. Three bundles of standard 3-tab or architectural asphalt shingles equal one square (33.3 sq ft per bundle). Hip and ridge cap shingles are sold separately — one bundle covers about 20 linear feet of ridge. For a typical 40-ft ridge + 4 hip ridges at 18 ft each = 112 linear ft → 6 bundles of hip/ridge caps.

How to Use

  1. 1
    Select the input mode
    Choose Ratio (enter rise and run as X:12), Angle (enter angle in degrees), or Both (enter both rise and run, and see the angle). Ratio is most common for residential roofs; angle is used with digital protractors.
  2. 2
    Enter the rise and run
    Rise is the vertical height gained over the run. Run is the horizontal distance from the outside wall to the ridge (half the building width for a symmetric gable). Default 4:12 (4 in rise over 12 in run).
  3. 3
    Enter the roof length (footprint)
    Roof length is the building length along the ridge. For a gable roof, this is the length of the building perpendicular to the ridge. The footprint is length × (2 × run) = length × total building width.
  4. 4
    Choose the roof type
    Gable: two sloped planes meeting at a ridge. Hip: four sloped planes, no gable walls. Shed: single sloped plane. The surface area calculation differs for each — gable is the simplest.
  5. 5
    Read the pitch, angle, and surface area
    The hero shows the pitch ratio and angle in degrees. The breakdown shows the slope factor, roof surface area in sq ft and sq m, and the number of shingle squares (10×10 ft bundles).
  6. 6
    Order shingles and underlayment
    Order shingles in whole squares (1 square = 100 sq ft). Add 10–15% for waste, cuts, and starter courses. Underlayment (15 lb felt or synthetic) follows the same square count. Order hip/ridge cap shingles separately (one bundle covers ~20 linear ft).

Formula

Roof pitch and surface area formulas:

Pitch ratio = rise : 12 (US convention)
Angle (deg) = atan(rise ÷ run) × 180/π
Slope factor = sqrt(rise² + run²) ÷ run
Footprint = length × width
Roof surface area = Footprint × Slope factor × roof-type-multiplier
  Gable: × 1.0 (slope factor only)
  Hip: × 1.10 (10% extra for hip ridges)
  Shed: × 1.0 (same as gable)
Shingle squares = Surface area ÷ 100, rounded up, + 10–15% waste

Common conversions:

  • 4:12 → 18.43°, slope factor 1.054 (5.4% extra surface)
  • 6:12 → 26.57°, slope factor 1.118 (11.8% extra)
  • 8:12 → 33.69°, slope factor 1.202 (20.2% extra)
  • 12:12 → 45.00°, slope factor 1.414 (41.4% extra)
  • 1 roofing square = 100 sq ft = 3 bundles of asphalt shingles

Always include the slope factor — ordering shingles for the footprint alone will leave you 5–40% short.

Worked Example

Example 1 — A 40 ft × 30 ft house, 4:12 gable roof:

  • Pitch ratio = 4:12; angle = atan(4/12) × 180/π = 18.43°
  • Slope factor = sqrt(16 + 144) ÷ 12 = sqrt(160) ÷ 12 = 1.054
  • Footprint = 40 × 30 = 1,200 sq ft
  • Surface area = 1,200 × 1.054 × 1.0 = 1,265 sq ft
  • Squares (raw) = 12.65 → 13 squares
  • With 10% waste = 14 squares → 42 bundles of 3-tab shingles

Example 2 — Same 40 × 30 ft house, but 6:12 hip roof:

  • Slope factor = sqrt(36 + 144) ÷ 12 = sqrt(180) ÷ 12 = 1.118
  • Surface area = 1,200 × 1.118 × 1.10 = 1,476 sq ft (hip × 1.10)
  • Squares = 14.76 → 15 squares; with 10% waste = 17 squares
  • Compare to gable: 1,476 vs 1,418 (4:12) — 4% more for steeper pitch + 10% more for hip = 14% more shingles

Example 3 — A 5 × 8 m shed, single-pitch 3:12 (low slope, membrane roofing):

  • Convert: 5 × 8 m = 16.4 × 26.25 ft = 430.5 sq ft footprint
  • Slope factor = sqrt(9 + 144) ÷ 12 = sqrt(153) ÷ 12 = 1.031
  • Surface area = 430.5 × 1.031 × 1.0 = 444 sq ft = 4.44 squares
  • 3:12 is below typical shingle warranty minimum (4:12) — use membrane roofing

Tips

  • Pitch 4:12 is the US residential sweet spot — sheds water and snow efficiently, walkable with fall protection, gives usable attic space, and uses about 5% more material than a flat roof.
  • Always add 10–15% to the calculated shingle squares for waste, cuts, starter courses, and hip/ridge caps — round up to whole squares and order an extra square for a 1,000+ sq ft roof.
  • Below 2:12 pitch requires membrane roofing (EPDM, TPO, modified bitumen) — asphalt shingles won't shed water fast enough and will leak. Check IRC R905 for minimum pitches by material.
  • Metal roofing can be installed down to 0.5:12 (1/2 inch per foot) with standing seams — far below the 2:12 minimum for shingles. Use metal for low-pitch porches, sheds, and modern flat-roofed designs.
  • Hip roofs have ~10% more surface area than gable roofs of the same footprint (because all four sides slope), but they're more wind-resistant — important in hurricane zones. Calculate surface area accordingly.

Common Mistakes

Warning

Common mistakes: (1) calculating shingles from the building footprint without the slope factor — leaves you 5–40% short depending on pitch; (2) installing asphalt shingles below 2:12 pitch — water backs up under shingles and leaks (use membrane roofing); (3) forgetting the hip-roof 10% surface area premium — hip roofs have more surface than gable for the same footprint; (4) rounding down on shingle squares — always round up and add 10–15% for waste, cuts, and starter courses; (5) installing shingles on too-steep a pitch without fall protection — OSHA requires protection above 4:12 (18.43°).

Frequently Asked Questions

What does a 4:12 roof pitch mean?
A 4:12 pitch means the roof rises 4 inches vertically for every 12 inches of horizontal run. This is the most common residential pitch in the US — steep enough to shed water and snow efficiently, but walkable (with fall protection) for repairs. The angle is atan(4/12) = 18.43°. The slope factor is sqrt(4² + 12²) / 12 = sqrt(160) / 12 = 12.649 / 12 = 1.054 — so the actual roof surface area is 5.4% larger than the footprint.
What is a roofing 'square' and how is it calculated?
A roofing 'square' is 100 square feet of roof surface area — the standard sales unit for shingles and underlayment in the US. To find the number of squares: total roof surface area ÷ 100. A 1,500 sq ft footprint with a 4:12 gable roof has a surface area of about 1,580 sq ft = 15.8 squares. Always round up to whole squares for ordering, and add 10–15% for waste, cuts, and starter courses. Bundles of asphalt shingles: 3 bundles per square (33.3 sq ft per bundle).
What is the slope factor and why does it matter?
The slope factor is the ratio of the actual roof surface area to the horizontal footprint — it accounts for the fact that a sloped roof has more surface area than a flat ceiling below. Slope factor = sqrt(rise² + run²) / run. For a 4:12 pitch, it's 1.054 (5.4% more surface area). For a 6:12, it's 1.118 (11.8% more). For a 12:12, it's 1.414 (41.4% more — double the area of the 4:12). The slope factor multiplies the footprint to get the actual roof surface area for material ordering.
What pitch is best for snow and rain?
For rain: minimum 2:12 (9.46°) for asphalt shingles; 3:12 (14.04°) recommended to shed water efficiently. For snow: 4:12 (18.43°) minimum in moderate snow zones, 6:12 (26.57°) or steeper in heavy snow areas to prevent accumulation. Flat roofs (under 2:12) require membrane roofing (EPDM, TPO) — shingles won't shed water at that pitch. Metal roofing can be installed down to 0.5:12 with proper seams. Mansard and gambrel roofs combine multiple pitches for visual interest and attic space.
How do I convert between pitch ratio and roof angle?
Angle (degrees) = atan(rise ÷ run) × (180/π). For a 4:12 pitch: atan(4/12) = atan(0.333) = 0.3217 rad × 57.2958 = 18.43°. To convert from angle to pitch ratio: rise/run = tan(angle). For a 30° angle: tan(30) = 0.577 = 6.93/12, so the pitch is about 7:12. The calculator supports both input modes — use whichever you have (your building plans typically use ratio, while a digital protractor reads angle).
What's the difference between gable, hip, and shed roofs?
Gable roof: two sloped planes meeting at a ridge — simplest, cheapest, has gable walls at the ends. Hip roof: all four sides slope down to the walls — more aerodynamic in high wind, no gable walls, ~10% more surface area than a gable of the same footprint. Shed (single-pitch) roof: one sloped plane — common on additions and modern architecture, simple framing but limits span. Each type requires a different surface area calculation: gable uses the slope factor on the footprint, hip requires a more complex calculation involving the hip ridge lengths, shed is just one plane.

Pitch expressed as X:12

Roof pitch in the US is conventionally expressed as inches of rise per 12 inches of run — "4:12" means 4 inches of rise per 12 inches of run (a 4/12 = 0.333 slope). The 12-inch run standardization makes pitch comparisons intuitive: a 6:12 is steeper than a 4:12, a 12:12 is a 45° angle (a Mansard-style steep roof), and 1:12 is nearly flat (1 inch per foot, requires membrane roofing). Pitch affects everything from material choice (shingles need 2:12 minimum) to walkability (above 6:12 requires fall protection) to snow load (steeper sheds snow better).

Why pitch matters (drainage, snow)

Pitch dictates how well a roof sheds water and snow. Below 2:12 (9.46°), water can pool and back up under shingles — membrane roofing (EPDM, TPO, modified bitumen) is required. 3:12–4:12 (14–18°) sheds water efficiently with shingles; 4:12 is the most common US residential pitch. 6:12 (26.57°) is recommended in heavy snow zones to prevent accumulation. 8:12–12:12 (33–45°) is steep; sheds snow easily but requires fall protection for any work. Steeper pitches also have more surface area than flatter ones for the same footprint (a 12:12 has 41% more surface than a 4:12) — so material cost rises with pitch.

Common pitch ranges

1:12 to 2:12 (5–9°) — flat or low-slope, requires membrane roofing. 3:12 to 4:12 (14–18°) — standard residential, sheds water with shingles. 5:12 to 9:12 (22–37°) — medium pitch, walkable with care, popular for two-story homes. 10:12 to 12:12 (40–45°) — steep, requires fall protection, common on Tudor and Victorian homes. Above 12:12 — Mansard, A-frame, or decorative roofs. The most common US residential pitch is 4:12 to 6:12 — a good balance of water shedding, walkability, and attic space.

Squares for shingles

Roofing materials are sold by the "square" — 100 sq ft of roof surface area. To find the number of squares: total roof surface area ÷ 100, rounded up. A 1,500 sq ft footprint with a 4:12 gable roof has a surface area of about 1,580 sq ft = 16 squares. Add 10–15% for waste, cuts, starter courses, and hip/ridge caps. Three bundles of standard 3-tab asphalt shingles equal one square (33.3 sq ft per bundle); architectural (laminated) shingles are also 3 bundles per square. Hip and ridge caps are sold separately (one bundle covers ~20 linear ft).

Common residential pitch ratios and their angle and slope factor. Steeper pitches shed snow better but use significantly more material — a 12:12 has 41% more surface area than a 4:12 for the same footprint.
Pitch ratioAngle (degrees)Slope factor
2:129.46°1.014
4:1218.43°1.054
6:1226.57°1.118
8:1233.69°1.202
12:1245.00°1.414
Info

The roof pitch calculation is fundamentally a right-triangle geometry problem: pitch ratio = rise : run, angle = atan(rise/run), slope factor = sqrt(rise² + run²) / run. The slope factor multiplies the building footprint to give the actual roof surface area for material ordering. Always include the slope factor — ordering shingles for the footprint alone will leave you 5–40% short.

Pro tip

Below 2:12 pitch (9.46°), asphalt shingles won't shed water fast enough and will leak — use membrane roofing (EPDM, TPO, or modified bitumen) for low-slope porches, sheds, and modern flat-roofed designs. Standing-seam metal roofing can be installed down to 0.5:12 with proper seams — far below the shingle minimum.

Authoritative References

Try our other free calculators

CalcGenius has 1,200+ free, ad-free, browser-based calculators for finance, health, math, science, and everyday life. No sign-up required.

Estimate Roof Pitch — Monthly Totals & Scenario Comparison