contextcost.com

Research figures drawn from peer-reviewed and primary sources cited on each page; verified April 2026. Your mileage will vary by team and context.

Last verified April 202618 min read · 4,800 words
"The more complicated the task, the greater the switching cost."
Csikszentmihalyi, adapted from Flow (Harper & Row, 1990)

The research on context switching, in one place

Five primary sources, bound together for the first time. Weinberg quantifies organisational concurrency. Mark quantifies interruption-level refocus. Csikszentmihalyi describes the state being disrupted. Leroy names the residue mechanism. DORA and SPACE translate the lot into team-level outcomes. Our calculators turn the whole thing into one dollar number.

§ 01

Gerald Weinberg and the 20% rule

The most-cited figure in the knowledge-work productivity literature is a table on two pages of a book published in 1991. Gerald M. Weinberg's Quality Software Management, Volume 1: Systems Thinking (Dorset House Publishing, 1991, pp 284-285) presents a heuristic estimate of how productive time degrades as a software professional carries more than one project simultaneously.

The table is deliberately simple. One project: 100% of productive time available. Two projects: each receives approximately 40% of productive time, with 20% lost to switching overhead. Three projects: each receives roughly 20%, with 40% of productive time lost to switching. Four projects: each receives about 10%, with 60% of productive time lost. Five projects: each receives approximately 5%, with 75% of productive time lost. The switching overhead is not dead time sitting at a desk; it is the mental cost of loading and unloading context, resolving the current state of each project, and re-entering the frame of mind required for productive work.

20%
productivity loss per additional concurrent project (Weinberg 1991 estimate)

Weinberg is explicit about the nature of his estimates. These are not laboratory measurements produced under controlled conditions. They are the heuristic conclusions of a systems consultant who spent decades watching software organisations fail to deliver, and noticed that the failure pattern correlated with how many projects each person carried at once. Weinberg frames the numbers as "rules of thumb with strong face validity" rather than empirical findings subject to replication. This is important context that most citations of Weinberg omit.

Why does this 35-year-old heuristic remain the most-cited figure in the field? Because the domain of research is still the most applicable. Laboratory cognitive science (Rogers and Monsell 1995, Rubinstein et al. 2001) studies task-switching at the level of artificial tasks performed over milliseconds to seconds. Weinberg studies software organisations, over months to years, at the project-portfolio level. The two are measuring different things. Neither invalidates the other. Weinberg's estimates are the closest thing the field has to an empirical base for knowledge-work project concurrency, and until something more rigorous appears, they remain the practitioner standard.

§ 02

Gloria Mark and the 23-minute refocus

In 2005, Gloria Mark and colleagues at the Department of Informatics, University of California, Irvine, published "No Task Left Behind? Examining the Nature of Fragmented Work" at the ACM Conference on Human Factors in Computing Systems (CHI 2005). The study involved direct observation of 24 information workers at two technology companies over a total of 1,000 hours. The researchers did not ask workers to self-report. They watched.

The core finding: on average, a worker was interrupted or self-interrupted every 11 minutes. After an interruption, the average time to return to full engagement with the original task was 23 minutes and 15 seconds. Not to return to the task superficially, but to return to the same depth of engagement that preceded the interruption.

23m 15s
average refocus time after interruption (Mark et al., CHI 2005 and CHI 2008)

The 2008 follow-up, "The Cost of Interrupted Work: More Speed and Stress" (Mark, Gudith, Klocke, CHI 2008), found that workers who were interrupted compensated by working faster in the period immediately following the interruption. The speed increase is real. But it comes at a cost: interrupted workers reported measurably higher levels of stress, frustration, effort, and time pressure. The speed was a coping mechanism, not a free performance gain.

Mark's 2023 book Attention Span (Hanover Square Press, 2023) extends the research to the smartphone era and finds that average attention span on any single task has shortened dramatically since 2004 - from approximately 2.5 minutes to approximately 47 seconds. Whether this is a permanent cultural shift or a temporary pattern remains to be studied. What is clear is that the cost per interruption has not decreased.

§ 03

Mihaly Csikszentmihalyi and flow

In Flow: The Psychology of Optimal Experience (Harper & Row, 1990), Mihaly Csikszentmihalyi described a psychological state that chess players, rock climbers, composers, and surgeons reported in common: a state of complete absorption in an activity where action and awareness merge, time transforms, and effort becomes effortless. He named this state flow, and Chapter 4 ("The Conditions of Flow") describes the eight characteristics that define it.

The eight characteristics Csikszentmihalyi identified from his interview data: (1) complete concentration on the task; (2) merging of action and awareness; (3) loss of reflective self-consciousness; (4) transformation of time (usually an apparent speeding up); (5) immediate feedback on progress; (6) clear goals; (7) challenge-skill balance, where the task is difficult enough to stretch but not so difficult as to overwhelm; (8) autotelic quality, meaning the activity is intrinsically rewarding.

The relevance for knowledge-work organisations is in the time and conditions required. Csikszentmihalyi's interview data suggested that entering flow typically requires approximately 15 minutes of uninterrupted concentration. The state is fragile: a single interruption resets concentration and awareness, requiring the 15-minute startup over again. In the context of Gloria Mark's finding that knowledge workers are interrupted every 11 minutes on average, the implication is stark: most knowledge workers in modern organisations spend most of their working lives below the threshold of flow, in a permanent state of pre-flow startup.

~15m
typical time to enter flow state (Csikszentmihalyi, 1990 interview data)
§ 04

Sophie Leroy and attention residue

Sophie Leroy's 2009 paper "Why is it so hard to do my work? The challenge of attention residue when switching between work tasks" (Organizational Behavior and Human Decision Processes, Vol 109, No 2, pp 168-181) named and quantified a mechanism that Mark's research had gestured at but not directly examined: the persistence of cognitive attention on a prior task after switching to a new one.

Leroy's experimental finding is this: when a person switches from Task A to Task B, residual cognitive processing of Task A continues and impairs performance on Task B. The residue is larger when Task A was interrupted under time pressure or left incomplete. The person is physically on Task B but cognitively partially still on Task A.

The practical implication runs counter to the intuitive fix of "just switch more cleanly." The research-backed intervention is: complete or intentionally pause Task A before switching, and if leaving A incomplete is unavoidable, create an explicit written record of the current state of A (what was done, what remains, the next action) before leaving it. This externalises the residue into a note, reducing the cognitive load of carrying it into Task B.

Leroy's framework connects directly to Weinberg's: the 20% switching overhead Weinberg estimated is, in part, composed of the attention-residue cost Leroy later documented. The two papers are from different disciplines and traditions, but they are measuring the same underlying phenomenon at different levels of resolution.

§ 05

DORA, SPACE, and the organisational economics

The DevOps Research and Assessment (DORA) programme, initiated in 2013 and published as Accelerate: The Science of Lean Software and DevOps (Forsgren, Humble, Kim, IT Revolution, 2018), established four key metrics of software delivery performance: deployment frequency, lead time for changes, mean time to restore service, and change failure rate. The research, covering more than 23,000 survey responses over five years, found that elite-performing software organisations out-delivered low-performing organisations by factors of 46 (deployment frequency) and 2,604 (lead time and MTTR).

46x
deployment frequency gap between elite and low DORA performers (2021 State of DevOps)

The connection to context switching is indirect but significant: DORA's elite performers consistently show characteristics that reduce context-switching cost. They work in small batches (reducing in-progress concurrency), they have fast feedback loops (reducing the wait-and-switch cycle), and they operate in team topologies (Conway's Law inverse) that respect cognitive module boundaries. The DORA findings do not explicitly cite Weinberg, but the patterns they identify are the organisational-level correlates of Weinberg's project-concurrency curve.

The SPACE framework (Forsgren, Storey, Maddila, Zimmermann, Houck, Butler, "The SPACE of Developer Productivity," ACM Queue, 2021) made the flow-and-focus dimension explicit for the first time in the DORA tradition. SPACE stands for Satisfaction, Performance, Activity, Communication/Collaboration, and Efficiency/Flow. The Efficiency/Flow dimension includes uninterrupted focus time and context switches as first-class, measurable productivity dimensions. SPACE argues that these dimensions are systematically under-instrumented by engineering leaders.

§ 06

The meta-summary

Five sources, three decades, two disciplines. The pattern is consistent. Knowledge-work organisations pay a large, compounding, invisible tax on context switches. Weinberg quantifies the tax at the project-portfolio level. Mark quantifies it at the individual-interruption level. Csikszentmihalyi describes the state being destroyed. Leroy names the residue mechanism by which the destruction persists after the interruption is over. DORA and SPACE translate the whole system into team-level, measurable outcomes.

No single page before this one bound all five sources in one place with proper attribution and page numbers. Vendor blogs cite Weinberg. Personal essays cite Csikszentmihalyi. Engineering blogs cite DORA. Nobody cited all five together, because nobody had a structural reason to. This site does: the editorial integrity of the tech-editorial trilogy (featurebloat.com, codesmellcost.com, contextcost.com) depends on doing the primary-source work the vendor blogs will not.

Our context switching calculator turns this research into one dollar number for your organisation. The methodology page documents every assumption, and you can override any of them.

Want an outside eye on your operating cadence? Email Oliver at Digital Signet about a two-week attention audit.