Roof types in 3D

A standing board with a tree diagram that sorts roofs into four types: flat, gable, hip and shed.Drag to turn

A roof is the upper enclosure of a building, shaped and built to shed water and carry loads down to the walls and foundations. Roof types are usually named by their form, and roof structure describes the members that carry the covering.

Common roof shapes and what sets them apart

A gable roof has two sloping planes that meet at a ridge, leaving a triangular wall at each end. A hip roof slopes on all four sides, so it has no gable wall. A mono-pitch or lean-to roof has one sloping plane, and a flat roof has only a slight fall for drainage.

Other forms include the mansard, which has two slopes on each side with the lower one steeper, and the gambrel, a similar two-slope form with a gable end. Pitch is the slope of a roof, given as an angle or as a rise over a run.

How a pitched roof carries its load

In traditional timber construction, rafters run from the ridge down to the wall plate, a horizontal timber on top of the wall. Rafters push outward as well as down. Ceiling joists or other rafter ties set low, near the wall plate, resist this outward thrust. Collar ties set higher up mainly hold opposite rafters together and stiffen them.

A truss is a rigid frame of triangles, made of rafters, a bottom chord and internal webs. Because every member is mainly in tension or compression, a truss can span a wide room without intermediate walls. Trusses are commonly spaced at regular intervals and linked by purlins or battens that support the covering.

Flat roofs are usually carried by joists or by a concrete slab. They need a waterproof membrane, since water does not run off quickly.

Worked example: rafter length from pitch

Take a gable roof over a building 8 m wide, with a 30 degree pitch and no overhang. Each rafter spans half the width horizontally, which is 8 / 2 = 4 m. The rafter length is the run divided by the cosine of the pitch angle.

Cosine of 30 degrees is about 0.866, so the length is 4 / 0.866 = 4.62 m. The ridge height above the wall plate is 4 x tan 30 degrees, which is 4 x 0.577 = 2.31 m. Check: 4.62 squared is about 21.3, and 4 squared plus 2.31 squared is 16 + 5.34 = 21.3.

Common misconceptions

A flat roof is not truly flat. It is built with a small fall so that water drains toward gutters or outlets. A steeper roof is also not automatically stronger, since strength depends on the members, the connections and the loads such as snow and wind.

Chimneys are separate from the roof structure. They pass through it and are usually flashed with sheet metal at the junction to keep water out.

Where roof design shows up

Climate often influences the choice. In some heavy-snow regions steep pitches are used so snow slides off. Others, such as parts of the Alps, use shallow pitches that hold snow, which adds insulation and is carried by a strong structure. Dry regions often use flat roofs.

Large buildings use trusses, space frames, domes or shells for long spans. Sheds, halls and stations rely on these systems.

Key terms

Pitch
The slope of a roof, given as an angle or as rise over run.
Rafter
A sloping beam that runs from the ridge to the wall and supports the roof covering.
Truss
A rigid frame of triangles that spans an open space.
Ridge
The horizontal line where two sloping roof planes meet at the top.
Hip roof
A roof that slopes on all four sides.
Wall plate
A horizontal timber on top of a wall that receives the rafters or trusses.

Common questions

What is the difference between a gable roof and a hip roof?

A gable roof slopes on two sides and leaves a triangular wall at each end. A hip roof slopes on all four sides. Hip roofs usually resist wind better because they have no flat gable wall to catch it.

Why do rafters need ties?

Sloping rafters push outward on the walls as well as down. A tie set low, such as a ceiling joist, resists this outward thrust and keeps the walls from spreading.

Why use a truss instead of rafters?

A truss can span a wide room without support below, and it is often made off site in a factory. Rafters work well for short spans and simple roofs.

Learn this with a tutor

Sidechair's AI tutor will teach this topic in 3D. Join the waitlist for early access.

We'll only email you about Sidechair. Read our privacy policy.