Quick Answer
The International Residential Code (IRC) requires bathroom exhaust fans to vent directly to the outside of the building — never into the attic, crawlspace, or wall cavity. The standard sizing rule is 1 CFM per square foot of bathroom floor area (so a 60 sq ft bathroom needs a 60 CFM fan), or 50 CFM minimum for any bathroom up to 100 sq ft per the Home Ventilating Institute (HVI). Professional installation typically costs $150 to $500 including the fan, with complex duct runs pushing costs toward $700+.

Bathroom Fan CFM Sizing Guide
CFM (cubic feet per minute) measures how much air a fan moves. Undersizing a fan means it won’t clear moisture effectively, which leads to mold, peeling paint, and structural damage over time. Oversizing slightly is fine — but a dramatically oversized fan in a tiny bathroom can cause drafts and noise issues.
The 1 CFM Per Square Foot Rule
The most widely used sizing method is simple: measure your bathroom’s floor area in square feet, and select a fan with at least that many CFM. A bathroom that is 8 feet by 10 feet equals 80 square feet, so you need an 80 CFM fan (round up to the next available size, typically 90 CFM).
CFM Sizing Table by Bathroom Size
| Bathroom Size | Floor Area | Minimum CFM | Recommended Fan Size |
|---|---|---|---|
| 5 × 8 ft (powder room) | 40 sq ft | 50 CFM | 50–60 CFM |
| 6 × 10 ft | 60 sq ft | 60 CFM | 70–80 CFM |
| 8 × 10 ft | 80 sq ft | 80 CFM | 90–100 CFM |
| 10 × 10 ft | 100 sq ft | 100 CFM | 110–120 CFM |
| 10 × 12 ft | 120 sq ft | 120 CFM | 130–150 CFM |
| 12 × 14 ft (master bath) | 168 sq ft | 168 CFM | 170–200 CFM |
The 8-Air-Changes Rule for Tall Ceilings
If your bathroom has a ceiling higher than 8 feet, the simple floor-area rule understates the room’s volume. For these cases, use the 8 air changes per hour (ACH) method:
Required CFM = (Length × Width × Height × 8) ÷ 60
Example: A 10 × 12 ft bathroom with a 10 ft ceiling = 10 × 12 × 10 = 1,200 cubic feet. Multiply by 8 ACH = 9,600, divide by 60 = 160 CFM minimum — versus only 120 CFM under the floor-area rule.
Sizing for Toilets, Showers, and Tubs
The HVI recommends additional CFM for each fixture: add 50 CFM for each toilet, 50 CFM for each shower, and 50 CFM for each bathtub. A master bathroom with a toilet, separate shower, and tub should have at least 150 CFM from fixtures alone, plus the floor-area baseline — whichever is larger.
Noise Matters: The Sones Rating
Sones measure fan noise. A 1.0-sone fan is whisper-quiet; 4.0 sones is loud. For the best experience, choose a fan rated at 1.5 sones or lower. Quiet fans (0.3–1.0 sones) cost more but are worth every dollar — a noisy fan is a fan nobody turns on, which defeats its entire purpose.
Venting Code Requirements (IRC)
Bathroom exhaust ventilation isn’t optional — it’s required by building code in virtually every US jurisdiction. Here’s what the code says.
IRC Section M1507: Mechanical Ventilation
The International Residential Code, Section M1507 requires mechanical ventilation in bathrooms that don’t have an operable window of sufficient size. Specifically, IRC M1507.3 requires exhaust air to be discharged directly to the outdoors. Exhaust air may not be recirculated or discharged into the attic, soffit, ridge vent, crawlspace, or any other interior building space.
Key Code Rules You Must Follow
- Vent to the outside: The duct must terminate outdoors — through the roof, a gable wall, or a side wall. Venting into the attic is the single most common code violation and causes serious moisture damage.
- Insulated duct in unconditioned spaces: Ductwork running through an unconditioned attic must be insulated (typically R-6 or better) to prevent condensation inside the duct.
- Smooth-wall duct preferred: Code and best practice favor rigid metal or smooth-wall duct. Flexible duct creates more resistance and is harder to insulate properly.
- Minimum duct size: Most 50–80 CFM fans require a minimum 4-inch duct; 100+ CFM fans typically need 6-inch duct. Check your fan’s installation manual.
- Backdraft damper: The termination cap must include a backdraft damper (or the fan must have one built in) to prevent cold air from entering when the fan is off.
- Exhaust rate: Code requires a minimum of 50 CFM intermittent or 20 CFM continuous ventilation per IRC M1507.3.1 — but the HVI’s 1-CFM-per-square-foot rule is the practical standard.
Why Venting Into the Attic Fails
Venting a bathroom fan into the attic pumps warm, moist air directly onto cold roof sheathing. The moisture condenses, soaking the wood. Over months and years, this causes mold growth, wood rot, and roof sheathing delamination. Home inspectors flag this routinely, and it’s a common reason deals fall through during home sales. If your fan currently vents into the attic, extending the duct through the roof or a gable wall is one of the highest-value fixes you can make.
Permit Requirements
Most jurisdictions require a mechanical or electrical permit for new fan installation or when adding new ductwork through the roof. Simple fan-for-fan replacements in the same location often don’t need a permit, but always check with your local building department — requirements vary by city and county. Permit fees typically run $50 to $150.
Installation Cost Breakdown (2026)
Bathroom fan installation costs depend on whether you’re replacing an existing fan or installing one from scratch, the fan’s features, and the complexity of the duct run.
Fan Unit Costs
| Fan Type | CFM Range | Price Range (2026) |
|---|---|---|
| Basic builder-grade (noisy, 2.5–4 sones) | 50–80 | $20–$50 |
| Quiet mid-range (1.0–1.5 sones) | 80–110 | $60–$150 |
| Premium ultra-quiet (0.3–1.0 sones) | 110–150 | $150–$300 |
| Fan + light combo | 80–110 | $80–$200 |
| Fan + heater combo | 80–110 | $150–$350 |
| Smart / humidity-sensing fan | 80–130 | $120–$250 |
Labor Costs
| Scenario | Labor Cost | Notes |
|---|---|---|
| Direct replacement (same size, existing duct) | $75–$150 | 1–2 hours, electrician or handyman |
| New install with attic access, short duct run | $200–$350 | 2–4 hours |
| New install, no attic access (cut through ceiling/floor) | $350–$550 | 4–6 hours, may need drywall repair |
| New install + new roof penetration | $400–$700 | Includes roofer for flashing work |
Total Installed Cost Examples
- Basic replacement: $30 fan + $100 labor = ~$130
- Quiet mid-range fan, simple install: $100 fan + $250 labor + $40 duct/insulation = ~$390
- Premium quiet fan, new roof vent: $200 fan + $450 labor + $80 materials + $100 permit = ~$830
- Typical national average: $150–$500 for most straightforward installations
What Drives the Price Up
- No existing ductwork: Running a new duct through the attic and roof adds $150–$300.
- No attic access: Vaulted or flat ceilings require cutting drywall and fishing wire, adding $150–$250.
- Electrical upgrades: If there’s no existing switch leg or the circuit is overloaded, an electrician may charge $150–$300 for new wiring.
- Tile or plaster ceilings: Harder to cut and patch than drywall; adds $50–$150.
- Heater or smart features: May require a dedicated 20-amp circuit, adding $200–$400 in electrical work.
Common Venting Mistakes
1. Venting Into the Attic
The #1 mistake. It feels like the duct “goes somewhere” because the air disappears into the attic — but it’s dumping gallons of moisture onto your roof structure every year. Always terminate outdoors.
2. Using Flexible Duct for Long Runs
Flexible (“flex”) duct is easy to install but creates enormous airflow resistance — a 25-foot flex run can cut effective CFM by 30–50%. Use rigid metal duct for runs over 10 feet, or at minimum keep flex runs short, straight, and fully extended (no sagging).
3. Too Many Elbows and Bends
Each 90-degree elbow adds the equivalent of 10–15 feet of straight duct in airflow resistance. Plan the shortest, straightest route to the exterior. Two elbows maximum is a good rule of thumb.
4. Uninsulated Duct in a Cold Attic
Warm moist air hitting cold duct walls condenses inside the duct, and that water drips back down — sometimes through the fan into the bathroom. Insulate all duct in unconditioned spaces with R-6 or better duct insulation.
5. Undersized Duct
Connecting a 110 CFM fan to a 3-inch duct chokes it. Match duct size to the fan’s requirements — typically 4-inch for up to 100 CFM, 6-inch above that.
6. No Backdraft Damper
Without a damper, cold air pours in through the duct all winter, and the fan becomes a hole in your home’s thermal envelope. Most quality fans include one; verify it’s installed and moves freely.
7. Never Running the Fan Long Enough
Moisture lingers long after the shower ends. Run the fan during the shower and for at least 20–30 minutes after. Better yet, install a humidity-sensing switch or timer ($25–$60) so it runs automatically.
Choosing the Right Fan: Features Worth Paying For
Not all bathroom fans are created equal. Here’s which features justify their price premium in 2026.
Humidity Sensors
A humidity-sensing fan ($120–$250) turns on automatically when moisture rises and shuts off when the air is dry. This is the single most effective upgrade for moisture control because it removes human forgetfulness from the equation. If your household routinely forgets to run the fan, this feature pays for itself in prevented mold remediation.
Motion Sensors and Timers
Timer switches ($25–$60) let you set the fan to run for 10, 20, 30, or 60 minutes after you leave. Motion-sensing fans activate when someone enters. Both are cheaper than humidity sensors and nearly as effective for disciplined households.
ENERGY STAR Certification
ENERGY STAR–certified fans use 50–70% less energy than standard models while meeting strict noise and airflow efficiency requirements. They typically cost only $10–$30 more than non-certified equivalents — an easy win for both your electric bill and the environment.
Fan/Light/Heater Combos
Combination units save ceiling space in small bathrooms. A fan + light ($80–$200) is straightforward. A fan + heater ($150–$350) adds real comfort on cold mornings but usually requires a dedicated 20-amp circuit — factor $200–$400 in electrical work if your bathroom doesn’t already have one.
Frequently Asked Questions
What CFM do I need for a 5×8 bathroom?
A 5×8 bathroom is 40 square feet. The 1-CFM-per-square-foot rule gives 40 CFM, but code and HVI guidance set a 50 CFM minimum for any bathroom. Choose a 50–70 CFM fan rated at 1.5 sones or less.
Can I vent a bathroom fan through the soffit?
It’s allowed in some jurisdictions but not recommended. Soffit vents can allow moist air to be drawn back into the attic through the soffit intake vents, defeating the purpose. A roof cap or gable-wall termination is the better choice. Check your local code — some areas prohibit soffit termination outright.
Do I need a permit to replace a bathroom fan?
A like-for-like replacement (same size, same location, existing duct) usually doesn’t require a permit. New installations, new ductwork, new roof penetrations, or new electrical circuits typically do. When in doubt, call your local building department — permit fees are usually $50–$150.
How long should I run the bathroom fan after a shower?
At least 20–30 minutes after showering. The most reliable approach is a timer switch or humidity sensor ($25–$60) that runs the fan automatically until moisture levels drop. This single upgrade prevents more mold problems than any other.
Can I install a bathroom fan myself?
If you’re replacing an existing fan in the same housing size with existing wiring and ductwork, it’s a manageable DIY project (1–2 hours). If you need new ductwork, a roof penetration, or new electrical wiring, hire a pro — improper venting causes expensive damage, and roof work carries fall and leak risks.
How We Estimated These Costs
Cost ranges in this guide are planning estimates for 2026, compiled from multiple public sources: Home Depot retail pricing for fan units and duct materials, Angi’s national cost data for bathroom fan installation, and contractor rate surveys. Code requirements reference the International Residential Code (IRC) Section M1507 and Home Ventilating Institute (HVI) sizing guidelines. Actual costs vary by region, home layout, and contractor — always get 2–3 written quotes for your specific project. These are planning ranges, not contractor quotes.
