# Mansard Roof Rafter Geometry Calculator

> Calculate total rafter length for a mansard roof's steep near-vertical lower segment plus shallow upper segment.

Page: https://craftquantities.com/calculators/materials-quantities/mansard-roof-rafter-calculator/ (calculator). This is the page's Markdown copy; the HTML page is the canonical version.

Version 1.0.1, sources checked 2026-09-02, 2 published test vectors.

Total mansard rafter length: 21.5 ft for Lower Segment Slope Angle 70 and Upper Segment Pitch 3, the page's opening figures; on the metric page, 70 and 3 give 6.53 m. Sources are cited below.

## Inputs

A length, area or volume is entered with its unit. The page opens on the values below: a metric reader sees the metric column, a US customary reader the other.

| Input | id | Opens at (metric) | Opens at (US customary) | Accepts |
|---|---|---|---|---|
| Lower Segment Slope Angle (° from horizontal) | `lowerSlopeAngle` | 70 | 70 | range 45–89 |
| Lower Segment Vertical Height | `lowerSlopeHeight` | 2 m | 6.5 ft | mm, cm, m, in, ft, yd; range 0.01–5 m |
| Upper Segment Pitch (rise per 12) | `upperPitch` | 3 | 3 | range 1–8 |
| Building Width | `buildingWidth` | 10 m | 33 ft | mm, cm, m, in, ft, yd; range 0.01–25 m |

- **Lower Segment Slope Angle (° from horizontal)**: How steep the mansard's lower (near-vertical) roof segment is, measured from horizontal.
- **Lower Segment Vertical Height**: The vertical rise of the steep lower segment, from the wall top to the break line.
- **Upper Segment Pitch (rise per 12)**: The shallow upper roof segment's pitch, expressed as inches of rise per 12 inches of run.
- **Building Width**: The overall width of the building, wall to wall.

## The answer on the opening values

Worked exactly as the page works it, on the values each system opens on.

### Metric

| Result | Value |
|---|---|
| **Total mansard rafter length** | 6.53 m |
| Lower segment length | 2.13 m |
| Upper segment length | 4.4 m |

### US customary

| Result | Value |
|---|---|
| **Total mansard rafter length** | 21.5 ft |
| Lower segment length | 6.92 ft |
| Upper segment length | 14.57 ft |

## How it is worked out

The working the page shows, in order: Lower segment length; Upper segment length; then total mansard rafter length.

The method, derived in full:

- [Slope, Pitch and True Surface Area](https://craftquantities.com/methodology/slope-pitch-and-true-area/): Converting a plan footprint into the sloped area a roof actually has — the factor that decides whether a shingle order is right or a third short.

What this calculation does not cover:

- The total is the sum of two segments that meet at the break line, not the length of one piece of timber. Cut from the two figures in the breakdown, not from the total: on the default 70 degree lower slope and 3-in-12 upper slope the two members meet at a change of direction of about 56 degrees, so a single rafter of the total length does not exist.
- The run is measured from the wall to the ridge centre line, so what you get is a theoretical line length. It excludes the eaves overhang, the half-thickness of the ridge board that has to come off each upper rafter, and the timber consumed by the birdsmouth seat cut and the plumb cuts at each end.
- This is the common rafter through one cross-section. A mansard is normally hipped on all four sides, and the hip rafters and the jack rafters running into them are longer and cut to compound angles that this page does not produce. No rafter spacing is asked for either, so there is no rafter count and no total timber quantity.
- Nothing here tests whether the roof stands up. The junction between a near-vertical lower slope and a shallow upper slope is a kink that pushes outwards under load and normally has to be restrained by a curb plate or purlin with a floor or collar behind it; the calculator returns no member depth, span limit or fixing detail for that transition.
- The upper pitch accepts 1 to 8 in (203 mm) 12, which is roughly 4.8 to 33.7 degrees, and the lower part of that range sits below the minimum pitch that slates and most interlocking tiles are rated for. Minimum pitch is set by the covering manufacturer and by local rules rather than by the geometry, so a shallow mansard top often has to become a membrane or standing-seam metal deck instead.
- The steep lower slope of a mansard is usually pierced by dormers, and the geometry here assumes it is unbroken. Each dormer opening cuts rafters that must be trimmed round with doubled trimmers and headers, none of which is reflected in the length or in the breakdown.

A professional must decide:

- Structure: sizes, thicknesses, spans, reinforcement and bearing are a structural engineer's or the building official's decision. This is a quantity, not a design.

## Sources

As the calculator cites them (sources checked 2026-09-02):

- The steep lower mansard segment is sized by its slope angle and vertical height (length = height/sin(angle), run = height/tan(angle)); the shallow upper segment uses the standard rise/12 rafter-length formula over the remaining half-width

A code or standard has force only where a jurisdiction has adopted it, usually with local amendments; check what is in force with the authority where you build.

## Questions answered on the page

**Why is the lower slope so nearly vertical?**

Because it was built to be a wall that the law would count as a roof. The mansard exists as a form because of building height limits measured to the eaves or the cornice: a storey placed behind a steep roof slope was not a storey for that purpose, so the lower pitch was pushed as close to vertical as it could go while still reading as a roof, and a whole habitable floor appeared inside it. That history is still what governs the geometry today — the lower slope is steep enough to be usable and to shed water fast, and the upper slope is shallow enough to be nearly invisible from the street. It is also why a mansard runs on all four sides where a gambrel runs on two: the point was the elevation, and an elevation has corners.

**Why does the lower segment use an angle while the upper segment uses a rise-per-12 pitch?**

Mansard lower slopes are typically specified as a steep angle from horizontal (often 60-75°) since a rise/12 pitch notation becomes awkward at near-vertical slopes, while the shallow upper segment is conventional enough to use the standard rise-per-12 carpentry pitch notation.

**What happens if the lower segment's run is longer than half the building width?**

That geometry is invalid — the steep lower slope would need to travel past the ridge centerline before reaching the break line. This calculator still computes a result in that case but flags it as low confidence so you catch the input error.

**Does this account for the double layer of framing typical at a mansard's break line?**

No — this calculates rafter-length geometry only. The structural transition, blocking, and any additional framing members at the break line between the two segments are not included.

## Related calculators

- [Gambrel Roof Rafter Geometry Calculator](https://craftquantities.com/calculators/materials-quantities/gambrel-roof-rafter-calculator/)
- [Common Gable Rafter Length Calculator](https://craftquantities.com/calculators/materials-quantities/common-rafter-length-calculator/)

## Run it from a program

- REST: `GET https://api.craftquantities.com/v1/calculate/mansard-roof-rafter-calculator` with each input as a query parameter, a length, area or volume with its unit; `https://api.craftquantities.com/v1/describe/mansard-roof-rafter-calculator` lists the inputs.
- MCP: the `calculate` tool at https://api.craftquantities.com/mcp with `slug` `mansard-roof-rafter-calculator`.
- Definition and test vectors: https://craftquantities.com/api/v1/calculators/mansard-roof-rafter-calculator.json

---
Source: https://craftquantities.com/calculators/materials-quantities/mansard-roof-rafter-calculator/
Craft Quantities: free to read, cite and link to; the pages are not licensed for republication. Quantities only: no prices, no design and no certification.
