Blog · Materials and fixtures

Bathroom Exhaust Fan: Code Rules, CFM Sizing, Noise and Cost

What the IRC says about bathroom exhaust, how to size a fan in CFM, what sones mean, ducting to the outside, ENERGY STAR criteria and dated installation costs.

A bathroom exhaust fan pulls warm, moist air out of the room and sends it outdoors, so steam from a shower clears faster and less moisture settles on walls, mirrors and the ceiling. Under the International Residential Code, a bathroom needs either an openable window or an exhaust system, and a fan must be able to move at least 50 cubic feet per minute (cfm) when it runs on demand, or 20 cfm if it runs continuously, with the air sent directly outdoors 12.

For most bathrooms, the Home Ventilating Institute suggests about 1 cfm per square foot of floor area, with 50 cfm as the minimum for small rooms 5. Installed costs depend mostly on whether a fan and duct already exist: HomeGuide reports $150 to $550 to replace an existing fan and $250 to $950 for a new installation vented through a wall or roof (written September 14, 2023) 7. The sections below cover the code, sizing, noise, ducting and price in turn.

What the IRC says about bathroom ventilation

The International Residential Code (IRC), published by the International Code Council, is the model code most US cities and counties adopt for houses, often with local changes. The 2021 edition sets out bathroom ventilation in two places.

Section R303.3 (Bathrooms). A bathroom must have at least 3 square feet of window glazing, half of it openable. The exception: the window is not required where the room has artificial light and a local exhaust system, the minimum exhaust rates come from Section M1505, and the exhaust air goes directly to the outdoors 1.

Section M1505 (Mechanical ventilation). Table M1505.4.4 sets the minimum local exhaust rate for bathrooms and toilet rooms at a mechanical exhaust capacity of 50 cfm intermittent or 20 cfm continuous 2. A note to the table says the fan's listed rate must meet that figure at a static pressure of 0.25 inch water column, which is a stand-in for the resistance a real duct adds 2. Section M1505.2 says bathroom exhaust may not be recirculated inside the home and may not discharge into an attic, crawl space or other area inside the building 2. Section M1505.3 requires exhaust fans to be listed and labeled for their airflow under the ANSI/AMCA 210-ANSI/ASHRAE 51 test standard 2.

Section M1501.1 and M1504. All mechanical exhaust must be discharged outdoors, and not into an attic, soffit, ridge vent or crawl space 2. Section M1504.3 says exhaust openings must end at least 3 feet from property lines and from operable windows, doors and gravity air intakes, and at least 10 feet from mechanical air intakes unless the exhaust is at least 3 feet above them 2.

Your city or county may have adopted a different edition or local amendments, and some require a permit for new wiring or a new roof or wall opening. Our article on whether you need a permit to remodel a bathroom covers how to check.

How to size a fan (CFM)

CFM is the volume of air a fan moves each minute. The code number above is a floor, not a target. The Home Ventilating Institute (HVI), a ventilation industry group, gives this sizing guidance 5:

Bathroom sizeHVI guidance
50 square feet or smaller50 cfm minimum
50 to 100 square feet1 cfm per square foot of floor
Over 100 square feetAdd up the fixtures (below)
Toilet, shower or bathtub50 cfm each
Jetted tub100 cfm

So an 8 by 10 foot bathroom (80 square feet) would call for about 80 cfm, and a large primary bathroom with a toilet, a separate shower and a tub would call for about 150 cfm under the fixture method 5. HVI calls these minimums, says higher rates are acceptable, and notes that bathrooms with ceilings over 8 feet may need more ventilation 5. It also suggests a separate fan for an enclosed toilet room and placing a fan rated for wet areas over or near the shower or tub where possible 5.

Two practical points. First, the rated cfm assumes a reasonable duct; a long or crushed duct moves less air than the box says. Second, air has to get into the room to be pulled out: HVI recommends at least 3/4 inch of clearance under the bathroom door for makeup air 5.

Noise: what sones mean

Fan loudness is rated in sones. Lower is quieter. HVI puts 1.0 sone at about the level of a refrigerator, 3.0 at typical office noise and 4.0 at a standard television, and says a fan rated at 1.0 sone or less gives quiet bathroom ventilation 5. HomeGuide groups fans below 1.5 sones as quiet, 1.5 to 3.0 as moderate and above 3.0 as loud, and notes that quieter fans cost more and that straight, smooth ductwork keeps noise down (written September 14, 2023) 7.

Noise matters more than it seems: a loud fan tends to get switched off early, before the moisture is gone. A timer or humidistat, which HVI lists as optional features, runs the fan without anyone having to remember 5.

ENERGY STAR criteria for ventilation fans

ENERGY STAR, the EPA's efficiency label, has its own criteria for bathroom and utility room fans. The main ones 3:

Fan airflowMinimum efficacy (cfm per watt)Maximum sound
10 to 89 cfm2.82.0 sones
90 to 200 cfm3.52.0 sones
201 to 500 cfm (max)4.03.0 sones

A labeled fan must also deliver at least 70% of its airflow when tested at 0.25 inch of static pressure compared with the lower test pressure, which favors fans that hold their airflow in a real duct 3. Fans with more than one speed must meet the criteria at each required speed, and the minimum warranty is one year 3. ENERGY STAR says labeled ventilation fans use about 48% less energy than standard models, and that models with lighting use 70% less energy on average 4.

Ducting to the outside

The duct is where many fan installations fall short. The code points, cited to the IRC above, are that the air must end up outdoors and not in the attic, soffit or crawl space 2. Beyond that:

  • Duct size and length. IRC Table M1504.2 limits duct length by fan rating and duct size. For an 80 cfm fan, a 4-inch flex duct may run only 4 feet, while a 4-inch smooth-wall duct may run 31 feet; a 5-inch flex duct may run 81 feet. The table deducts 15 feet of allowed length for each elbow. Longer runs are allowed where the system follows the maker's design criteria or the installed airflow is measured 2.
  • Wall or roof. The duct can end at a wall cap or a roof cap. HomeGuide says roof venting is more prone to leaks than sidewall venting and suggests avoiding it where possible (written September 14, 2023) 7.
  • Smooth and short. Fixr notes that a smooth pipe or sheet metal duct keeps fan noise down (updated February 7, 2025) 6.

In practice, ask the installer what duct size, type and length they plan, where it will end, and whether the exterior cap has a damper so outside air does not blow back in.

What a bathroom exhaust fan costs

Prices vary most with whether there is an existing fan and duct to reuse. Three cost sources, each with its own date and method:

Source (date)JobFigure
HomeGuide (September 14, 2023)Replace an existing fan$150 to $550 7
HomeGuide (September 14, 2023)New fan vented through wall or roof$250 to $950 7
Fixr (February 7, 2025)New installation where none exists$400 average; $250 to $900 6
Fixr (February 7, 2025)Replacement$200 average; $150 to $500 6
Thumbtack (June 5, 2026)Bathroom fan installation, nationalTypically $183 to $444 8

HomeGuide bases its national average of $360 on 220 project costs reported by its members, with a minimum of $100 and a maximum of $1,000 7. It puts the fan alone at $20 to $400 before labor, and venting through the wall at $250 to $800 for a new installation 7. Fixr gathers its figures from pricing databases, contractors and industry experts 6. Thumbtack says its figures are national average estimates from data provided by professionals on its platform plus additional research, and that a simple replacement may fall at the lower end while a new installation with ductwork and wiring can cost closer to the high end 8.

The drivers are the same in every source: new wiring or a new switch, cutting a new wall or roof opening, the duct run, attic access, and extra features such as a light, heater or humidity sensor. A fan is often one line in a larger project; see the bathroom remodel cost guide for the full picture, and the small bathroom remodel guide if the room is tight. When you are ready, you can compare bathroom remodeling quotes from companies in your area.

About these figures

  • 1 Official record: 2021 IRC Section R303.3 (window glazing of 3 square feet, the exhaust exception, exhaust directly outdoors); International Code Council, 2021 edition, checked November 28, 2026.
  • 2 Official record: 2021 IRC Chapter 15, Table M1505.4.4 (50 cfm intermittent or 20 cfm continuous at 0.25 inch water column), Sections M1501.1, M1504.3, M1505.2 and M1505.3, and Table M1504.2 duct lengths; International Code Council, 2021 edition, checked November 28, 2026.
  • 3 Official record: ENERGY STAR key product criteria for ventilation fans (efficacy, sones, 70% airflow at 0.25 inch, one-year warranty); no date shown, checked November 28, 2026.
  • 4 Official record: ENERGY STAR statement that labeled fans use about 48% less energy, and 70% less for models with lighting; no date shown, checked November 28, 2026.
  • 5 Directional: Home Ventilating Institute sizing guidance (1 cfm per square foot, 50 cfm minimum, fixture method), sones guidance, door clearance and placement; no date shown, checked November 28, 2026.
  • 6 Reported: Fixr installation and replacement figures ($400 average, $250 to $900; $200 average, $150 to $500), method stated as pricing databases, contractors and industry experts; updated February 7, 2025, checked November 28, 2026.
  • 7 Reported: HomeGuide replacement ($150 to $550), new installation ($250 to $950), average of $360 from 220 member-reported projects ($100 to $1,000), fan prices, sones groups, wall venting ($250 to $800) and roof venting note; written September 14, 2023, checked November 28, 2026.
  • 8 Reported: Thumbtack national range ($183 to $444) from data provided by professionals on its platform and additional research; updated June 5, 2026, checked November 28, 2026.

Sources

  1. Chapter 3 Building Planning, 2021 International Residential Code, International Code Council (Official record). Checked November 27, 2026.
  2. Chapter 15 Exhaust Systems, 2021 International Residential Code, International Code Council (Official record). Checked November 27, 2026.
  3. Ventilation Fans Key Product Criteria, ENERGY STAR (U.S. Environmental Protection Agency) (Official record). Checked November 27, 2026.
  4. Ventilation Fans, ENERGY STAR (U.S. Environmental Protection Agency) (Official record). Checked November 27, 2026.
  5. Bathroom Exhaust Fans, Home Ventilating Institute (Other). Checked November 27, 2026.
  6. How Much Does It Cost to Install a Bathroom Exhaust Fan?, Fixr (Other). Checked November 27, 2026.
  7. How much does it cost to install a bathroom fan?, HomeGuide (Other). Checked November 27, 2026.
  8. How much does it cost to install a bathroom fan?, Thumbtack (Other). Checked November 27, 2026.