Roof Ventilation and Drainage Calculators

Attic vent area by the code rules, gutter and downspout sizing from your local rainfall, and roof drains and scuppers for low-slope roofs.

3 calculatorsUpdated Formula, test cases and sources on every calculator

Which ventilation or drainage calculator do you need?

A roof has to breathe and it has to shed water. These three calculators size the vents that keep the attic dry and the gutters, downspouts, drains and scuppers that carry rain away, from the code rules and the rainfall at your location.

Questions and the calculator that answers them
Your questionUseYou get
How much attic ventilation do I need?Attic Ventilation CalculatorNet free area by the 1/150 or 1/300 rule, intake and exhaust split, ridge and soffit vent lengths, attic fan CFM
What size gutters and how many downspouts?Gutter CalculatorGutter size from watershed and rainfall intensity, downspouts, hangers and parts
How many roof drains or scuppers for a flat roof?Roof Drain CalculatorDrain and leader size from the IPC tables, flow in gpm, scupper size

Attic ventilation: 1/150 or 1/300

The IRC (Section R806.2) asks for 1 sq ft of net free vent area for every 150 sq ft of attic floor. It allows half that, 1/300, when 40 to 50% of the vent area is exhaust placed high (within 3 ft of the ridge and at least 3 ft above the intake) and, in climate zones 6 to 8, the ceiling has a Class I or II vapor retarder. The balance goes to intake at the eaves, which is why the soffit calculator and this one work together. Net free area is printed on each vent's label, per foot for continuous vents or per piece.

Total net free vent area by attic floor area
Attic floor (sq ft)1/150 (sq in)1/300 (sq in)sq ft at 1/150 / 1/300
1,0009604806.7 / 3.3
1,2001,1525768.0 / 4.0
1,5001,44072010.0 / 5.0
2,0001,92096013.3 / 6.7
2,5002,4001,20016.7 / 8.3

Powered attic fans are sized differently, by airflow: about 0.7 CFM per sq ft of attic floor (Home Ventilating Institute), more for steep or dark roofs, with enough intake to feed them.

Gutters and downspouts from rainfall intensity

Gutters are sized by the roof area that drains into each one, raised for pitch because wind drives rain onto a steep roof, times the design rainfall intensity: the 5-minute, 10-year rate for your location from NOAA Atlas 14. Divide the result among the downspouts and pick a gutter that carries it. A gutter pitched 1/8 in per ft carries about 1.4 times a level one.

Gutter capacity in sq ft of watershed, level gutter
GutterAt 1 in/hrAt 5 in/hrAt 7 in/hr
5 in K-style5,5201,104789
6 in K-style7,9601,5921,137
5 in half-round2,500500357

Most houses take a 5 in K-style gutter; long, steep planes in heavy-rain regions need a 6 in gutter or a second downspout, which halves the load on each run.

Flat roof drains and scuppers

Low-slope roofs drain through interior drains or scuppers sized by the International Plumbing Code (Chapter 11) from the 100-year, 1-hour rainfall rate and the projected roof area, plus half of any wall area that drains onto it. A 10,000 sq ft roof at 3 in/hr needs a 5 in leader on one drain. The IPC also requires secondary (emergency) drainage, so that a blocked primary drain cannot pond the roof: size the overflow drains or scuppers the same way.

Order to work in on a re-roof

  1. MeasureRoof area and plan area by plane: roof area calculator.
  2. VentilateTotal vent area, then the split into ridge or roof vents and eave intake.
  3. Size the eavesSoffit panels and vent strip to deliver the intake: soffit calculator.
  4. DrainGutter size and downspouts for each plane, or drains and scuppers on a flat roof.

What these calculators assume

They apply the prescriptive code rules and published capacity tables. They do not model airflow, condensation or ice dams in a specific attic, or the hydraulics of a particular drainage system. Commercial roof drainage is designed by the project's engineer and plumbing designer under the code your jurisdiction adopts.

Frequently asked questions

How much attic ventilation do I need?

1 sq ft of net free area per 150 sq ft of attic floor, or 1 per 300 when 40 to 50% is high exhaust (and a vapor retarder is installed in climate zones 6 to 8). A 1,200 sq ft attic at 1/300 needs 576 sq in, split between intake and exhaust.

Should intake and exhaust be equal?

At 1/300 the IRC asks for 40 to 50% exhaust, so intake should equal or exceed exhaust; never have more exhaust than intake.

What size gutters do I need?

Watershed area × rainfall intensity, divided by the downspouts. A 5 in K-style carries 5,520 sq ft at 1 in/hr: about 789 sq ft of watershed at 7 in/hr.

How many downspouts do I need?

Enough that each gutter run's share of the watershed fits the gutter, and no more than about 40 ft apart along the run (the larger of the two counts).

How do I size a roof drain?

Projected roof area plus half of any draining wall area, times the 100-year, 1-hour rainfall rate, against the IPC leader table. 30,000 sq ft at 1 in/hr needs a 5 in leader.

Standards and sources

The calculators in this category are built on these published codes, standards and data sets. Each calculator names the exact edition, section or table it uses on its own page.

Code, standard or dataPublished byUsed by
International Residential Code (IRC)International Code CouncilAttic Ventilation
"Sizing Gutter Systems"Fine HomebuildingGutter
Architectural Sheet Metal ManualSMACNAGutter
Attic fan sizing guidanceHome Ventilating InstituteAttic Ventilation
Building America Solution CenterU.S. Department of EnergyAttic Ventilation
International Plumbing Code (IPC)International Code CouncilRoof Drain
NOAA Atlas 14 precipitation frequencyNational Oceanic and Atmospheric AdministrationGutter

Key provisions

  1. International Code Council, International Residential Code (2021), Section R806. Roof ventilation: 1/150 and 1/300 net free area.
  2. U.S. Department of Energy, Building America Solution Center. Attic passive ventilation ratios and placement.
  3. Home Ventilating Institute. Attic fan sizing.
  4. SMACNA, Architectural Sheet Metal Manual; NOAA Atlas 14. Gutter sizing method and rainfall intensity.
  5. International Code Council, International Plumbing Code, Chapter 11, Storm Drainage. Roof drains, leaders, scuppers and secondary drainage.

Other calculator categories