On this page
Switch on a humidifier in a closed room and the humidity climbs steadily. Open a window and something different happens. The humidity still rises at first, but then it levels off and stays put, even though the humidifier keeps pouring out water vapour. Nothing is broken. The room has reached a steady state: the vapour leaving through the window each minute has grown until it matches the vapour the humidifier adds. Here is where that balance sits and how fast the room gets there, using Class 11 vapour pressure and the ideal-gas law.
Problem idea: FYKOS, Online Physics Brawl 2022, problem 28 "tropical climate" (solution booklet, CC BY-SA 3.0). The steady-state answer below matches the published 44%. The time constant and the comparison of window openings are our own extension.
Why does the humidity stop rising with the window open?
Think of the water vapour in the room as a stock that has one tap and one drain.
In: the humidifier adds a fixed mass of vapour each minute, ṁ.
In: fresh outside air brings in its own vapour.
Out: the air leaving through the window carries away the vapour it holds.
The outflow depends on how humid the room already is. When the room is at the outside humidity, the air going out carries no more vapour than the air coming in, so the humidifier wins and the humidity rises. As the room gets more humid, each cubic metre leaving carries more vapour. Eventually the net loss through the window equals ṁ, and the humidity stops changing.
The same logic sets the level in a tank with an open drain that never fills to the top: the outflow grows with the level until it equals the inflow.
How much water vapour can the air in a room hold?
Relative humidity Φ is the vapour actually in the air divided by the most the air could hold at that temperature. The post on what 80 percent humidity really means explains the ratio in words. Here you need its denominator in grams per cubic metre, the saturation vapour density θ_sat.
At 25 °C, the saturation vapour pressure of water is 3.17 kPa (the NIST Chemistry WebBook lists 3.1699 kPa). Treat the vapour as an ideal gas, pV = (m/M)RT, so the mass per unit volume is:
θ_sat = p_sat M / (RT) = 3,170 × 0.018015 / (8.314 × 298.15) = 0.0230 kg/m³ = 23.0 g/m³
NIST gives 23.1 g/m³ for the saturated vapour density, so the ideal-gas estimate is very close. We use 23.07 g/m³ below. If the room's relative humidity is Φ, each cubic metre holds Φ × θ_sat of vapour.
Where does the humidity settle? A worked example
Take the Physics Brawl room: 4 m × 5 m × 2.5 m at 25 °C. The outside air, and the room before switch-on, are at 30% relative humidity. The humidifier evaporates 5 ml of water a minute, and the open window replaces 3% of the room's air each minute.
Room volume. V = 4 × 5 × 2.5 = 50 m³.
Vapour added. Water at 25 °C has a density of about 0.997 g/ml (NIST lists 997.0 kg/m³), so ṁ = 5 × 0.997 = 4.99 g per minute. That is 0.3 litres an hour.
Air exchanged. η = 3% a minute, so ηV = 0.03 × 50 = 1.5 m³ of room air leaves each minute and 1.5 m³ of outside air comes in.
Net vapour lost through the window. The air leaving carries Φθ_sat per cubic metre. The air entering brings Φ₀θ_sat. Net loss per minute = ηVθ_sat(Φ − Φ₀).
Set in = out. ṁ = ηVθ_sat(Φ − Φ₀), so Φ = Φ₀ + ṁ / (ηVθ_sat).
Substitute. ηVθ_sat = 1.5 × 23.07 = 34.6 g per minute. Then Φ = 0.30 + 4.99 / 34.6 = 0.30 + 0.144 = 0.444, or about 44%.
Check the units: ṁ is in g/min and ηVθ_sat is in (1/min) × m³ × (g/m³) = g/min, so their ratio has no unit, as a relative humidity should.
Check the balance at 44%. Each minute the leaving air carries 1.5 × 0.444 × 23.07 = 15.4 g of vapour out. The entering air brings 1.5 × 0.30 × 23.07 = 10.4 g in. The difference, 5.0 g, is exactly what the humidifier supplies.
How long does the room take to settle?
While the humidity is still rising, the stock of vapour in the room, Vθ_satΦ, changes at the rate of in minus out:
Vθ_sat × dΦ/dt = ṁ − ηVθ_sat(Φ − Φ₀)
This is the same first-order equation as an RC circuit charging. Its solution is an exponential approach to the steady value, Φ(t) = Φ₀ + ΔΦ(1 − e^(−ηt)), where ΔΦ = 0.144. The time constant is τ = 1/η = 1/0.03 = 33 minutes.
After 33 minutes (one τ), the room has covered 63% of the rise: 30% + 0.632 × 14.4% = 39%.
After 100 minutes (three τ), it has covered 95%: about 43.7%.
The room needs to gain about 166 g of vapour, from 346 g at 30% to 512 g at 44%. The humidifier alone would supply that in about 33 minutes, but the window drains more as the humidity rises, which is why the approach slows down.
What happens if you open the window wider or narrower?
The air-exchange rate η appears in both answers. Keep the same humidifier and room, and change only η:
1% a minute: steady humidity 73%, time constant 100 minutes.
2% a minute: 52%, 50 minutes.
3% a minute: 44%, 33 minutes.
5% a minute: 39%, 20 minutes.
The rise above the outside humidity, ṁ / (ηVθ_sat), is inversely proportional to η. Halve the ventilation and you double the rise, but the room also takes twice as long to get there. A wider window settles quickly at a level close to the outside value.
What does this simple model leave out?
The model treats the room as perfectly mixed air at one steady temperature, with the same temperature outside. Real rooms differ in several ways:
Walls, furniture, fabrics and plants absorb and release water vapour, which slows the approach.
A cold window pane can condense vapour out of the air, as the post on why room heaters make the air dry shows with saturation values.
Ventilation through a window is rarely steady; wind and temperature differences change η from minute to minute.
If the formula ever gives Φ above 100%, the air would saturate and the extra vapour would condense, so the formula stops applying.
If you want to practise the ideal-gas and vapour-pressure steps behind this, the Fermi Concept Library gives each physics concept its own lesson.
Quick checklist
Steady state means vapour in = vapour out, not "the humidifier stopped working".
Saturation vapour density at 25 °C: about 23 g/m³, from p_sat = 3.17 kPa and the ideal-gas law.
Balance: ṁ = ηVθ_sat(Φ − Φ₀), so Φ = Φ₀ + ṁ / (ηVθ_sat).
Worked example: 5 ml a minute, 50 m³, 3% exchange a minute gives 44%.
The approach is exponential, with time constant τ = 1/η, here 33 minutes.
Less ventilation means a higher level and a slower approach.



