About this tool
The roof pitch determines which roofing can be used, how much room the attic offers and how well solar panels are oriented. From the building width and ridge height the calculator works out the pitch in degrees and percent – or, the other way round, the ridge height for a pitch you want.
It also gives the rafter length with and without overhang and, if you enter the building length, the roof area of all sides. A gable roof uses half the width per side, a shed roof the full width. A cross-section shows the result; everything is calculated in your browser.
How it works
- Choose gable or shed roof and whether you start from the ridge height or the pitch.
- Enter the building width, ridge height or pitch and the eaves overhang, optionally the building length.
- Read the roof pitch, ridge height, rafter length and roof area.
Frequently asked questions
How do I calculate the roof pitch?
Pitch = arctan(ridge height / run). For a gable roof the run is half the building width: 9 m wide and 3.5 m high gives arctan(3.5 / 4.5) ≈ 37.9°.
What is the difference between degrees and percent?
Percent is the ratio of height to run times 100. 45° equals 100 %, 30° about 58 %. Roofs are usually given in degrees, ramps and roads in percent.
How long is a rafter?
The rafter length is the hypotenuse of run and ridge height. The eaves overhang is measured horizontally and divided by the cosine of the pitch, because the rafter runs at an angle. Add allowances for joints and cutting.
Which roof pitch is good for solar panels?
In Germany, south-facing panels yield most at around 30 to 40°. What your orientation brings is calculated by the Solar PV Yield Calculator calculator.