Why the refocus time is the real cost
Answering a quick question takes two minutes. Getting back to where you were takes longer: you have to rebuild what you were holding in your head, find your place, and push through the urge to check one more thing while you are already distracted. Researchers call the leftover pull of the previous task attention residue.
How long that takes varies enormously with the work. A figure of around 23 minutes, from research by Gloria Mark at the University of California, Irvine, is widely quoted. The calculator defaults to a more conservative 10 minutes — change it to whatever matches your experience.
Not all interruptions come from other people
A large share of interruptions are self-inflicted: checking a phone, glancing at email, opening a new tab "just for a second". They cost exactly the same refocus time as a colleague at your desk, and they are the ones you can remove most easily.
Count both when you fill in the number. If you are honest, it will probably be higher than you expected.
What actually brings the number down
Batch the interruptions you cannot avoid. Checking messages at fixed times instead of continuously turns forty small refocus costs into three. Make focus blocks visible to others — a status, a closed door, a calendar block — so the interruptions that remain land between blocks instead of inside them.
And when you are interrupted mid-task, write one line about what you were about to do before you switch. It cuts the refocus time more than almost anything else.