What It Calculates
The Rectangular Roof Area Calculator finds the true sloped surface area of a simple rectangular (gable or shed) roof. Because a pitched roof rises above its footprint, its real surface is larger than the flat ground area it covers. This tool corrects the footprint area for the roof's slope so you can order the right amount of shingles, underlayment, or metal panels.
How to Use It
Enter the building footprint length and width (in feet) and the roof pitch angle in degrees. The calculator returns the sloped surface area in square feet, the flat footprint area for reference, and the equivalent number of roofing squares (1 square = 100 sq ft), which is how roofing materials are typically sold.
The Formula Explained
The area is computed as $$\text{A} = \frac{\text{L} \times \text{W}}{\cos\left(\theta\right)}$$ The footprint area \(L \times W\) represents the horizontal projection of the roof. Dividing by the cosine of the pitch angle \(\theta\) stretches that projection up the slope to give the actual covered surface. At 0° (flat) the roof equals the footprint; as the pitch steepens, \(\cos(\theta)\) shrinks and the area grows.
Worked Example
A house has a 40 ft × 30 ft footprint and a roof pitched at 30°. Footprint area = \(40 \times 30 = 1{,}200\) sq ft. \(\cos(30°) \approx 0.86603\), so $$A = \frac{1{,}200}{0.86603} \approx 1{,}385.64 \text{ sq ft}$$ — about 13.86 roofing squares. The slope adds roughly 15% more material than the flat footprint suggests.
Common Roof Pitch to Angle and Area Multiplier Chart
Roof pitch is written as rise:run, where the run is always 12 inches. The angle is \(\theta = \arctan(\text{rise}/12)\). The area multiplier is \(1/\cos\theta = \sqrt{1+(\text{rise}/12)^2}\). Multiply the footprint area by this number to get the sloped surface area.
| Pitch (rise:12) | Angle (degrees) | Area multiplier | Increase over footprint |
|---|---|---|---|
| 2:12 | 9.46° | 1.014 | 1.4% |
| 3:12 | 14.04° | 1.031 | 3.1% |
| 4:12 | 18.43° | 1.054 | 5.4% |
| 5:12 | 22.62° | 1.083 | 8.3% |
| 6:12 | 26.57° | 1.118 | 11.8% |
| 7:12 | 30.26° | 1.158 | 15.8% |
| 8:12 | 33.69° | 1.202 | 20.2% |
| 9:12 | 36.87° | 1.250 | 25.0% |
| 10:12 | 39.81° | 1.302 | 30.2% |
| 12:12 | 45.00° | 1.414 | 41.4% |
Example: a 6:12 roof has \(\sqrt{1+0.5^2} = \sqrt{1.25} \approx 1.118\), so its surface is about 11.8% larger than the footprint beneath it.
Ordering Tips: Waste Factor and Roofing Squares
- Roofing squares: One square covers 100 sq ft of roof surface. Divide the sloped area by 100.
- Waste factor: Add about 10% for a simple gable or shed roof. Add 15% or more for cut-up roofs with many hips, valleys or dormers, and for steep roofs.
- Round up: Order whole squares. Asphalt shingles typically come 3 bundles per square, so check the coverage printed on the product you choose.
- Use the full footprint: Measure to the outer edge of the eaves and overhangs, not just the exterior walls of the building.
- A two-slope gable roof: Enter the whole building footprint (length × width). The calculator's sloped result already covers both sides, so do not halve the footprint.
- Separate items: Ridge caps, starter strips, drip edge, underlayment overlap, and flashing are measured separately, mostly in linear feet.
- Limits of this tool: It handles a simple rectangular plane at one pitch. Complex roofs should be split into sections and added up.
- Verify on site: Confirm the dimensions and the actual pitch on the roof before ordering materials.
Roof Area at Different Pitches
These values use a fixed 40 ft × 30 ft footprint (1,200 sq ft), with sloped area \(= 1200/\cos\theta\).
| Pitch / angle | Sloped area (sq ft) | Roofing squares | Increase over footprint |
|---|---|---|---|
| 0° (flat) | 1,200.0 | 12.00 | 0% |
| 15° | 1,242.3 | 12.42 | 3.5% |
| 22.62° (5:12) | 1,300.0 | 13.00 | 8.3% |
| 30° | 1,385.6 | 13.86 | 15.5% |
| 35° | 1,464.9 | 14.65 | 22.1% |
| 45° (12:12) | 1,697.1 | 16.97 | 41.4% |
Worked example for 30°: \(1200 / \cos 30^\circ = 1200 / 0.8660 \approx 1385.6\) sq ft, or about 13.86 squares. Add 10–15% waste when ordering.
FAQ
What if my pitch is given as a ratio like 6:12? Convert it to degrees first: \(\text{angle} = \arctan(\text{rise}/\text{run})\). A 6:12 pitch is \(\arctan(6/12) \approx 26.57°\).
Does this include overhangs? No — measure the full footprint including eave overhangs to capture the entire roof you intend to cover.
Why divide by cosine instead of multiply? The footprint is the horizontal shadow of the roof. The sloped length is \(\text{footprint}/\cos(\theta)\), so the area scales the same way.