Roof Pitch Calculator

Enter half-span and rise to the ridge in the header unit. The calculator computes arctan(rise/half-span), slope percent, rafter length, and pitch in 12. A 2.8 m roof on 4.0 m is 34.99° and 70.0%. A gentler 1.5 m on 3.5 m is 23.20° and 42.86%. A taller 3.2 m on 5.0 m is 32.62° and 64.0%.

Input data

Results

Enter the half-span and the rise to the ridge. The result appears below.

The roof pitch calculator turns roof-face dimensions into an angle in degrees. It also shows slope percent, rafter length, and pitch in 12. Related: ridge height, slope percent. Article: roof pitch.

How the results are calculated

2.8 m rise on 4.0 m → 34.99°
Rise2.8 m
Half-span4.0 m
Angle34.99°

The roof pitch calculator uses roof-face rise and half-span. The formula is arctan(rise / half-span), shown in degrees. Slope percent is the same ratio times 100. Rafter length is √(half-span² + rise²). “In 12” pitch is the ratio times 12. A 4 m half-span means an about 8 m wide gable building.

At a 2.8 m rise and 4.0 m half-span the result is 34.99° and 70.0% slope, or 8.40 in 12. A gentler 1.5 m on 3.5 m gives 23.20° and 42.86%. A taller 3.2 m on 5.0 m is 32.62° and 64.0%. On the ridge height page, 8 m, 35°, and a 2.8 m wall give 5.60 m.

Enter half-span and rise to the ridge in the unit selected at the top of the page. That rise is the roof face alone, not the full house height including the wall. A comma in 2.8 works like 2.8.

Ridge height from an angle lives on the neighboring page. A 0.6 m rise on 6 m is 10% and about 5.71° — deck scale, not a 70% roof. A 3-4-5 layout checks a right angle in plan, not roof pitch.

Half-span is half the building width. Entering 8 instead of 4 with a 2.8 m rise would give about 19.3° instead of about 35°. Rafters are longer than the half-span because they run on the diagonal.

Enter 4.0 and 2.8, click Calculate, and check 34.99° plus 70.0%. Then try 3.5 and 1.5: 23.20° and 42.86%.

How to use this calculator

  1. Enter half-span in the header unit — half the building width, for example 4.0 for an 8 m house.
  2. Enter rise to the ridge in the same unit — roof-face height alone, for example 2.8.
  3. Click Calculate. 2.8 on 4.0 m gives 34.99° and 70.0% (8.40 in 12). 1.5 on 3.5 m gives 23.20°.
  4. Ridge height from that angle is on the ridge page: 8 m, 35°, and a 2.8 m wall give 5.60 m.
  5. A 10% deck slope lives on the slope-percent page. Here you stay with roof pitch.

Formula

angle = arctan(rise / half-span) · (180/π)

slope % = (rise / half-span) × 100

rafter length = √(half-span² + rise²)

“in 12” pitch = (rise / half-span) × 12

At a 2.8 m rise and 4.0 m half-span: 2.8 / 4.0 = 0.70 → 34.99°, 70.0% slope, rafter ≈ 4.88 m, and 8.40 in 12. This is shopping and layout geometry, not a full roof design.

arctan for a 2.8 m rise on 4.0 m

The calculator computes arctan(rise/half-span), slope percent, rafter length, and pitch in 12. A 2.8 m rise on 4.0 m is 34.99° and 70.0%.

arctan
The angle from rise/half-span. 2.8 / 4.0 gives 34.99°. A gentler 1.5 on 3.5 m is 23.20°.
%
Slope: the same ratio times 100. 2.8 / 4.0 = 70.0%. That is not the 10% deck figure on the slope page.
in 12
The ratio times 12. At 2.8 on 4.0 m the result is 8.40 in 12. This form matches many US roofing labels.
rafter
√(half-span² + rise²). At 4.0 and 2.8 m that is about 4.88 m on the diagonal.

Example scenarios

Example 1

  • Rise: 2.8 m
  • Half-span: 4.0 m

Roof angle: 34.99°
Slope: 70.0%

What pitch is a 2.8 m rise on a 4.0 m half-span? arctan(0.70) → 34.99° (70.0%).

Example 2

  • Rise: 1.5 m
  • Half-span: 3.5 m

Roof angle: 23.20°
Slope: 42.86%

1.5 m on 3.5 m → 23.20° and 42.86%. A gentler face than ~35°.

Example 3

  • Rise: 3.2 m
  • Half-span: 5.0 m

Roof angle: 32.62°
Slope: 64.0%

3.2 m on 5.0 m → 32.62° and 64.0%. Taller rise on a wider base.

Related calculators

Frequently asked questions

How do I calculate roof pitch from rise and half-span?

Divide rise by half-span and take the arctangent. 2.8 m / 4.0 m → arctan(0.70) ≈ 34.99° and 70.0% slope (8.40 in 12).

What roof pitch do a 2.8 m rise and 4.0 m half-span give?

34.99° and 70.0% slope. At 1.5 m on 3.5 m the result is 23.20° and 42.86%.

Is this a deck slope or percent-run calculator?

No. Here the angle is for a roof face (rise / half-span). Deck or driveway slope percent lives on a separate card.

Does the result replace a roof design or covering choice?

No. The calculator reports degrees, slope percent, rafter length, and X-in-12. Snow load and covering need a project.

Is this a free roof pitch calculator?

Yes. Enter half-span and rise, and you see degrees, percent, and rafter length at once. No account required.

How is roof pitch angle calculated?

The calculator divides rise by half-span, takes arctangent of that ratio, and converts to degrees. At a 2.8 m rise and 4.0 m half-span the result is 34.99° and 70.0% slope.

How is angle different from slope percent?

They describe the same incline. Angle is degrees: arctan(rise/half-span). Slope percent is (rise/half-span) × 100. At 2.8 on 4.0 m you get 34.99° and 70.0%.

Why enter half-span instead of the full house width?

One roof face runs from the wall to the ridge. An 8 m wide gable house has a 4 m half-span. Entering the full 8 m with a 2.8 m rise would give about 19.3° instead of about 35°.

What does the “X in 12” result mean?

It is the same rise/run ratio scaled to a 12-unit run. At 2.8 m on 4.0 m that is 8.40 in 12. US roofing labels often use this form.

How is rafter length calculated?

Rafter length is √(half-span² + rise²). At 4.0 m and 2.8 m that is √(16 + 7.84) ≈ 4.88 m. It is the diagonal length, longer than the half-span alone.

How is this different from a deck slope?

A 70% roof is about 35°. A 0.6 m rise on 6 m run is 10% and about 5.71° on the slope-percent page. The scales differ; do not mix them when choosing covering.

Does a 3-4-5 layout give roof pitch?

No. 3-4-5 checks a right angle in plan. Roof pitch is arctan(rise/half-span) in the vertical section of the roof face.

Where do I compute ridge height from this angle?

On the ridge height page. At an 8 m span, 35°, and a 2.8 m wall the result is 5.60 m. Here the calculator only finds the angle from rise and half-span.

What if one field is empty?

Without both numbers there is no ratio. Enter a half-span greater than zero and a non-negative rise in the unit selected in the page header.

Does the result replace a roof design?

No. It is geometry from the numbers you enter. Covering choice, snow load, and rafter design need a project. The calculator reports angle, slope, and rafter length.

At a 2.8 m rise and 4.0 m half-span the result is 34.99° and 70.0%. Ridge height lives on the ridge height page.

Knowledge sources

Roof pitch follows from the arctangent of rise over half-span. Below are inverse trigonometric functions and SI units for length.

Page updated October 12, 2026.