Roofing Calculator

Free online roofing calculator for gable, hip, gambrel, barn, shed, flat, and lean-to roofs. Enter your building dimensions and roof pitch to get roof area in square footage, shingles, bundles, squares, metal roofing panels, rafters, trusses, underlayment, and material cost estimates.


ft in
ft in
ft



%

Recommended: 10% gable, 15% hip/gambrel/barn (more cutting at hips and valleys)

$/square

1 square = 100 sq ft. Includes shingles only. Range: $80-500/sq depending on type.

$/square

Rafter & Truss Calculator
ft
Roof Drain Calculator
in/hr
0
roofing squares
0
Roof Area (sq ft)
0
Pitch Angle
0
Shingle Bundles
0
Underlayment Rolls
0
Drip Edge (ft)
0
Roofing Nails (lbs)

How to Calculate Roof Square Footage

Learning how to calculate roof square footage is essential for any roofing project. Follow these steps to accurately measure your roof area, calculate roof squares, and determine the materials you need.

  1. Measure building dimensions — Measure the length and width of your building at the eaves in feet. Include any overhangs in your measurements. For a 40×30 ft house, your footprint is 1,200 sq ft.
  2. Determine roof pitch — Roof pitch is the rise in inches for every 12 inches of horizontal run. A 4/12 pitch means the roof rises 4 inches for every 12 inches. Use a pitch gauge or level to measure. To calculate roof pitch in degrees, use the formula: angle = arctan(rise/run).
  3. Find your pitch factor — The pitch factor converts footprint to actual roof area. A 4/12 pitch has a factor of 1.054. Multiply your footprint by the pitch factor to get the true roof square footage.
  4. Apply roof type multiplier — Gable and shed roofs use the pitch factor directly. Hip roofs need a hip multiplier (about 1.15). Gambrel and barn roofs need separate calculations for upper and lower slopes.
  5. Calculate roofing squares — Divide total roof area by 100 to get squares. A 1,200 sq ft footprint with 4/12 pitch gable roof = roughly 1,265 sq ft = 12.65 squares. Add waste and round up.
  6. Estimate materials — Each square needs 3 bundles of standard shingles. Add underlayment (1 roll per 4 squares), drip edge (perimeter length), and ridge cap shingles. Use our roof square footage calculator above for instant results.
Quick Formula: Roof Area = Building Length × Building Width × Pitch Factor × Roof Type Factor. For a gable roof with 4/12 pitch: Area = L × W × 1.054. For a hip roof: Area = L × W × 1.054 × 1.12.

Metal Roof Calculator

Our metal roof calculator helps estimate materials and costs for standing seam, corrugated, and metal shingle roofing. Metal roofing is measured by panels rather than squares. To calculate square foot of roof for metal panels, measure the roof area the same way as shingles, then divide by panel coverage width to get the number of panels needed. Toggle the calculator above to Metal Roofing mode for detailed metal estimates including panel counts, trim pieces, and installation cost.

Metal Roofing Calculator for Material

When using a metal roofing calculator for material, enter your roof area and panel dimensions. Standard panels are 36 inches wide with varying lengths. Our metal roofing calculator accounts for panel overlap (usually 2-3 inches), ridge caps, trim, and fasteners. Standing seam panels typically cost $5-12 per sq ft installed, while corrugated panels range from $3-7 per sq ft.

Standing Seam Metal Roof Cost Calculator

A standing seam metal roof cost calculator considers panel type (snap-lock or mechanical seam), panel gauge (24 or 26 gauge), color, and accessories. Typical standing seam costs range from $8-16 per sq ft installed. Use our metal roof calculator above with your specific project dimensions.

Metal Roofing TypeMaterial Cost/sq ftInstalled Cost/sq ftLifespan
Corrugated Steel$1.50-3.00$3.50-7.0020-30 years
Standing Seam Steel$3.00-6.00$6.00-12.0030-50 years
Standing Seam Aluminum$4.00-8.00$8.00-16.0040-60 years
Metal Shingles$3.00-6.00$7.00-14.0030-50 years
Copper (Standing Seam)$8.00-15.00$15.00-25.0060-100 years

Roof Pitch Factor Reference

The roof pitch factor converts your building's footprint to actual roof area. Use this table to quickly find the pitch factor for any roof slope. To calculate roof pitch in degrees, take the arctangent of (rise/run). For example, a 6/12 pitch has an angle of approximately 26.6°.

PitchAngle (degrees)Pitch FactorDescription
0/120.0°1.000Flat roof
1/124.8°1.003Minimum slope
2/129.5°1.014Minimum for shingles
3/1214.0°1.031Low slope
4/1218.4°1.054Standard residential
5/1222.6°1.083Moderate slope
6/1226.6°1.118Common residential
7/1230.3°1.158Steep slope
8/1233.7°1.202Steep
9/1236.9°1.250Steep
10/1239.8°1.302Very steep
11/1242.5°1.357Very steep
12/1245.0°1.414Very steep (walkable)
Formula for calculating roof area: Roof Area = Footprint Area × Pitch Factor. For a 40×30 ft building with 6/12 pitch: 1,200 × 1.118 = 1,342 sq ft roof area.

Roof Type Calculators

Different roof types need different calculation methods. Here is how to calculate roof area for each common type.

Gable Roof Calculator

A gable roof has two sloping sides meeting at a ridge. The pitch factor applies to the entire width. Most common residential roof type.

Area = L × W × Pitch Factor × 2 (sides)

Hip Roof Calculator

A hip roof has four sloping sides. It requires a hip factor (1.10-1.20) on top of the pitch factor due to additional hip rafters and longer slopes.

Area = L × W × Pitch Factor × Hip Factor (1.12)

Gambrel Roof Calculator

A gambrel roof (barn roof) has two different slopes on each side — a steep upper slope and a shallower lower slope. Common on barns and Dutch colonial homes.

Area = L × (Upper Factor + Lower Factor) × W/2

Shed Roof Calculator

A shed roof (lean-to roof) slopes in one direction only. Often used for additions, porches, and modern architecture.

Area = L × W × Pitch Factor (single slope)

Flat Roof Calculator

A flat roof has minimal slope (0-2/12). Best suited for membrane roofing or rolled roofing materials.

Area = L × W (no pitch factor needed)

Barn Roof Calculator

A barn roof is similar to gambrel with two distinct slopes. Our barn roof calculator handles both upper and lower pitch inputs for accurate material estimation.

Area = L × (combined gambrel factor) × W

Lean-to Roof Calculator

A lean-to roof is a single-slope roof attached to an existing wall. Our lean-to roof calculator works the same as shed roof calculations.

Area = L × W × Pitch Factor

Common Roofing Calculations

How to Calculate Roofing Squares

A roofing square is 100 square feet of roof area. To calculate roofing squares from square footage, divide the total roof area by 100. For example, 2,450 sq ft of roof area = 24.5 squares. Always round up to the nearest whole square when ordering materials. Our calculator above shows both the exact square count and the number to order with waste included.

Example: 1,265 sq ft roof ÷ 100 = 12.65 squares. With 10% waste: 13.9 → order 14 squares.

Rafter Calculator for Shed Roof

Use our rafter calculator for shed roof to determine rafter length. Rafter length = (width² + rise²)½, where rise = width × pitch/12. For a 30 ft wide shed with 4/12 pitch: rafter rise = 10 ft, rafter length = √(225 + 100) = 18.0 ft per side. Our shed roof rafter calculator includes the overhang for total rafter length.

Roof Truss Span Calculator

Our roof truss span calculator helps determine truss count based on building length and truss spacing. For a 40 ft building with 24-inch spacing: 40 ft × 12 = 480 inches ÷ 24 = 20 trusses. The truss roof calculator above accounts for gable end trusses and girder trusses.

Roof Plywood Calculator

A roof plywood calculator determines how many 4×8 ft plywood sheets are needed for roof sheathing. Divide total roof area by 32 (area of one 4×8 sheet) and add 10% waste. For a 1,265 sq ft roof: 1,265 ÷ 32 = 39.5 sheets + 10% = 44 sheets ordered.

Roof Shingle Bundle Calculator

Standard 3-tab shingles come 3 bundles per square. Each bundle covers approximately 33.33 sq ft. For 14 squares: 14 × 3 = 42 bundles. Architectural shingles may require 4 bundles per square — always check bundle coverage. Our roof shingle bundle calculator above adjusts automatically based on shingle type.

MaterialCoveragePer Square (100 sq ft)
3-Tab Shingles33.33 sq ft/bundle3 bundles
Architectural Shingles25-33 sq ft/bundle3-4 bundles
15 lb Felt Underlayment400 sq ft/roll0.25 rolls
30 lb Felt Underlayment200 sq ft/roll0.5 rolls
Synthetic Underlayment1,000 sq ft/roll0.1 rolls
Plywood Sheathing (4×8)32 sq ft/sheet3.13 sheets
Roofing Nails~2 lbs/sq~320 nails

Roofing Material Estimation Guide

Accurate material estimation prevents costly delays and waste. Here is a complete guide for calculating roofing materials including shingles, underlayment, drip edge, nails, and accessories.

Roof Waste Calculator

Our roof waste calculator adds the correct waste percentage based on roof type. Gable roofs need 10% waste. Hip, gambrel, and barn roofs need 15% due to extra cutting at valleys, hips, and ridges. Complex roofs with multiple dormers and valleys may need 20% waste.

Roof Coating Calculator

Our roof coating calculator estimates gallons needed for acrylic, silicone, urethane, or EPDM coatings. Enter your roof area, coating coverage rate (sq ft per gallon), and number of coats. Standard acrylic coatings cover 50-80 sq ft per gallon. Silicone covers 40-60 sq ft per gallon. Our calculator handles single or multi-coat applications.

EPDM Roofing Cost Calculator

EPDM (ethylene propylene diene monomer) rubber roofing is popular for flat and low-slope roofs. Our EPDM roofing cost calculator estimates material and installation costs. EPDM membranes cost $0.80-1.50 per sq ft for material, with installation adding $2-4 per sq ft. Total installed EPDM costs range from $4-8 per sq ft.

Roof Drain Calculator

Proper roof drainage is critical. Our roof drain calculator determines the number and size of drains needed based on roof area and local rainfall intensity. For commercial buildings, use the 100-year storm rainfall rate. Standard round drains handle approximately 100-200 sq ft per inch of drain diameter.

Flat Roof Material Calculator

A flat roof material calculator works differently than sloped roofs. Flat roofs use membrane roofing (EPDM, TPO, PVC), modified bitumen, or built-up roofing (BUR). Materials are measured by total square footage without pitch factors. Add 5-10% for overlaps, flashing, and perimeter details.

Frequently Asked Questions

How many shingles do I need for a 40x30 house?
For a 40×30 ft house with a 4/12 pitch gable roof, you need approximately 14 squares or 42 bundles of 3-tab shingles. This includes 10% waste. The roof area is about 1,265 sq ft. For a hip roof of the same size, you would need about 16 squares (48 bundles) due to the extra material needed for hips and valleys.
How many shingles in a bundle?
Standard 3-tab asphalt shingles come 3 bundles per square (100 sq ft), so each bundle covers approximately 33.33 sq ft. Architectural/laminated shingles may have 3-4 bundles per square — always check the bundle label for exact coverage. Luxury shingles also come 3 bundles per square but each bundle is heavier.
What is a roofing square?
A roofing square is 100 square feet of roof area. It is the standard measurement unit in the roofing industry. When a roofer says "20 squares," they mean 2,000 sq ft of roof area. Material quantities and pricing are almost always quoted per square. Our calculator above shows both squares and square footage.
What roof pitch is best for shingles?
Asphalt shingles work best on slopes between 4/12 and 12/12. Minimum recommended slope is 2/12 (with special ice and water barrier underlayment). For flat or low-slope roofs (under 2/12), use rolled roofing, EPDM, TPO, or standing seam metal instead of shingles. A 6/12 pitch roof calculator will show optimal drainage.
How much underlayment do I need?
15 lb felt covers about 400 sq ft per roll (with 2-inch overlaps). Divide your total roof area by 400 and round up. For 30 lb felt, divide by 200. For synthetic underlayment, coverage varies by brand — typically 1,000-1,500 sq ft per roll. Synthetic is lighter, stronger, and easier to walk on.
What is the difference between gable and hip roof?
A gable roof has two sloping sides meeting at a ridge, with triangular ends (gables). A hip roof has four sloping sides, all meeting at a ridge or peak. Hip roofs are more expensive (15-20% more material) but offer better wind resistance and more attic space. Use our gable roof calculator or hip roof calculator for accurate estimates.
How much drip edge do I need?
Drip edge is installed along the entire roof perimeter — both eaves (bottom edges) and rakes (sloped edges). Measure the total linear feet of all roof edges and add 5% for overlaps and waste. Standard drip edge comes in 10 ft lengths. For a 40×30 ft house with gable roof: perimeter is about 140 ft + 5% = 147 ft = 15 pieces.
How many roofing nails per square?
Standard: 4 nails per shingle (2 per tab for 3-tab shingles). At about 80 shingles per square × 4 nails = 320 nails per square. With 1-1/4 inch galvanized roofing nails, that is about 2 lbs per square. For high-wind areas, use 6 nails per shingle (3 lbs per square).
How to calculate roof pitch in degrees?
To calculate roof pitch in degrees, use the formula: angle = arctan(rise/run). For a 6/12 pitch: arctan(6/12) = arctan(0.5) = 26.6°. For 4/12: arctan(4/12) = 18.4°. You can also use an online roof pitch calculator or our pitch table above for quick reference.
How to calculate roofing squares from square footage?
To calculate roofing squares from square footage, divide the total roof area by 100. For example: 2,450 sq ft ÷ 100 = 24.5 squares. Always round up to the nearest whole square. If your roof area is 1,265 sq ft: 1,265 ÷ 100 = 12.65 squares → order 13 squares (or 14 with waste included).
How do I calculate roofing squares?
To calculate roofing squares: (1) Measure the length and width of your house at the eaves. (2) Multiply to get footprint area. (3) Multiply by the pitch factor for your roof slope. (4) Apply the roof type multiplier. (5) Divide by 100. (6) Add waste factor and round up. Use our calculator above for automatic calculation.
How to find roof square footage with pitch?
To find roof square footage with pitch: measure the building footprint, find your pitch factor from the table above, and multiply. For a 40×30 ft house with 6/12 pitch: footprint = 1,200 sq ft, pitch factor = 1.118, roof area = 1,200 × 1.118 = 1,342 sq ft. For a gable roof, this is the total area.
How to calculate square footage of a roof?
To calculate square footage of a roof: (1) Measure building length and width. (2) Determine roof pitch and find the pitch factor. (3) Multiply length × width × pitch factor. (4) For hip roofs, multiply by an additional 1.12. (5) Add overhang area. Our roof square footage calculator handles all these steps automatically.
How many square feet is a 30x40 metal roof?
A 30×40 ft building (1,200 sq ft footprint) with a 4/12 pitch gable roof has approximately 1,265 sq ft of roof area. For a standing seam metal roof, you would need about 40-42 panels at 36 inches wide. Total metal roofing cost would range from $5,000-15,000 depending on metal type and installation.
What is the most cost-effective roofing material?
3-tab asphalt shingles are the most cost-effective roofing material at $80-150 per square (material only). Architectural shingles offer better durability at $120-200 per square. For long-term value, standing seam metal roofing costs more initially ($600-1,200 per square installed) but lasts 40-60 years with minimal maintenance.
How to calculate roof waste?
To calculate roof waste, first find the base material quantity (roof area in squares), then multiply by your waste percentage. Formula: Waste = Base Quantity × Waste%. Example: 14 squares with 10% waste = 14 × 0.10 = 1.4 extra squares. Total to order: 15.4 → 16 squares. Standard waste factors: 10% for gable, 15% for hip and gambrel, 20% for complex roofs with valleys and dormers.
How to calculate roof load?
Roof load is calculated as Dead Load (roofing materials + structure) plus Live Load (snow, wind, maintenance). Typical residential roof loads: 10-15 psf dead load + 20-30 psf live load = 30-45 psf total. For snow load: multiply ground snow load by 0.7 (for sloped roofs over 2/12 pitch). Always consult local building codes for minimum design loads in your area.
What length screw for metal roof calculator?
Recommended screw lengths for metal roofing: 1-1/4 inch for attaching metal panels to wood purlins or decking, 1 inch for metal-to-metal connections (overlapping panels), and 2-3 inches for through-fastened panels to steel framing. Always use self-drilling (TEK) screws with EPDM washers for weather-tight seals. Our metal roof calculator estimates panel count and fasteners needed.
How to calculate roof square footage from blueprint?
To calculate roof square footage from a blueprint: (1) Find the scale (e.g., 1/4 inch = 1 foot). (2) Measure roof plan dimensions using a scale ruler. (3) Convert scaled measurements to actual feet. (4) Calculate footprint area and multiply by the pitch factor shown in the roof cross-section. (5) For complex blueprints, divide into rectangles and add totals. Most blueprints show roof slope as a ratio like 4:12 or 6:12.