Roof Flashing & Drip Edge Calculator

Count the drip edge, step and counter flashing and valley metal for a roof, run by run with the 2 in code lap, a step flashing for every course, kickouts and the IRC width checks for valleys.

Updated Method, test cases and sources on this page

Roof flashing and drip edge calculator

Eave and rake runs, each started with a full piece and lapped 2 in at every joint.

ft

All eave edges together: from the roof area calculator.

runs

Separate straight edges: each starts with a full piece.

ft

All rake edges together, measured along the slope.

runs

ft

in

The IRC requires at least 2 in (50 mm) where pieces join.

Your flashing order

Drip edge pieces to order

— pieces

Enter your roof edges to see the flashing to order.

Your roof flashingDrip edge along the eaves and rakes, step and counterflashing where the roof meets a chimney, or valley metal down a valley, with the piece counts.
Your flashing is drawn here as you type.
Eave pieces
—
Rake pieces
—
Length of metal
—
Kickouts
—
Counterflashing pieces
—
Apron pieces
—
Valley metal
—
Width check
—

WaitingYour pieces, by edge, will appear here.

Show the math with your numbers
  1. Enter your roof edges to see the flashing to order.

Assumptions: each run starts with a full piece; valley pieces lap downhill; step flashing exposure matches the shingle courses; counterflashing is let into masonry or covered by siding. Profiles and piece lengths follow common products.

How the flashing calculator works

Flashing is ordered in pieces, and every separate edge starts with a full piece. Adding all the edges together and dividing by the piece length undercounts, because the offcut at the end of one run cannot be carried round a corner to the next. The calculator counts each run separately with the 2 in code lap built in, counts step flashings course by course, and lays valley metal in lapped pieces or coil.

Pieces per run = ⌈ run ÷ (piece − lap) ⌉

Step flashings per run = ⌈ run × 12 ÷ exposure ⌉ + 1

Valley pieces = ⌈ valley ÷ (piece − lap) ⌉ per valley

The eave and rake lengths come from the roof area calculator, and its result can be imported.

Worked example: drip edge on a gable house

  1. Inputs82 ft of eaves in 2 runs, 72.11 ft of rakes in 4 runs, 10 ft pieces lapped 2 in.
  2. Net per piece10 − 2 ÷ 12 = 9.83 ft.
  3. EavesEach 41 ft run: 41 ÷ 9.83 = 4.17, rounded up to 5; two runs = 10 pieces.
  4. RakesEach 18.03 ft run: 1.83, rounded up to 2; four runs = 8 pieces.
  5. Order18 pieces of drip edge.

On a hip roof with eaves of 52, 52, 32 and 32 ft, per-run rounding gives 6 + 6 + 4 + 4 = 20 pieces, three more than the 168 ft total ÷ 10 suggests.

Is drip edge required on rakes and eaves?

Yes, on asphalt shingle roofs under the IRC (Section R905.2.8.5): drip edge goes along the eaves and the rakes, laps at least 2 in where pieces join, extends at least 1/4 in below the sheathing and at least 2 in back onto the roof deck, and is fastened at no more than 12 in on centre.

Which goes first, drip edge or underlayment?

At the eaves, drip edge goes first and the underlayment laps over it, so water running down the felt lands on the metal and drips clear. At the rakes it is the other way round: underlayment first, drip edge over it, so wind-driven rain cannot get behind the felt at the edge. Ice and water shield at the eave goes over the drip edge too; see the underlayment calculator.

Drip edge styles C, D and F

Drip edge profiles and where they go
ProfileShapeTypical use
Style C / Lplain angle, sometimes with a small kickrakes, and eaves without gutters on low-budget work
Style D / Tangle with a bent drip leg that holds water off the fasciaeaves and rakes on most shingle roofs
Style F (gutter apron)longer face that reaches into the guttereaves with gutters

The profile does not change the piece count. Style D holds water off the fascia best; style F reaches into the gutter.

How many step flashings per wall

One step flashing goes in with every shingle course along a sloped wall or chimney side, each piece lapping the one below like a shingle, plus one at the end. At a 5⅝ in exposure that is about 2.1 per foot: a 14 ft wall takes 31, a 3 ft chimney side 8. The IRC requires step flashing at least 4 × 4 in where a sloped roof meets a wall. Measure each run along the slope.

What a kickout flashing is

Where a sidewall ends above an eave or gutter, water running down the step flashing would pour behind the gutter and into the wall. A kickout (diverter) flashing at the bottom of the run turns it out into the gutter. The IRC requires one where a roof eave meets a wall; count one at each such spot.

Chimney flashing pieces explained

A chimney is flashed in parts: an apron across the downhill face, wrapped about 6 in round each side; step flashings up both sides; a back pan or cricket on the uphill side (a cricket for chimneys wider than 30 in: see the chimney cricket calculator); and counterflashing let into the mortar joints over all of it. The calculator counts the steps, the apron and the counterflashing pieces.

Open vs closed valleys

An open valley shows its metal lining, which the IRC requires to be at least 24 in wide; a W-valley has a raised centre rib that stops water from one side surging up the other. A closed valley (woven or closed-cut) is shingled across with no metal, over a lining at least 36 in wide. Valley metal is laid from the bottom up, each piece lapping the one below by about 6 in.

Metric units, the UK and Australia

Switch to m · mm for runs in metres and laps in millimetres; 2.4 and 3.0 m pieces are common. In the UK step flashings are called soakers and are usually lead, sized by lead code: not modelled here. In Australia follow the manufacturer's flashing guidance and the relevant AS standards.

What this calculator does not count

Frequently asked questions

How much drip edge do I need?

Count each eave and rake run separately: run ÷ (piece − 2 in lap), rounded up, then add the runs. A 40 ft gable house with 18 ft rakes needs about 18 ten-foot pieces.

How much should drip edge overlap?

At least 2 in where pieces join, under IRC R905.2.8.5.

Is drip edge required by code?

Yes, at the eaves and rakes of asphalt shingle roofs under the IRC.

How many step flashings do I need?

One per shingle course along each sloped wall, plus one: about 2.1 per foot at a 5⅝ in exposure.

How wide should valley flashing be?

At least 24 in for an open metal valley; a closed valley needs a 36 in wide lining and no metal.

Does drip edge go over or under the underlayment?

Under it at the eaves and over it at the rakes.

About this calculator

Roof Calcly builds every calculator from a written method, tests it against worked cases before it goes live, and shows the formula, assumptions and sources on the page, so you can check any number yourself.

Published · last reviewed ·
How it is checkedSeven worked test cases covering drip edge on a gable and run by run on a hip roof, step and counterflashing at a chimney and sidewall, valleys in pieces and coil, metric pieces and a too-short lap run through the live calculator before each update. All match the expected counts.
Method and sourcesPieces per run = run ÷ (piece − lap), rounded up and added run by run; step flashings = run × 12 ÷ exposure, rounded up, + 1; apron = (width + 12 in) ÷ 120 in, rounded up; coil = total ÷ 50 ft, rounded up.
CorrectionsSpotted an error or an edge case we miss? Tell us. Confirmed errors are fixed and noted in the update history.
PublisherRoof Calcly, a project by Orionix Systems Inc, 9655 S Dixie Hwy, Suite 312, Miami, FL 33156.

Update history

  • Published with Drip edge, Step & counter flashing and Valley flashing modes.

Sources

  1. International Code Council, International Residential Code (IRC), Chapter 9, Roof Assemblies. Section R905.2.8.5, drip edge: required at eaves and rakes of shingle roofs, 2 in laps, 1/4 in below the sheathing, 2 in onto the deck, fastened at 12 in or less, underlayment over it at the eaves and under it at the rakes.
  2. International Code Council, International Residential Code (IRC), Chapter 9, Roof Assemblies. Section R905.2.8.2, valleys: open metal valley lining at least 24 in wide, closed valley lining at least 36 in wide; R905.2.8.3, sidewall step flashing; R903.2.1, kickout flashing.
  3. Shingle manufacturers' installation instructions. One step flashing per course and chimney flashing sequence.