Materials & Quantities

L-Shaped and T-Shaped Roof Calculator (Area, Ridges, Hips, Valleys, Eaves and Rakes)

The slope area and the length of every ridge, hip, valley, eave and gable edge of a roof over an L- or T-shaped house, gabled or hipped, at one pitch.

  • Answers as you type
  • Every formula cited
  • Calculated in your browser
SettingsSettings for this calculationUS
Market
Imperial · sales tax
The main block's long side at the eaves, overhangs included.

Measure the main roof as a rectangle at its drip edge; the wings are added to its long side below.

Tools needed: Tape measure, Plans

The main block's short side at the eaves, overhangs included.

Half of it is each slope's run in plan, which sets the hip lengths and the main ridge on a hipped roof.

One pitch for every plane of the roof.

Rise per 12 of run, not an angle: 6 in 12 is about 26.6°. The slope factor and the hip multiplier both follow from it.

Whether the main roof stops at gable walls or slopes down to eaves at its ends.

Hipped ends turn the gables' rakes into hips and shorten the ridge by the span.

The wing's width at the eaves; no wider than the main span.

The wing comes off the main roof's long side at right angles. Its ridge sits half its span up the slope, so a wing no wider than the main roof ties in below the main ridge with a valley each side.

How far the wing's eaves stand out past the main roof's eaves.

Measured at the eaves, from the main roof's drip edge to the wing's end.

A second wing on the same long side for a U, or opposite it for a T or a cross; 0 for none.

Measured like the first. The two must not overlap along the main roof.

How far the second wing stands out past the main eaves; 0 for none.

Measured at the eaves like the first wing's.

Whether the wings end in a gable or a hip.

A hipped wing end adds two hips and takes half the wing's span off its ridge.

Roof area on the slope

1,417 sq ft

High confidence

A main roof with gable ends and one wing with gable ends, every plane at a rise of 6 to a run of 12.

Plan area at the eaves
1,267.5 sq ft
Slope factor
1.12
Ridges
61.75 ft
Hips
0 hips
Hips, lineal
0 ft
Valleys
2 valleys
Valleys, lineal
29.25 ft
Ridges and hips together (ridge cover)
61.75 ft
Eaves
84.5 ft
Rakes (gable edges)
79.94 ft
Then change the inputs to see how far the answer moves.

Show calculation logic

How this was calculated

Formula source(s)

  • Open Exam Prep, Louisiana roofing contractor guide, 3.2 Surface Area Calculations, Roofing Squares, Pitch Multipliers and Slope Formulas: actual sloped surface area = horizontal footprint area x the pitch multiplier sqrt(12² + R²) / 12; a standard hip roof has the same surface area as a gable roof over the same footprint, overhangs and slope; the hip and valley multiplier sqrt(12² + 12² + R²) / 12 from the 17-inch diagonal run (1.500 at 6:12); length of one hip rafter = common run x the hip multiplier

Inputs used

Main Roof Length (along its ridge)
39 ft
Main Roof Span (eave to eave)
26 ft
Roof Pitch (rise per 12 run)
6
Main Roof Ends
Gable ends
First Wing Span (0 for none)
19.5 ft
First Wing Projection
13 ft
Second Wing Span (0 for none)
0 ft
Second Wing Projection
0 ft
Wing Ends
Gable ends

Intermediate steps

Plan area at the eaves
1,267.5 sq ft
Slope factor
1.12
Ridges
61.75 ft
Hips
0 hips
Hips, lineal
0 ft
Valleys
2 valleys
Valleys, lineal
29.25 ft
Ridges and hips together (ridge cover)
61.75 ft
Eaves
84.5 ft
Rakes (gable edges)
79.94 ft
Final result1,417.11 sq ft

Confidence note: A main roof with gable ends and one wing with gable ends, every plane at a rise of 6 to a run of 12.

What this calculation does not cover

  • One pitch everywhere. A wing at another pitch, a lean-to or a flat section changes every hip and valley; work such a roof plane by plane.
  • The outline is a main rectangle and up to two wings off one long side, measured at the eaves with the overhangs in. A wing off an end, a wing wider than the main span, a courtyard or a wing that meets another wing are not modelled.
  • Lengths are the lines of the roof's edges and intersections, not cut lengths of timber or flashing: laps, waste, and the extra at a hip's or valley's ends are the covering's and the trade's.
  • Dormers, chimneys and rooflights are not taken off or added; the slope area is the whole roof plane.

Estimated cost — your price

This site holds no price list for this material — local prices vary too much to publish honestly. Enter your supplier's price and the result is costed with it.

26.6°26 ft66/12
Schematic, drawn to the proportions you entered — not to scale on screen.

Computed in your browser — nothing you enter is uploaded. Presented in US customary units and US trade terminology. Where a formula follows a published standard, that standard and its edition are cited beside it on this page; where none governs, the page says so. Local amendments override model codes — verify against the code in force where you build.

Sources checked 2026-10-10 · v1.0.0

Regulatory standards & verification citations1
  1. Open Exam Prep, Louisiana roofing contractor guide, 3.2 Surface Area Calculations, Roofing Squares, Pitch Multipliers and Slope Formulas: actual sloped surface area = horizontal footprint area x the pitch multiplier sqrt(12² + R²) / 12; a standard hip roof has the same surface area as a gable roof over the same footprint, overhangs and slope; the hip and valley multiplier sqrt(12² + 12² + R²) / 12 from the 17-inch diagonal run (1.500 at 6:12); length of one hip rafter = common run x the hip multiplier
Cite this page

Your workspace

Most jobs need more than one number. Add the calculators you need next and they open right here, underneath this one — your figures stay on screen and nothing is lost to a page change.

Now that you have the number

These guides cover the work this quantity is for.

How to calculate L-shaped and T-shaped roof (area, ridges, hips, valleys, eaves and rakes) in 10 steps

  1. Main Roof Length (along its ridge)The main block's long side at the eaves, overhangs included.
  2. Main Roof Span (eave to eave)The main block's short side at the eaves, overhangs included.
  3. Roof Pitch (rise per 12 run)One pitch for every plane of the roof.
  4. Main Roof EndsWhether the main roof stops at gable walls or slopes down to eaves at its ends.
  5. First Wing Span (0 for none)The wing's width at the eaves; no wider than the main span.
  6. First Wing ProjectionHow far the wing's eaves stand out past the main roof's eaves.
  7. Second Wing Span (0 for none)A second wing on the same long side for a U, or opposite it for a T or a cross; 0 for none.
  8. Second Wing ProjectionHow far the second wing stands out past the main eaves; 0 for none.
  9. Wing EndsWhether the wings end in a gable or a hip.
  10. Roof area on the slopeThe tool computes the roof area on the slope from those figures and shows the formula, its sources, and a confidence rating alongside it.

Roof area on the slope by main roof length (along its ridge)

Page defaults, not your figures above.

Main Roof Length (along its ridge)Roof area on the slope (sq ft)
20 ft876
30 ft1,169
40 ft1,463
50 ft1,756
60 ft2,050
70 ft2,343

Frequently asked questions

How do I work out the area of an L-shaped roof?
Add the plan areas of the rectangles at the eaves and multiply by the slope factor; hips and valleys do not change it when every plane has one pitch. A 12 by 8 m (39.4 by 26.2 ft) main roof with a 6 m (19.7 ft) wing standing 4 m (13.1 ft) out is 120 m² (1,292 sq ft) on plan, and at 6 in 12 that is 134.2 m² (1,444 sq ft) on the slope.
How long are the valleys?
Each valley runs the diagonal of the wing's common run in plan, half its span, so its length is that run times the square root of 2 plus the rise per 12 squared: 1.5 at 6 in 12. A 6 m (19.7 ft) wing has two valleys of 3 m (9.8 ft) run, 4.5 m (14.8 ft) each.
Why does a hipped end shorten the ridge?
Because the hips rise from the corners to meet the ridge half the span in from each end, so on the main roof the ridge is the length less the span, and on a wing its projection alone.
Preliminary estimate, not certified engineering. This tool produces an indicative quantity calculation for planning purposes only — it is not a certified structural analysis, a guaranteed material takeoff, or a substitute for building department approval. Always verify measurements on-site and have a licensed contractor or structural engineer review any load-bearing, code-sensitive, or safety-critical work before purchasing materials or starting construction. Spotted an arithmetic or standards error? Report it to contact@craftquantities.com with your inputs — a confirmed fix gets a permanent check of its own, so the same mistake cannot come back.