Roof Valley Length Calculator
Calculate the true length of a roof valley from roof width, pitch of each intersecting plane, and valley geometry to determine ice shield and W-metal flashing requirements
Enter roof width and pitch of each intersecting plane to calculate valley length
Quick presets
Total Linear Feet
183 LF
Ridge: 40 LF • gable roof
Professional Calculator
Extended parameters for precise calculations
Estimated Materials
60 bundles
Roof Area
1,792 sq ft
Squares
17.9
Detailed Breakdown
How to Use This Calculator
Dimensions tab: Enter the roof width at the valley — this is the width of the intersecting roof section measured perpendicular to the ridge. Select the pitch of each intersecting plane. For the most common case (equal pitches on both planes), the valley length formula is straightforward: Valley Length = sqrt(2 × run² + rise²). For unequal pitches, the calculator uses the more complex trigonometric solution. An overlap allowance of 2 feet (1 foot at each end) is standard to ensure flashing extends past the mathematical valley endpoints.
Multiple Valleys tab: Enter the total number of valleys on your roof. A simple cross-gable has 2 valleys, while a complex roof with dormers and wings can have 6-12 or more. If all valleys are the same length (equal width and pitch), select "all equal" and the calculator multiplies by your count. For mixed-length valleys, calculate the main valleys using the Dimensions tab and enter additional footage from smaller valleys in the supplemental field.
Materials Needed tab: The calculator converts total valley length into ice and water shield rolls and W-metal flashing footage. For ice shield, select the coverage width (36 inches centered is standard) and roll size (75-foot rolls are most common). For W-metal, each 10-foot section overlaps the next by 6 inches, so net coverage is 9.5 feet per section. The calculator rounds up to whole rolls and sections so you can order accurately.
The Formula
Equal-Pitch Valley Length Run = Roof Width / 2 Rise = Run × (Pitch rise / 12) Valley Length = √(Run² + Run² + Rise²) = √(2 × Run² + Rise²) Example (30 ft wide, 6/12 pitch): Run = 15 ft, Rise = 15 × 6/12 = 7.5 ft Valley = √(225 + 225 + 56.25) = √506.25 = 22.5 ft
Simplified Equal-Pitch Formula Valley Length = Run × √(2 + (pitch/12)²) Example: 15 × √(2 + 0.25) = 15 × √2.25 = 15 × 1.5 = 22.5 ft
Unequal-Pitch Valley Length (Approximate) For pitches P1 and P2 on a width W: Run = W / 2 Rise1 = Run × P1/12 Rise2 = Run × P2/12 Avg Rise = (Rise1 + Rise2) / 2 Valley ≈ √(2 × Run² + Avg Rise²) Note: This is a simplified approximation. Exact unequal-pitch valley geometry requires solving for the intersection of two tilted planes.
Total Valley Length with Overlap Total per valley = Valley Length + Overlap Allowance (ft) Example: 22.5 + 2 = 24.5 ft per valley
Multiple Valleys Total valley footage = (Valley length × Valley count) + Additional valley feet Example: (24.5 × 2) + 0 = 49 ft total
Ice & Water Shield Rolls Rolls needed = ceiling(Total valley footage / Roll length) Example: ceiling(49 / 75) = 1 roll of 75 ft
W-Metal Sections Net coverage per 10 ft section = 10 − 0.5 ft overlap = 9.5 ft Sections = ceiling(Total valley footage / 9.5) Example: ceiling(49 / 9.5) = 6 sections (60 LF purchased) Cost = Sections × 10 ft × $/LF
W-Metal Cost by Material Aluminum: 6 sections × 10 ft × $5/LF = $300 Galvanized: 6 sections × 10 ft × $4/LF = $240 Copper: 6 sections × 10 ft × $20/LF = $1,200
Example Calculation
Lisa has a cross-gable roof where a 30-foot-wide perpendicular wing intersects the main roof. Both roof planes are 6/12 pitch. She needs to know the valley length to order ice and water shield and aluminum W-metal flashing.
Step 1: Valley Geometry
• Roof width at valley: 30 ft
• Run (half width): 15 ft
• Pitch: 6/12 on both planes (equal pitch)
• Rise: 15 × 6/12 = 7.5 ft
Step 2: Valley Length Calculation
• Valley = √(Run² + Run² + Rise²)
• Valley = √(15² + 15² + 7.5²)
• Valley = √(225 + 225 + 56.25)
• Valley = √506.25
• Valley = 22.5 ft per valley
Step 3: Total Valley Length
• 2 valleys × 22.5 ft = 45 ft
• Overlap allowance: 2 ft per valley × 2 = 4 ft
• Total: 45 + 4 = 49 ft of valley to cover
Step 4: Ice & Water Shield
• Coverage: 36" wide centered in each valley (standard)
• Roll size: 75 ft rolls
• Rolls needed: 49 ft / 75 ft = 0.65 → 1 roll
• Remaining 26 ft can be used for eave ice shield
• Cost: 1 roll × $85 = $85
Step 5: W-Metal Flashing
• Aluminum W-metal, 10 ft sections, 6" overlap
• Net per section: 9.5 ft
• Sections: 49 / 9.5 = 5.2 → 6 sections (60 LF purchased)
• Cost: 60 LF × $5/LF = $300
Step 6: Total Valley Material Cost
• Ice & water shield: $85
• W-metal: $300
• Sealant and nails: $25
• Total: $410 for both valleys
Lisa orders 1 roll of ice and water shield (75 ft) and 6 ten-foot sections of aluminum W-metal. The leftover 26 feet of ice shield will cover approximately 8 linear feet of eave protection on the north-facing side of her roof.
Frequently Asked Questions
How do you calculate the length of a roof valley?
How much ice and water shield do I need for a roof valley?
What is the difference between a valley calculator and a valley length calculator?
What happens when two roof planes have different pitches at a valley?
Should I use W-metal valley flashing or a woven/closed-cut valley?
Related Calculators
Valley Calculator
Calculate valley flashing material, method, and installation cost
Roof Area Calculator
Calculate roof surface area from footprint dimensions and pitch
Ice and Water Shield Calculator
Determine ice and water shield rolls for eaves, valleys, and penetrations
Roof Pitch Calculator
Convert pitch to degrees, slope factor, and rise per foot
Roof Flashing Calculator
Calculate flashing for ridges, hips, walls, and penetrations