Home › Roofing › Roof Flashing Calculator
Roof Flashing Calculator
IRC R905.2.8, quoted, including the drip edge nobody reads
A valley is longer than its run twice over. Diagonal in plan, then up a slope, so a fourteen foot run is twenty-two feet of valley, and both multiplications get skipped.
Flashing takeoff
Every dimension here is quoted from IRC R905.2.8 as printed in the 2018 Seattle Residential Code. Pipe boots are sent to the manufacturer by R905.2.8.4, so there is no code dimension for one.
Specification summary
Generated from on . Reopen that address to reproduce these figures exactly.
Entered
Result
Prices for roof coverings and tear-off
Worked example
- Each valley is 22.1 ft, not 14. Fourteen feet of run becomes 19.8 in plan because the valley runs diagonally across the corner, then 22.1 once the slope factor applies. That is 58% more than the number on the plan.
- Open valleys need 24 in of lining, per R905.2.8.2, so two valleys is 88.5 square feet of metal.
- Drip edge goes at eaves AND rakes. R905.2.8.5 says both, and the rakes are the sloping edges: 67.1 ft of rake against 84 of eave, so skipping them halves the order.
- Sixteen ten-foot pieces, and every joint laps 2 in, which is 2.7 ft of drip edge that ends up overlapped. Fasteners at 12 in on centre is 152 of them.
- Thirty-three step flashings, one per shingle course up 13.4 ft of sloped sidewall, each at least 4 by 4 in.
The formula
- run
- one leg of the corner, in plan, which is what gets measured
- √2
- the diagonal across that corner, still in plan
- slope factor
- and then up the roof, which nobody applies to a valley
Five subsections, and four of them carry a number
The valley arithmetic, and why it is missed twice
Flashing is cheap and it is where roofs leak
Frequently asked questions
- How do you calculate valley length?
- Run times root two, then times the slope factor. The root two is the diagonal across the corner in plan; the slope factor is the climb. A 14 ft run at 6:12 is 19.8 ft in plan and 22.1 ft of actual valley, which is 58% more than the run.
- How wide does valley flashing need to be?
- Not less than 24 inches for an open valley with metal lining, per IRC R905.2.8.2. That figure is specifically for open valleys, where the lining is exposed. Closed valleys are a different detail and the width does not carry over.
- Does the code require drip edge?
- Yes, at eaves and rake edges both, per R905.2.8.5. The same sentence sets four more dimensions: joints lapped not less than 2 in, extending at least 1/4 in below the sheathing and 2 in back up the deck, and fastened at not more than 12 in on centre. The rake half is the part most often skipped.
- What size is step flashing?
- Not less than 4 inches high and 4 inches wide, per R905.2.8.3. One piece per shingle course, so a 13.4 ft sloped sidewall at 5 in exposure takes 33 of them. The same section also requires the vertical leg to run continuous under the siding.
- Can I install flashing after the siding?
- Not correctly. R905.2.8.3 says the vertical leg of the flashing shall be continuous under the siding where siding is provided. Fitted afterwards it sits on top of the siding, which turns it into a channel pointing at the wall, and sealant does not change that.
- How thick does flashing metal need to be?
- Not less than 0.019 inch nominal, corrosion resistant, for both base and cap flashing per R905.2.8.1. Base flashing may alternatively be mineral-surfaced roll roofing weighing not less than 77 lb per 100 square feet.
- What about pipe boots and chimney flashing dimensions?
- The code does not give any. R905.2.8.4 sends front wall, soil stack, vent pipe and chimney flashing to the shingle manufacturer's printed instructions, so there is no dimension to quote and this page does not invent one.
Check these numbers yourself
- 2018 Seattle Residential Code, Chapter 9 Roof AssembliesSeattle Department of Construction and Inspections. Read 2026-09-08. Source of R905.2.8.1 through R905.2.8.5: base and cap flashing, valley linings, sidewall flashing and drip edge.
How every figure here is verified: Sources & Method. Who builds this: About. Found something wrong? Tell us and it gets fixed or removed.
Figures on this page last checked against the source documents on 2026-09-09. Codes are amended locally; confirm against the edition your jurisdiction enforces.
Related calculators
- Roofing Calculator squares, bundles and R905
- Roof Underlayment Calculator what goes under it
- Gutter Calculator where the water goes
- Roof Pitch Calculator the slope factor itself
- Metal Roof Calculator every R905 slope minimum
- Flat Roof Calculator Every low-slope minimum in R905
- Roof Replacement Cost Calculator Areas from the slope factor
- Roof Tile Calculator R905.3.2 and R905.3.6
- Roof Ventilation Calculator IRC R806.2, both conditions and the band
Pipe boots and chimney flashing have no code dimensions. R905.2.8.4 sends them to the shingle manufacturer's printed instructions and this page will not invent figures for them. Everything else quoted here is a minimum from R905.2.8, not a recommendation, and the sequence of assembly matters more than any of the dimensions: step flashing goes in course by course with its vertical leg under the siding.