Roof geometry • Instant browser calculations

Free Online Roof Pitch Calculator

Convert roof pitch to degrees, slope percentage and rise over run. See the geometry change live, then estimate common rafter length, ridge rise, roof area and material coverage for a simple gable or shed roof.

No sign-up. Metric and imperial units. Geometry estimates with transparent formulas. Guide checked: 10 October 2026.

1. Choose your measurements

Run is horizontal distance, not the sloping roof length. Different units are converted automatically.

Moving this slider switches to X:12 input. Numeric inputs also accept steeper pitches.

2. Understand the slope

Roof slope right triangleHorizontal run, vertical rise and roof slope.

The triangle uses one uniform scale; very shallow or steep slopes can make one leg hard to see. Labels retain the exact calculated relationship.

3. Optional roof dimensions, rafter and materials

Use wall-to-wall dimensions for one rectangular roof. Gable mode assumes equal pitches with a centered ridge. Shed mode uses the full width as run.

Shed mode applies the eave value at both the low and high edges. Ridge rise is above the wall-top reference, not height above ground. Changing units converts project dimensions.

Live roof cross sectionRoof profile using project dimensions.

Rafter lengths are geometric reference lines, not lumber cut lists. Ridge thickness, birdsmouth, fascia, bearing, structural sizes and connection details are excluded. Package counts use your stated effective coverage and round up.

4. Compare an alternative roof pitch

Comparison uses the same footprint and overhangs. A steeper slope increases surface area and ridge rise; it does not determine structural adequacy or installed cost.

5. Estimate a roof with different slopes by section

Enter one line per planar roof section: horizontal projected area, X:12 pitch. Areas use the coverage area unit selected above and must include relevant overhangs. These totals are separate from the rectangular project estimate.

Do not use an average pitch. Each section is multiplied by its own slope factor, then the sloped areas are added.

Calculator inputs are processed in this browser. This calculator adds no analytics, cookies or saved input history. Separate site scripts and any future advertising may have their own data practices.

What is roof pitch, and what does X:12 mean?

Roof pitch tells you how much a roof plane rises compared with its horizontal distance. In everyday roofing notation, 6:12, 6/12 and “6 in 12” describe the same slope: six inches of vertical rise for twelve inches of horizontal run. The ratio is independent of units. A rise of 150 mm across a 300 mm horizontal run is also 6:12.

This free online roof slope calculator connects the notations used on drawings, surveys and material estimates. Pitch to degrees conversion helps when an angle finder supplies a reading; percentage slope is useful when a specification describes a gradient; the roof pitch multiplier helps turn a plan measurement into roof surface area. Each format describes the same geometry, rather than a different kind of roof.

Rise, run, span and rafter length are different measurements

Rise is vertical height between the endpoints being compared. Run is their horizontal separation. Span is the width between opposite wall reference lines. For an equal-pitch gable roof with its ridge centered, one common rafter’s run is half the span. For a shed roof, the run crosses the full width. Rafter line length follows the sloping side of the right triangle, so it is longer than run for any positive pitch.

Older architectural descriptions sometimes use “pitch” for rise divided by full span. A traditional quarter-pitch description can therefore correspond to 6:12 slope on a symmetric gable. This tool consistently uses rise divided by run. Confirm the convention on an older plan before entering measurements.

How to use the free roof pitch calculator online

  1. Choose the measurement you have. Enter vertical rise and horizontal run, X:12 pitch, roof angle, percent slope, a 1:N rise-to-run gradient, or matched rafter and run lengths.
  2. Check units and endpoints. Rise/run inputs can use different units. Rafter/run inputs share one unit and must refer to the same segment. Do not pair a rafter including its overhang with a run excluding it.
  3. Read the live conversion. The cards show pitch, degrees, percentage and area multiplier. The triangle labels explain which side is horizontal, vertical and sloping.
  4. Add project dimensions if needed. Select gable or shed, enter the building width and length, then add horizontal overhangs. The second diagram shows the roof cross section.
  5. Estimate coverage. Set a material allowance and use the actual effective coverage from your product specification. Add a material rate only if you want an indicative cost.
  6. Check another option or roof section. Compare slopes on the same building, or sum separate projected roof sections. Copy, download or print the results for discussion with a roofing professional.

The preset buttons are examples, not recommendations. The pitch slider makes it easier to see how a shallow roof becomes steeper, but the number inputs allow values beyond the slider’s range. Blank required fields produce an error instead of silently substituting an example. Optional dimensions do not alter the pitch you measured.

Roof pitch formulas: degrees, percentage and slope factor

Let h be vertical rise, r horizontal run, s = h / r the dimensionless slope and θ the angle measured above horizontal. Convert rise and run to matching units first.

Pitch X:12 = 12 × s
Angle θ = atan(s) × 180 / π
Slope percentage = 100 × s
Slope factor F = √(1 + s²)
Rafter line length = r × F
Rise from known pitch = r × X / 12
Pitch from degrees = 12 × tan(θ × π / 180)
1:N rise-to-run gradient: N = 1 / s, for s > 0

With a known slope length L and matching horizontal run r, the missing rise is √(L² − r²). The calculator uses that right-triangle relationship in rafter/run mode. L must be at least r. Near a flat slope, tiny measurement differences can cause a relatively large error in the inferred pitch, so direct rise/run measurements may be more useful.

Why 100% slope is 45°, not 90°

Percentage slope compares rise to horizontal run. At 100%, rise equals run, forming a 45° triangle and a 12:12 pitch. At 50%, rise is half the run, giving 6:12 and about 26.565°. A vertical surface would have zero horizontal run, so its slope ratio is undefined. An angle of 90° is outside this calculator’s roof geometry.

Roof pitch conversion chart: shallow to steep slopes

Use this pitch-to-angle chart as a quick reference. Values are rounded for reading; the calculator keeps full precision internally. The same multiplier applies to common rafter run and projected roof area.

Roof pitch, degrees, slope percentage and area multiplier
Pitch X:12AngleSlopeMultiplierRise per 1 m run
0:120.000°0.000%1.0000000.0 mm
0.125:120.597°1.042%1.00005410.4 mm
0.25:121.193°2.083%1.00021720.8 mm
0.5:122.386°4.167%1.00086841.7 mm
1:124.764°8.333%1.00346683.3 mm
2:129.462°16.667%1.013794166.7 mm
3:1214.036°25.000%1.030776250.0 mm
4:1218.435°33.333%1.054093333.3 mm
5:1222.620°41.667%1.083333416.7 mm
6:1226.565°50.000%1.118034500.0 mm
7:1230.256°58.333%1.157704583.3 mm
8:1233.690°66.667%1.201850666.7 mm
9:1236.870°75.000%1.250000750.0 mm
10:1239.806°83.333%1.301708833.3 mm
11:1242.510°91.667%1.356568916.7 mm
12:1245.000°100.000%1.4142141000.0 mm
14:1249.399°116.667%1.5365911166.7 mm
16:1253.130°133.333%1.6666671333.3 mm
18:1256.310°150.000%1.8027761500.0 mm
20:1259.036°166.667%1.9436511666.7 mm
24:1263.435°200.000%2.2360682000.0 mm

Worked examples: pitch, roof area and rafter length

6/12 roof pitch to degrees

A 6-inch rise over a 12-inch horizontal run gives s = 6 / 12 = 0.5. The angle is atan(0.5) = 26.565°, the slope is 50%, and the multiplier is √1.25 = 1.118034. A twelve-foot horizontal run produces a 13.416-foot geometric rafter line. These are different measurements of one triangle.

30-degree roof pitch to X:12

For a 30° angle, tan(30°) is about 0.577350. Multiply by twelve to get 6.928203:12, with a slope of 57.735%. Rounding that to 7:12 may be fine for a description, but preserve the unrounded value when checking a measured layout.

Gable roof area with overhangs

Consider a 24 ft wide, 40 ft long building with a 6:12 roof. A one-foot horizontal overhang at each eave makes the projected width 26 ft. One-foot end overhangs make the projected length 42 ft. The roof’s plan area is therefore 26 × 42 = 1,092 sq ft. Multiply by 1.118034 to get approximately 1,220.89 sq ft of sloping surface. A 10% material allowance gives 1,342.98 sq ft, or 13.43 roofing squares before rounding package counts.

The centered ridge rise is 12 × 0.5 = 6 ft above the common wall-top reference. The wall-to-ridge line is 12 × 1.118034 = 13.42 ft. Extending that line to the eave uses a 13 ft run, giving 14.53 ft. Neither result includes adjustments for actual ridge-board thickness or a birdsmouth cut.

Metric shed roof pitch and high-side rise

A shed roof with a 4 m horizontal run and 1 m vertical rise has s = 0.25, a 3:12 pitch, a 25% slope and an angle of about 14.036°. Its geometric slope length is √17 = 4.123 m. In shed mode, the profile’s rise is the high-side increase above the low-side wall reference. It is not the total wall height.

How to measure roof pitch without walking on the roof

Prefer an accessible drawing, survey or safe interior measurement. Do not climb onto a roof just to obtain inputs. Pitch does not certify walkability: wet surfaces, loose material, fragile decking, edge exposure and access conditions can create hazards at any slope.

  1. Where an attic rafter is safely accessible from suitable footing, hold a spirit level horizontal with one end aligned to the rafter.
  2. Identify a horizontal measurement along the level, such as twelve inches or 300 mm.
  3. Measure the vertical distance between the level and the straight rafter face at that point.
  4. Enter the vertical distance as rise and the marked horizontal distance as run. Keep the endpoints consistent.
  5. Repeat nearby to check the measurement. If results differ, inspect the reference surface and level alignment.

A digital inclinometer can provide an angle when placed against a straight, representative surface and referenced correctly to horizontal. Calibration, device orientation and the chosen surface matter. A phone reading is an approximation, not a survey. The calculator does not access device motion sensors.

A photograph can suggest a roof profile but perspective distorts angles. A top-down image gives projected area rather than slope length. A bowed rafter, curved roof or changing roof angle needs separate measurements; one right triangle does not describe all of it.

Roof area, pitch multiplier and roofing material quantities

A sloped roof has more surface area than its horizontal projection. For a uniformly pitched plane, surface area = projected area × slope factor. Apply the factor once. If you already measured surface area along the roof, multiplying again would overestimate the quantity. On a symmetric gable roof, the full projected footprint already represents both slopes; do not double the resulting total.

The rectangular estimator uses (building width + 2 × horizontal eave overhang) × (building length + 2 × end overhang). It assumes both gable planes share one pitch, or a shed plane has one uniform pitch. Different slopes, additions, valleys and dormers require individual projected areas. For each plane i, calculate Aᵢ × √(1 + sᵢ²), then sum the results. The section estimator implements that approach.

Roofing squares, shingle bundles, rolls and panels

One roofing square means 100 square feet of coverage; it is an area unit, not one package. A package count is the material allowance area divided by effective package coverage, rounded upward. The initial coverage is an illustrative 33⅓ sq ft per package, not a universal shingle-bundle specification. Product sizes and bundle quantities differ.

For metal roofing, use effective panel coverage after side and end laps, not the panel’s gross face area. Area alone does not produce a panel layout or determine lengths. Underlayment overlaps, starter strips, ridge caps, flashing, drip edges, fasteners and accessories require separate takeoffs. Changing coverage from square feet to square meters converts both coverage and any entered price per area.

The initial 10% allowance is a planning example. Actual offcuts depend on layout, valley count, hips, dormers, installation method and product dimensions. This tool does not choose a waste percentage for your roof. Material cost equals allowance area × your entered price per area unit; it excludes labor, tax, delivery, demolition, decking repairs and other project costs.

Minimum roof pitch for shingles, metal roofing and low-slope roofs

There is no universal minimum roof pitch for every roofing product. GAF’s low-slope guidance states that almost all its shingles can be used down to 2:12 when the applicable installation instructions are followed. Slopes from 2:12 to below 4:12 need the specified low-slope underlayment approach. This is a manufacturer example, not blanket approval for all asphalt shingles or locations.

Below a product’s permitted slope, choose an appropriate roof system with a qualified professional. Metal systems differ by seam design, attachment and installation requirements; tiles also vary by profile and exposure. Verify the selected product’s current instructions, local building requirements and project details. An angle conversion cannot establish waterproofing performance.

Roofs called “flat” commonly still have drainage falls. A zero-pitch result simply describes a horizontal geometric plane. It is not an endorsement of zero drainage slope. Likewise, steeper pitch does not guarantee snow release or remove the need to design for snow, wind and water loads.

Common mistakes that change the answer

Frequently asked questions

What is a 4/12 roof pitch in degrees?

A 4:12 slope is about 18.435°, with a 33.333% slope and a multiplier of 1.054093.

What is a 6/12 roof pitch in degrees?

It is approximately 26.565°, equivalent to 50% slope. The surface-area multiplier is 1.118034.

What is a 12/12 roof pitch?

It rises twelve units over twelve horizontal units: a 45° angle, 100% slope and √2 multiplier.

Can I calculate roof pitch from rafter length?

Yes, if you also know the matching horizontal run. Use the rafter/run mode. A rafter length alone cannot determine pitch.

How do I convert a 1:40 roof fall into pitch?

Choose 1:N gradient and enter 40. The result is 0.3:12, a 2.5% slope and about 1.432°. This interprets 1:40 as rise:run.

Does this calculate hip, valley or jack rafters?

No. The project estimate is for the geometric line of a common rafter on a simple symmetric gable or shed roof. Compound framing needs additional dimensions and calculations.

Can I use it as a shed roof pitch calculator?

Yes. Select shed mode and enter the full width across the slope. The rise is the difference between wall reference heights, not their total height.

What roof pitch is safe to walk on?

No pitch value alone makes roof access safe. Surface condition, fall exposure and access equipment matter. Use a qualified professional for roof measurements and work.

Is the chart suitable for metric measurements?

Yes. A dimensionless rise-to-run ratio is the same in metric and imperial units. Rise/run mode converts different selected units before calculating.

Why is the roof area larger than the building footprint?

Pitch lengthens the roof surface, and overhangs can enlarge its horizontal projection. The area estimator accounts for both under its rectangular uniform-slope assumptions.

Can this estimate shingles or metal panels?

It estimates coverage-area packages using your stated effective coverage. It does not choose a product, arrange panels, calculate flashing or verify laps and installation details.

Does the calculator save my roof measurements?

This calculator code processes inputs locally and does not save them. Copying or downloading creates a report only when you request it. Other site scripts or advertising may have separate data practices.

Is the roof pitch calculator free and usable on mobile?

Yes. It is free to use online without an account, with responsive inputs and scalable diagrams. Printing to PDF depends on your browser.

Method, sources and limitations

The conversion results use right-triangle geometry and trigonometry, with no external calculation service. Results update from the active input method. Changing methods transfers the current slope when valid; a rise/run or rafter/run reference may be normalized to a convenient twelve-unit run. Changing the project unit converts lengths instead of reinterpreting the entered numbers. Display precision does not change the underlying computation.

Reference reviewed: GAF, Technical Advisory Bulletin R-127, “Shingle Application on Low Slopes 2:12 to 4:12,” available in the GAF residential document library. This guide summarizes the relevant product limitation; current product instructions take precedence. The explanatory calculations and worked examples above are specific to this tool’s assumptions.