Documentation ROI is hard to state as one number, and the best published evidence treats documentation as a multiplier on other engineering practices. DORA's 2022 data shows a team with above-average documentation quality getting a 750% lift in organizational performance from continuous integration, and a team below average getting 34%.
A team's bus factor is the number of people who could disappear before the project stalls, and DORA's table measures lifts in performance. Neither figure is a return in money, and I think the case for investing in developer content is stronger when it says so.
What is engineering velocity?
Engineering velocity is how quickly a team moves a change from an idea to production, and DORA measures it as throughput. Its metrics guide defines the term: "Throughput is a measure of how many changes can move through the system over a period of time."
The guide measures it by change lead time, deployment frequency and failed deployment recovery time. A claim that documentation raises velocity has to show up in one of those measures.
What does DORA's research say about documentation?
DORA's research says documentation quality amplifies the payoff of every technical practice its 2022 study covered. DORA's capability page on documentation quality prints the table, excerpted from an analysis by Michelle Irvine and Derek DeBellis.
| Technical capability | Lift with below-average documentation | Lift with above-average documentation |
|---|---|---|
| Continuous delivery | 63% | 656% |
| Continuous integration | 34% | 750% |
| Loosely coupled teams | 46% | 313% |
| Site Reliability Engineering | 79% | 343% |
| Supply chain security | 37% | 451% |
| Trunk-based development | 36% | 1525% |
| Version control | 27% | 278% |
So the lift from every practice is far larger for teams with above-average documentation. Even the row with the smallest ratio, Site Reliability Engineering, shows 343% against 79%, more than four times the lift.
DORA scored documentation quality with eight metrics covering attributes such as clarity and findability.
How far can that table be pushed?
The table doesn't show that documentation multiplies a team's performance by fifteen, which is how its largest number, 1525%, can be read. The data is from 2022, and I read the table as a correlation between documentation quality and the payoff of other practices, with no proof that documentation causes the lift.
A team with strong documentation is plausibly strong at other things the table doesn't show, such as code review or testing, and the table can't separate their effect from documentation's.
So what does the table support? It supports a narrower statement: a practice such as trunk-based development pays back far more where people can find out how it's meant to work, so documentation belongs in the plan for any practice a team is about to adopt.
The table gives no support to a sentence like "documentation makes a team seven times faster", because no row measures a team before and after it wrote anything.
Where does the time go without documentation?
The time goes into work that gets logged as something else, such as debugging. Stripe's Developer Coefficient report from September 2018 found that "the average developer spends more than 17 hours a week dealing with maintenance issues, such as debugging and refactoring."
The report doesn't say how much of that time is spent working out what code was meant to do, and I won't put a share on it. The report doesn't measure where a team pays for missing documentation, and I'd name code review, onboarding and incidents.
A reviewer has to ask what a function is for. A new hire reconstructs the deploy process from old pull requests, and an incident waits for the one person who understands the failing job.
An incident that waits for one person is a bus factor of one, and it shows up as a longer recovery time. A runbook puts what that person knows about the failing job on a page the on-call engineer can follow.
Where the answer lives matters as well. A page in the repository can be opened without leaving the editor, and a question in chat waits for another person to reply.
What changes when agents write the code?
The volume of changes goes up, and a model becomes the first reader of a team's conventions. Anthropic's account of its code review from October 15 says the changes landing in its monorepo each day went from about 2,500 in May to more than 30,000 in September.
The post describes fixing a repeated review finding once, in a skill, a lint rule or an instruction file. It describes one such file this way: "CLAUDE.md tells Claude what the project is: the stack, the conventions, the goals and the non-goals."
I think of an instruction file as documentation with a visible return, since a line added to the file removes a class of review comment. My CLAUDE.md guide covers what belongs in it.
How do you measure documentation ROI on your own team?
Pick one document, one metric and a period before and after. The measurements below are suggestions and I have no results of my own to report for them.
- Onboarding. Days from a new engineer's start to their first merged change, before and after a setup guide is written.
- Repeat questions. How often the same question appears in the team's chat in a month, before and after its answer has a page.
- Recovery. Time to recover from a recurring failure, with and without a runbook for it.
Recovery time is close to DORA's failed deployment recovery time, and the onboarding and repeat-question measures aren't DORA metrics. Each one still gives a number a team can check.
For a company whose buyers are developers, missing documentation also costs sales, and devtools documentation makes that case.
And the writing doesn't need a specialist to start. My guide to writing for engineers covers the rules an engineer can apply to the first page.
Planning and running the articles behind a product is work I take on, described under technical content programs.
FAQ
Can documentation ROI be calculated?
Documentation ROI can't be calculated as one general figure. A team can measure one document against one metric, such as onboarding time, and the published research shows correlation at the level of whole organizations.
What is the strongest evidence that documentation improves engineering performance?
The strongest evidence is DORA's 2022 analysis, in which every technical capability studied produced a larger performance lift in teams with above-average documentation quality.
Does AI-written code reduce the need for documentation?
No. The documentation is still needed, and a model now reads it first: instruction files and written conventions become input to the tools that write and review the code.