"is it worth the time?"
expressionKept in this browser · My desk
The question of whether automating or speeding up a routine task saves more time than the work of doing so costs, named after xkcd comic 1205, "Is It Worth the Time?", which tabulates the break-even point over five years.
Randall Munroe's table, published on 29 April 2013, crosses how often a task is done (from 50 times a day to once a year) with how much time an improvement shaves off (from 1 second to 1 day), and each cell gives the most time worth spending on the improvement across five years. It is the honest counterweight to the engineer's instinct to automate everything, and a close cousin of yak shaving: the arithmetic is simple, and what it leaves out (maintenance, errors avoided, growth, who else runs the task) is where the real decision lies.
The comic is xkcd number 1205, "Is It Worth the Time?", published by Randall Munroe on 29 April 2013. Its caption asks how long you can work on making a routine task more efficient before you are spending more time than you save, across five years. The answer is a table. Its columns are how often the task is done: 50 times a day, 5 times a day, daily, weekly, monthly and yearly. Its rows are how much time the improvement shaves off each run: 1 second, 5 seconds, 30 seconds, 1 minute, 5 minutes, 30 minutes, 1 hour, 6 hours and 1 day. Each cell is the most time that can be invested before the investment loses. The title text, the comic's hover joke, adds the recursion: do not forget the time spent finding the chart, reading the reminder, and wondering whether either makes sense.
Every cell is one multiplication: time saved per run, times runs per period, times the horizon. Shaving 1 second off something done 50 times a day saves 50 times 1,825 days, 91,250 seconds, about 25 hours, so the table says 1 day. Saving 5 minutes on a daily task saves 547,500 seconds, about 152 hours, and the cell says 6 days; saving an hour on a weekly task saves 260 hours, 10 days in the table; a whole day saved once a year is worth 5 days. Some cells are left blank as not applicable, the combinations where the saving per run is too large for that frequency to be plausible, such as 30 minutes saved 50 times a day. The chart rounds, and it counts in round-the-clock time: its 6 days are 152 hours, which is 19 eight-hour working days, so in working time every budget in the table is roughly three times larger than it looks. The asymmetry it exposes runs both ways. Tiny savings on very frequent tasks justify surprising effort (5 seconds saved 5 times a day buys 12 hours), while large savings on rare tasks justify very little (1 minute saved once a year buys 5 minutes).
What the arithmetic leaves out is where the judgment lives. The table assumes the improvement costs nothing after it is built, but scripts break when the device, the interface or the vendor's output format changes, and maintenance is paid for as long as the task exists. It counts only time, not errors: a manual change made a hundred times will eventually be made wrongly, and an automated one is made the same way every time, which is often the real return in network operations. It treats frequency as fixed, while operational work in a growing service rises with the number of devices, sites or users. It counts one person's time, while a task run by a whole team multiplies the saving by the team. And it ignores the value of the knowledge built while automating, which may outlast the script.
Munroe drew the counterweight himself. xkcd 1319, "Automation", published on 20 January 2014, shows two graphs. In theory, a burst of work writing code is followed by the work on the original task falling away. In reality, writing code turns into debugging, then rethinking, then ongoing development, and the original task is never reduced, with a label noting there is no time for it anymore. Read together, the two comics are the whole argument: 1205 says how much an improvement may cost, and 1319 says how badly people estimate what it will cost. Hofstadter's law, the ninety-ninety rule and yak shaving describe the same gap from other directions.
Site reliability engineering turned the question into policy. In Google's book Site Reliability Engineering, the chapter on eliminating toil, written by Vivek Rau and edited by Betsy Beyer, defines toil as work tied to running a production service that tends to be manual, repetitive, automatable, tactical, devoid of enduring value, and that scales linearly as the service grows. Google's site reliability organization advertises a goal of keeping toil below 50 per cent of each engineer's time, so that at least half goes to engineering that reduces future toil or adds features; the chapter reports quarterly surveys averaging about 33 per cent, with individuals ranging from 0 to 80 per cent. The linear growth is the point the xkcd table cannot show: a task whose frequency rises with every new device or customer moves to the left of the chart year by year, and an automation that did not pay at first may pay handsomely later.
A different comic, published eleven weeks earlier, is often confused with this one: xkcd 1172, "Workflow" (11 February 2013), about a user who had built his work on a side effect that an update removed, which has its own entry. The two answer opposite questions about the same engineer. This one asks whether a change is worth making for the person who makes it; "Workflow" asks what a change costs the people who had built on the old behaviour. In practice the first is quoted when someone proposes automating a weekly report, and the second when someone proposes changing what that report's output looks like.
Also known as: automation tradeoff, xkcd 1205, worth the time
Sources
- xkcd 1205, Is It Worth the Time?, Randall Munroe, 29 April 2013, with its metadata (read 2026-11-12): how long you can work on making a routine task more efficient before you spend more time than you save, across five years; columns from 50 times a day to yearly, rows from 1 second to 1 day saved; every cell and the title text
- xkcd, About (read 2026-11-12): the webcomic of Randall Munroe, updated every Monday, Wednesday and Friday; comics may be reprinted with attribution to xkcd.com
- xkcd 1319, Automation, 20 January 2014, metadata and transcript (read 2026-11-12): in theory the work on the original task falls after a burst of coding; in reality the coding becomes debugging, rethinking and ongoing development, with no time left for the original task
- xkcd 1172, Workflow, 11 February 2013, metadata and transcript (read 2026-11-12): the changelog of version 10.17, the CPU no longer overheats when the spacebar is held down; a long-time user whose Emacs setup read the temperature rise as the control key asks for an option to re-enable spacebar heating
- Vivek Rau, edited by Betsy Beyer, Eliminating Toil, chapter 5 of Site Reliability Engineering, Google (read 2026-11-12): toil is manual, repetitive, automatable, tactical, without enduring value and grows linearly with the service; the goal of keeping toil below 50 per cent of each engineer's time; surveys averaging about 33 per cent, with individuals from 0 to 80