Home & Construction

Roof Pitch Calculator

Calculate roof pitch angle, rafter length, total roof area in squares, and material cost for gable, hip, or flat roofs. Supports overhang, waste, and labor. Free, no sign-up.

Did this calculator help you?

What is Roof Pitch Calculator?

A roof pitch calculator estimates the total material and labor cost for roofing a building based on its dimensions and roof pitch. Whether you are building a new roof or replacing an old one, this tool lets you enter building length and width, choose a roof type (gable, hip, or flat), set the pitch ratio, and instantly see rafter length, total roof area in squares, and a detailed cost breakdown including shingles, underlayment, labor, waste, and tax.

When to Use This Calculator

  • You are building a new roof and need a materials estimate
  • You are replacing an existing roof and want to budget costs
  • You need to know how many squares of shingles to order
  • You want to compare gable vs hip roof costs
  • You are getting contractor quotes and want to verify estimates
  • You need rafter length for framing a new roof structure

Steps:

  1. Enter the building length and width in feet or meters.
  2. Set the roof pitch as rise over run (default 6:12).
  3. Choose the roof type: gable, hip, or flat.
  4. Set the overhang distance (default 1.5 ft).
  5. Enter material costs: shingles and underlayment per square.
  6. Enter labor cost per square if hiring a roofer.
  7. Adjust waste percentage and tax rate in Advanced Options.
  8. View total cost, roof area in squares, and detailed breakdown.

Formula

Roof angle = arctan(pitch rise ÷ pitch run) × (180 ÷ π) Rafter length factor = √(rise² + run²) ÷ run Sloped rafter length = half-width × rafter length factor Gable roof area = 2 × effective length × sloped rafter length Effective length = building length + 2 × overhang Effective width = building width + 2 × overhang Roof squares = roof area ÷ 100 Shingle cost = squares × shingle cost per square Underlayment cost = squares × underlayment cost per square Material cost = shingle cost + underlayment cost Labor cost = squares × labor cost per square Waste cost = (material + labor) × waste% Subtotal = material + labor + waste Tax = subtotal × tax% Total = subtotal + tax

Use Cases

  • Estimating roofing costs for a new construction project
  • Budgeting a roof replacement before contacting contractors
  • Comparing material options (3-tab vs architectural shingles)
  • Calculating how many squares of shingles to order
  • Planning a reroofing project with accurate material quantities
  • Getting a cost estimate to share with roofing contractors for bids

Key Benefits

  • Supports gable, hip, and flat roof types
  • Calculates rafter length and roof angle automatically
  • Converts roof area to roofing squares for easy ordering
  • Supports both imperial (ft) and metric (m) units
  • Instant cost-per-square and cost-per-sqft calculations
  • Export results to PDF, Excel, or CSV for contractor quotes

Pro Tips

  • Always order 10–15% more shingles than your calculation to account for waste and starter strips
  • Get at least 3 contractor quotes for labor to find the best rate in your area
  • For steep roofs (above 8:12 pitch), factor in higher labor costs due to safety requirements
  • Consider architectural shingles over 3-tab — they last longer and look better for only 20–30% more
  • Check if your roof has valleys, dormers, or penetrations — these add complexity and cost

Common Mistakes to Avoid

  • Forgetting to add overhang — this underestimates roof area by 5–15%
  • Using building footprint instead of roof area — sloped roofs have more area than the floor plan
  • Not accounting for waste — complex roofs need 15–20% buffer
  • Confusing pitch ratio with angle — 6:12 pitch is 26.6°, not 6 degrees
  • Using national average prices instead of your local prices — roofing costs vary significantly by region

Key Terms Explained

Pitch
The slope of a roof expressed as rise over run (e.g., 6:12). Higher pitch = steeper roof. Determines water shedding, aesthetics, and material requirements.
Rafter
The structural member that spans from the ridge or wall plate to the eave, supporting the roof deck and shingles. Length depends on pitch and building width.
Square
A roofing unit equal to 100 square feet of roof area. Shingles and underlayment are sold per square. A 2,000 sq ft roof = 20 squares.
Overhang
The portion of the roof that extends beyond the building walls. Typically 12–24 inches. Protects walls from rain and provides shade.
Underlayment
A waterproof or water-resistant barrier installed between the roof deck and shingles. Provides secondary weather protection. Also called roofing felt.
Gable Roof
A roof with two sloping sides meeting at a central ridge. The most common residential roof type in the US. Simple to frame and effective at shedding water.

Related Concepts

Example

A building measuring 50 ft × 30 ft with a 6:12 pitch, gable roof, and 1.5 ft overhang: Effective length = 53 ft. Effective width = 33 ft. Half-width = 16.5 ft. Rafter length factor = √(6² + 12²) / 12 = √180 / 12 = 13.42 / 12 = 1.118. Sloped rafter = 16.5 × 1.118 = 18.45 ft. Roof area = 2 × 53 × 18.45 = 1,956 sq ft = 19.56 squares. At $100/sq shingles = $1,956. Underlayment $30/sq = $587. Material = $2,543. Labor $150/sq = $2,934. Waste 10% = $547.70. Tax 8% = $486.78. Total = $6,511.48 ($3.33/sq ft).

Interpreting Your Results

The total cost includes shingles, underlayment, labor, waste buffer, and tax. Roof area is displayed in both square feet and roofing squares (100 sq ft each) for easy material ordering. The cost per square helps compare against contractor quotes. Rafter length is the actual slope length from ridge to eave, not the horizontal run.

Frequently Asked Questions

What is roof pitch?
Roof pitch is the slope of a roof expressed as a ratio of rise to run. For example, a 6:12 pitch means the roof rises 6 inches for every 12 inches of horizontal run. The pitch determines the roof angle, rafter length, and how much material you need. Steeper roofs shed water and snow more effectively but require more material.
How is roof area calculated?
For a gable roof: Roof area = 2 × building length × rafter length. The rafter length is the hypotenuse of the pitch triangle: √(rise² + run²) / run × half-width. For a hip roof, additional hip rafters add area. The overhang is added to the building dimensions before calculation.
What is a roofing square?
A roofing square equals 100 square feet of roof area. Shingles and underlayment are sold per square. For example, a 2,000 sq ft roof requires 20 squares of shingles. This is the standard unit used by roofing contractors and material suppliers.
How much do shingles cost per square?
Asphalt shingles range from $90–$150 per square for basic 3-tab, $120–$200 for architectural (dimensional), and $250–$400+ for premium or designer shingles. The national average is around $100–$150 per square for architectural shingles. This calculator defaults to $100 per square.
What is roof underlayment?
Underlayment is a waterproof or water-resistant barrier installed between the roof deck and shingles. It provides a secondary layer of protection against wind-driven rain and ice dams. Common types include felt paper (tar paper), synthetic underlayment, and ice-and-water shield. Costs range from $20–$50 per square.
How much waste should I account for?
The standard waste factor for roofing is 10–15% for simple gable roofs. Hip roofs, dormers, valleys, and complex roof lines may require 15–20% waste. Waste accounts for cut pieces, starter strips, and damaged shingles. This calculator defaults to 10%.
What is the difference between gable and hip roofs?
A gable roof has two sloping sides that meet at a ridge, forming a triangle at each end. A hip roof has four sloping sides — all sides slope downward to the walls. Hip roofs are more wind-resistant and stable but require more materials and complex framing. Flat roofs have minimal slope (under 2:12).
How does overhang affect the calculation?
Roof overhang (eave) extends beyond the building walls, typically 12–24 inches. The overhang protects walls from rain and provides shade. In this calculator, overhang is added to both the length and width of the building before computing roof area, increasing the total material needed.
How many squares of shingles do I need for a 2,000 sq ft roof?
A 2,000 sq ft roof requires 20 squares of shingles at minimum. With 10% waste, you need 22 squares. At $100–$150 per square for architectural shingles, material cost is $2,200–$3,300. Including underlayment ($30/sq) and labor ($150/sq), total cost ranges from $5,600–$7,700.
Can I use this calculator for metric measurements?
Yes. Switch to metric mode to enter building dimensions in meters. The calculator converts to feet internally for standard roofing calculations, then displays results in both square meters and squares (100 sq ft). All cost inputs remain in your local currency.
Can I export the results?
Yes. After calculating, you can export the cost breakdown to PDF, Excel, or CSV. This is useful for sharing with roofing contractors, comparing bids, or keeping records for your renovation budget.

Discover More Tools

Fresh picks from across our tool library.