Roofing Calculator

House dimensions
ft
ft
Roof pitch
: 12
A 6:12 roof rises 6 inches for every 12 inches of horizontal run.
Roof cost
%
Optional extra material for cutting and overlaps.
per ft²
Optional. Any currency. Check whether the quote includes labour.
Construction Updated 31 Oct 2026

Estimates the surface area of a pitched roof and what it will cost to cover. Enter the footprint of the house (length and width, or a known area) and the roof pitch as a rise in 12, in degrees or as a percentage. The calculator converts the pitch, applies the slope factor to the footprint, and gives the roof area, roofing squares and, if you enter a price per unit area, the total cost.

  • All roof planes have the same pitch; for mixed pitches, calculate each part separately and add the areas.
  • Dormers, valleys, ridges and chimneys are not modelled; use the waste allowance to cover extra cutting.
  • Prices are entered by you; no currency conversion is applied.

Formula

Footprint = length × width. Pitch: θ = arctan(x ÷ 12) = arctan(percent ÷ 100). Roof area = footprint ÷ cos θ = footprint × √(1 + (x ÷ 12)²). Cost = roof area × (1 + waste ÷ 100) × price
  • A sloping roof plane is longer than its horizontal projection by the factor 1 ÷ cos θ, so every plane at the same pitch has area = projected area ÷ cos θ. Adding the planes gives roof area = footprint ÷ cos θ for gable, shed and hip roofs alike, as long as all planes share one pitch.
  • A rise of x in 12 is a slope of x ÷ 12, which is (x ÷ 12) × 100 percent; the angle is arctan(x ÷ 12). For example 6:12 = 50% = 26.57°.
  • 1 ÷ cos θ equals √(1 + tan² θ), so the slope factor is computed directly from the rise ÷ run.
  • One roofing square is 100 ft² of roof surface, the unit in which shingles are usually sold in the US.
  • The waste allowance multiplies the roof area before squares and cost are worked out. Leave it at 0 to get the bare roof surface.

100 m² house with a 25° roof

Inputs
  • Units: metric
  • House footprint: area
  • Footprint area: 100
  • Roof pitch given as: degrees
  • Roof pitch: 25 °
  • Waste allowance: 0 %
  • Price per unit area: 30

cos 25° = 0.9063, so the roof area is 100 ÷ 0.9063 = 110.34 m². A 25° roof is a slope of tan 25° = 0.4663, which is 46.63% or 5.60:12. At 30 per m² the roof costs 110.3378 × 30 = 3,310.13.

Sources & references

Frequently asked questions

What are gable, shed and hip roofs?
A gable roof has two sloping sides that meet at a ridge. A shed roof is a single plane sloping to one side. A hip roof slopes on all four sides. If every plane has the same pitch, all three have the same area for the same footprint.
What is the most common roof pitch?
Many homes have roofs between about 4:12 and 9:12 (roughly 18° to 37°). Steeper roofs shed snow and rain faster; very low slopes need roofing materials rated for them.
What is the roof area of a 100 m² house with a 25° pitch?
Divide the footprint by the cosine of the pitch: 100 ÷ cos 25° = 100 ÷ 0.9063 = 110.34 m².
How do I convert a 6:12 pitch to degrees?
Take the arctangent of the rise over the run: arctan(6 ÷ 12) = arctan(0.5) = 26.57°. As a percentage the same pitch is 6 ÷ 12 × 100 = 50%.
How do I estimate the cost of a new roof?
Work out the roof area, get a price per square foot or square metre from a roofer (check whether it includes labour and removal of the old roof), add an allowance for waste, and multiply.
Should the footprint include the overhang?
Yes. Measure the area the roof covers seen from above, out to the edge of the eaves and rakes, not just the walls of the house.

Related calculators

Area Calculator Finds the area of 2D shapes: rectangle, square, triangle (from base and height, three sides, two sides and the angle between them, or two angles and the side between them), circle, semicircle, circular sector, ellipse, trapezoid, parallelogram (three ways), rhombus (three ways), kite (two ways), regular pentagon, hexagon and octagon, annulus (ring), any quadrilateral from its diagonals and any regular polygon. Pick the shape, enter its dimensions in any length unit (angles in degrees or radians), and you get the area in that unit squared, plus square metres and square feet, and the perimeter where the inputs fix it. Handy for working out the area of a room, a garden bed or a patio before buying flooring, mulch or bricks. Square Footage Calculator Calculates the square footage of a room, floor, lot or any surface from its measurements. Choose a rectangle, an L-shaped room split into two rectangles, a circle or a triangle, and enter the dimensions in feet, inches, yards, metres or centimetres. The area is given in square feet, square metres, square yards and acres, multiplied by the number of identical areas if you have several. Add a price per square foot, square metre or square yard to estimate the cost of flooring, carpet, paint or other materials. Slope Calculator Finds the slope (gradient) of the straight line through two points, m = (y₂ − y₁) ÷ (x₂ − x₁), along with the equation of the line in slope-intercept form y = mx + b. You also get the y-intercept, the angle the line makes with the x-axis in degrees, the slope as a percentage grade, the rise and run between the points and the distance between them. Vertical and horizontal lines are handled correctly. Pythagorean Theorem Calculator Solves a right triangle with the Pythagorean theorem, a² + b² = c². Give any two of the two legs, the hypotenuse, the area and the perimeter, and it finds the missing sides, then adds the area, perimeter, both acute angles and the height dropped onto the hypotenuse. Lengths can be in metric or imperial units, from millimetres to nautical miles, and the area in anything from square millimetres to acres. Handy for checking that a corner is square, sizing a ladder or ramp, or finding a diagonal.