Roof Height Calculator

Plan roofs faster with precise ridge height calculations today. Enter span or run, then pick pitch input type. Supports angle, slope per twelve, or rise ratio formats. Switch units seamlessly and see stepwise formulas applied. Export results to CSV or PDF for projects easily.

Inputs

ft
If unknown, enter span instead. Run is half of span.
ft
Used only if run is empty. Run = span ÷ 2.
Angle between rafter and horizontal.
Typical values: 3–12. Example: 6 means 6 in vertical per 12 in horizontal.
Rise :
Enter the ratio components (unitless).
Percent = 100 × rise ÷ run.
ft
From floor to top plate.
ft
Adds to total building height above grade.

Formulas Used

Definitions. Run is half the building span (horizontal). Rise is vertical height from plate to ridge. The angle is measured from horizontal.

  • Given angle θ (degrees): height = run × tan(θ)
  • Given slope r per 12: height = run × (r / 12), angle θ = arctan(r/12)
  • Given ratio a:b: height = run × (a / b), angle θ = arctan(a/b)
  • Given percent p: height = run × (p / 100), angle θ = arctan(p/100)
  • Rafter length: rafter = √(run² + height²)
  • Total building height (optional): total = foundation + wallHeight + height
Assumes simple symmetrical gable geometry without ridge thickness. For complex roofs, treat the governing run to the ridge similarly.

Results

MetricValue
Units-
Run-
Ridge height above plate-
Rafter length-
Pitch angle (°)-
Slope (rise per 12)-
Rise:Run ratio-
Percent grade (%)-
Total building height (optional)-

How to Use

  1. Select Units: feet or meters.
  2. Enter either Run or Span. Leave one blank.
  3. Choose an Input mode and provide its value(s).
  4. Optionally add Wall height and Foundation to compute the total height.
  5. Click Calculate. Review results and export as CSV or PDF.

Example Data Table

Example Span Run Input Mode Value Ridge Height Angle (°)

FAQs

It returns ridge height, rafter length, angle, slope as rise‑per‑twelve, ratio, percent, and optional total building height above grade.

Yes. Span is the full building width. The calculator uses half of that (run) for trigonometric computations.

Results use exact math with your inputs. Field conditions, material thicknesses, and framing details may require allowances not modeled here.

No. Choose a unit system and enter all linear dimensions consistently in those units for correct results.

Select “Slope (rise per 12)” and enter 7. The tool converts that to angle, percent, and height automatically.

No. Ridge height depends on structural run to the ridge, not eave overhang. Overhang affects rafter length outside the wall line.

Yes. Enter wall height and foundation above grade. The calculator adds those to ridge height for a total.

Reference: Common Slopes and Angles

Slope (rise/12) Angle (°) Percent (%) Rise:Run ratio Rise per 1 unit run

Reference: Ridge Height by Span & Slope

Computed for common spans and slopes. Values update with selected units.

Related Calculators

Air Conditioner BTU CalculatorBoiler Size CalculatorCarpet CalculatorChicken Coop Size CalculatorClearance Hole CalculatorEpoxy CalculatorRectangle Fence Perimeter CalculatorFence Post Depth CalculatorHoop House CalculatorPaver Calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.