‹ All demos
27 Nov 2026 · Medicine

How often and how long to feed or pump: a maths model of milk supply

Taking milk out of the breast tells the breast to keep making it. That feedback is why "feed often, empty well" is standard lactation advice, but the advice has stayed qualitative. Mathematicians at the University of Vienna have now written that feedback as a small dynamical system: milk builds up between sessions, each session removes some of it, and the amount removed boosts the production rate for later. Stepping this model forward session by session predicts when a schedule keeps supply going, when supply quietly dies out, and which schedule gives the most milk per day. The demo below runs the paper's model live.

Angelika Manhart, Tobias Müller

Why it matters

Trouble building or keeping up milk supply is common and worrying for breastfeeding and pumping parents, especially those of premature babies, yet the guidance on how often and how long to feed or pump is mostly rules of thumb. This model turns the "removal drives production" feedback into testable maths, predicting a critical gap between sessions beyond which supply dies out whatever you do, and showing that emptying the breast every session does not always give the most milk per day.

The paper

Milk-removal feedback shapes lactation sustainability and daily output in a model of human lactation

Angelika Manhart and Tobias Müller (Faculty of Mathematics, University of Vienna, Austria). arXiv:2611.33997 [q-bio.QM], submitted 25 November 2026. Read on arXiv · PDF · Authors' code and explorer

In plain language: the model tracks two numbers for one breast: how much milk is stored, m (ml), and how fast it is being made, p (ml per hour). Between sessions milk builds up at rate p and is slowly reabsorbed, while the production rate fades away unless something keeps it up. Each feed or pumping session removes some milk, and removing milk gives the production rate a boost. More milk removed gives a bigger boost, up to a ceiling. The key point is that this is a loop. If supply drops, less milk comes out, so the next boost is smaller, and supply drops further. The authors prove when that downward spiral wins and when supply settles at a steady level.

Between sessions (wait T hours) the model is two simple equations, solved exactly:

dm/dt = p − δm,    dp/dt = −γp   ⇒   x = m·e−δT + p·G(T),   G(T) = (e−γT − e−δT)/(δ − γ)

At a session, an amount M is removed from the x ml available and production jumps by a stimulation a(M):

mn = xn − Mn,    pn = e−γT pn−1 + a(Mn)

Set-duration sessions remove M = x·min(τ/τemp, 1), where τemp is the time it takes to empty the breast. Set-target sessions remove M = min(Mtar, x). The boost a(M) is either Michaelis–Menten, amaxM/(M+μ), where small removals work best per ml, or Hill, amaxM²/(M²+μ²), where small removals barely count. Lactation can only last if the boost per ml, R(M) = a(M)/M, can beat the fade over one cycle, Γ(T) = (1 − e−γT)/G(T). Γ grows with the wait, so there is a critical wait Tcrit, with Γ(Tcrit) = max R. Wait longer than that between sessions and supply always dies out. Daily output in the steady state is Mday = 24·M*/(T + τ*).

Try it: design a feeding or pumping schedule

Defaults are the paper's order-of-magnitude estimates for one breast in established lactation. Production fades over about 48 h without stimulation (γ = δ = 1/48 h⁻¹). An efficient pump empties the breast in about 18 min. Exclusive breastfeeding gives about 18 ml/h per breast. The stimulation parameters are calibrated so that a feed every 3 h that empties the breast is a steady state. These numbers are not fitted to patient data, so treat the outputs as illustrations, not advice.

Session ends:
Boost from removing milk:
Body and pump parameters
Long-run production rate p* (ml/h)
Milk out per session M* (ml)
Daily output, one breast (ml/day)
Critical wait Tcrit

The first 10 days of your schedule
milk stored in the breast m (ml, left axis)production rate p (ml/h, right axis)
Can removal keep up? Boost per ml vs what is needed
R(M) = a(M)/M, boost per ml removedΓ(T), needed at your waitγ, needed with no wait at all
Daily output vs session length (at your wait)
daily output Mdaybreast fully emptiedyour schedule
Schedule map: daily output for every wait and session length
more milk per daysupply dies outcritical wait Tcritbest session length for each waityour schedule

What the paper finds

This demo implements the amount-dependent model (Sec. 3.1–3.2 and 4.2 of the paper). The duration-dependent variants are in the authors' own interactive explorer, linked above.

How to use it

Demo maths: the session-to-session map above is iterated exactly, with no time-stepping error, from m₀ = 0 and your starting production. The long-run numbers average the last 50 sessions after about 1,500 h of simulated time, using Mday = 24·ΣM/Σ(T + τ). In set-target mode the session length is τ = τemp·Mtar/x, or τemp if the breast is drained. Tcrit solves Γ(T) = max R by bisection. Default stimulation follows the paper's Sec. 6.1 estimate, a(51 ml) ≈ 1.1 ml/h with μ = 100 ml. That gives amax = 3.26 ml/h for Michaelis–Menten (max R ≈ 0.032 h⁻¹) and 5.33 ml/h for Hill (max R ≈ 0.027 h⁻¹). Under the Hill calibration, the 3-hourly 51 ml state sits exactly on the unstable threshold, which is why that response jumps to a larger supply. This is a model study with no clinical data, and it is not breastfeeding or pumping advice.