The 35-Foot Rule, Explained
Every dryer vent question eventually lands on the same number: 35 feet. That is the maximum developed duct length the International Residential Code (section M1502) allows between your dryer and the exterior termination. It sounds generous until you realize a "developed length" is not the tape-measure distance along the wall — it is the straight run plus a penalty for every bend, because bends choke airflow far more than straight duct does. A run that measures 22 feet on a tape can easily be a 32-foot code run once the elbows are counted, and that is before anyone accounts for flexible duct.
Why does the code care so much? A dryer moves a surprising volume of hot, wet air — roughly 150 to 200 cubic feet per minute. If the duct resists that flow, three bad things happen at once: clothes take forever to dry, the heating element or gas burner cycles far more than it should, and lint drops out of the airstream and coats the inside of the duct. Lint plus heat is the part that should concentrate the mind — the U.S. Fire Administration attributes thousands of residential fires a year to dryers, and restricted vents are the classic accelerant. The 35-foot rule is not bureaucracy; it is the line between a duct that self-cleans with airflow and one that slowly packs itself with fuel.
Equivalent Length: The Only Math That Matters
Equivalent length converts every bend into the feet of straight duct that would resist airflow equally. The code's conversion table is short enough to memorize: each 90-degree elbow counts as 5 feet, each 45-degree elbow counts as 2.5 feet. Add those penalties to the straight length and you have the number the inspector checks. A 20-foot straight run with two 90-degree elbows is a 30-foot equivalent run (20 + 5 + 5) — compliant, with 5 feet to spare. The same 20 feet with four 90s is a 40-foot run — over the limit, even though the tape measure never moved.
One detail people miss: the short flexible transition duct connecting the dryer to the wall is not counted in the 35 feet, provided it is a single length, not concealed, and installed per the dryer manufacturer's instructions. Everything concealed inside walls, floors, or ceilings counts, and it must be smooth rigid metal — more on that below.
Why Elbows Cost So Much
Air does not like turning corners. In a straight duct, the fastest air rides the center and a thin slow layer hugs the walls. Force that flow around a 90-degree bend and the airstream separates from the inner wall, creating a swirling eddy that eats energy and dumps lint exactly where the duct turns. A sharp stamped elbow is the worst offender; a smooth long-sweep elbow with a generous radius performs measurably better, though the code still counts it as a full 5 feet. When you are redesigning a run, the highest-value move is almost always removing an elbow rather than shortening straight duct — each eliminated 90 buys back 5 feet of budget, equivalent to deleting 5 feet of pipe.
Two 45-degree elbows in place of one 90 is the classic compromise: the pair costs the same 5 feet on paper but flows a little easier in practice, and it lets you jog around an obstacle without the hard turn. Offsets made from two 45s are the professional's default wherever space allows.
Rigid vs. Flexible: The 1.5× Penalty
Here is where most DIY vent jobs quietly fail. That shiny flexible foil duct feels convenient, but its spiral ridges trip the airflow along every inch, it crushes to half its diameter if you look at it wrong, and every ridge is a lint shelf. Code flatly prohibits flexible duct for concealed runs — concealed duct must be minimum 4-inch smooth rigid metal with a smooth interior. Flexible duct is allowed only for the exposed transition behind the dryer.
This calculator derates flexible duct by 1.5× to reflect the real-world friction penalty: a 20-foot flexible run behaves like 30 feet of rigid. Treat any concealed flexible duct as a defect to be replaced, not a number to be optimized. While you are at it, throw away the white vinyl accordion duct entirely — it is a fire hazard and has no place in any home.
Measuring Your Run Like an Inspector
Start at the dryer's exhaust outlet and trace the duct's centerline to the exterior termination cap. Measure straight sections with a tape; count every bend and note its angle. Do not forget the vertical portions — a run that goes up through the ceiling, across the attic, and out the roof has the same budget as any other run, and roof terminations add their own detailing (a proper roof cap with damper, sealed against weather, never a plain open pipe).
Also measure what is inside the duct. If the home has a history of slow drying, shine a light in from the termination end or run a vacuum with a brush attachment through it. A duct half-choked with lint has an effective length far worse than its geometry suggests, and no calculator can see that — cleaning is the prerequisite to trusting any number.
The Rest of Code M1502 (The Parts People Fail)
Length is only one clause. The duct must be at least 4 inches in diameter, with a smooth interior — no screws or rivets protruding inside, because each one snags lint. Join sections with foil tape or draw-band metal clamps, never cloth duct tape, which dries out and fails. Support the duct so it does not sag between joists; sags become lint traps. The duct must terminate outside the building — never into an attic, crawlspace, soffit, or garage — at least 3 feet from any opening into the building, with a backdraft damper that closes when the dryer stops. Screens at the termination are restricted: anything finer than the code allows will clog with lint in a season.
And the termination needs clearance from the ground and from obstructions so exhaust — and the considerable moisture it carries — dissipates instead of soaking your siding or freezing into an ice dam on the cap in winter.
When the Run Is Too Long: Fixes That Work
If the calculator stamps your run OVER LIMIT, work through the fixes in this order. First, replace any flexible duct with rigid — this alone can claw back a third of the equivalent length. Second, eliminate elbows: reroute to cut a bend, combine two 45s into a gentler offset, or move the dryer to an exterior wall so the run becomes a short straight shot out. Third, consider a dryer booster fan — a code-listed inline ventilator wired to run with the dryer — which the IRC explicitly allows as the path to exceed 35 feet when shortening is impractical. Size it per the manufacturer's duct-length tables and confirm your local authority having jurisdiction accepts it; most do, but the fan needs a service switch and periodic cleaning like any mechanical device.
What not to do: do not upsize to a bigger dryer hoping it "pushes harder," do not vent into the attic "temporarily," and do not assume a periscope or recessed vent box changes the math — those fittings have their own small equivalent lengths, usually 5 feet or less, which still count.
Booster Fans: The Legal Way Past 35 Feet
A booster fan is a small inline blower, typically mounted mid-run in an accessible location, with a pressure switch or current sensor that starts it whenever the dryer runs. Good units add the equivalent of 30 to 60 feet of effective push, and they are specifically named in the code commentary as the remedy for long runs. Installation rules matter: mount it where you can reach it for cleaning, wire it so it cannot run without the dryer, and keep the duct clean — a booster fan in a lint-choked duct just pressurizes the blockage. Budget a few hundred dollars installed, and verify the model is listed for dryer exhaust specifically, not just general inline ventilation.
Maintenance: The Other Half of Vent Safety
Even a code-perfect run degrades. Clean the lint screen every load — a clogged screen is effectively extra duct length. Once a year, disconnect the transition duct and vacuum the run, or hire a duct cleaner with a rotary brush for long runs; check the exterior cap for a stuck damper or bird nest each spring. If drying times creep up over months with no other change, the vent is the first suspect, not the dryer. And if your run is at 33 or 34 equivalent feet — technically compliant — treat cleaning as non-negotiable, because you have no margin left for lint buildup.
Renters, Condos, and Shared Ducts
Apartment and condo dryers often share exhaust risers or run through common chases you cannot modify. If your unit dries slowly and the building's duct is a mystery, the calculator still helps: estimate the run from your dryer to the building exterior and bring the number to management. Independent duct cleaning services can scope shared runs with a camera, and many HOAs schedule it building-wide once the fire math is explained. Never modify a shared duct yourself — but do document the problem in writing.
Putting It All Together
The workflow is simple: measure the straight run, count the elbows honestly, note the duct type, and read the verdict. If it passes with margin, keep it clean and forget about it. If it passes by a foot or two, schedule annual cleaning and watch drying times. If it fails, the fixes are ranked above — rigid over flex, fewer elbows, shorter path, booster fan as the sanctioned last resort. Run the numbers above before you buy a single fitting; a compliant vent is one of the cheapest fire-safety upgrades a home can get.