The Cost of Software Defects: What the CISQ, NIST, Boehm and IBM Studies Show
Updated November 2026
What do software defects cost?
The largest current estimate is CISQ's: poor software quality cost the US at least $2.41 trillion in 2022, $1.44 trillion of it cybercrime through existing software vulnerabilities, with accumulated technical debt of about $1.52 trillion counted separately (Herb Krasner, The Cost of Poor Software Quality in the US: A 2022 Report). The narrower bug-fixing figure in the same series is $607 billion for finding and fixing bugs (CISQ, 2020 report). Per defect, Boehm and Basili (IEEE Computer, 2001) found a problem fixed after delivery is often 100 times more expensive than one fixed during requirements and design, and more like 5 to 1 on small, noncritical systems.
$2.41T
US cost of poor software quality, 2022
CISQ 2022 report
$59.5B
US cost of inadequate software testing infrastructure, a year
NIST Planning Report 02-3 (2002)
100x
Fix after delivery vs in requirements and design (often)
Boehm and Basili, 2001
The cost of software defects, study by study
| Study | Scope | Figure | What it measures |
|---|---|---|---|
| CISQ 2022 | US, 2022 | $2.41 trillion | Total cost of poor software quality. $1.44 trillion of it is cybercrime, taken as the US share (24%, its share of world GDP) of a $6 to 7 trillion world estimate. |
| CISQ 2022 | US, accumulated | about $1.52 trillion | Technical debt principal: deficiencies left unfixed in existing code. A stock, counted apart from the yearly cost. |
| CISQ 2020 | US, 2020 | $607 billion | Finding and fixing bugs, one category inside that year's total of $2.08 trillion. |
| NIST Planning Report 02-3 | US, 2002 | $59.5 billion a year | Cost of an inadequate infrastructure for software testing: $21.2 billion borne by developers, $38.3 billion by users. $22.2 billion of it was judged avoidable with feasible improvements. |
| Boehm and Basili (2001) | Per defect | often 100x; about 5:1 on small systems | Cost of finding and fixing a problem after delivery against finding and fixing it in requirements and design. |
| Boehm and Basili (2001) | Project effort | 40 to 50% of effort | Share of effort that software projects of the time spent on avoidable rework. |
These figures measure different things and do not add up to one total. The CISQ numbers are extrapolations from other published sources (88 of them for the 2020 edition), not measured spend, and the 2020 categories overlap. To put a figure on your own team instead, use the rework cost calculator.
Each study below follows the same structure: who, when, sample, methodology, headline figure, caveats, how it is often misquoted, and how to cite it. The IBM Systems Sciences Institute multipliers are covered too, with the reason this page does not reproduce them.
NIST Planning Report 02-3 (2002)
The Economic Impacts of Inadequate Infrastructure for Software Testing
Who
Research Triangle Institute (RTI International), commissioned by NIST
When
2002
Sample
US software industry; mixed-method study combining survey data, industry interviews, and economic modeling across multiple sectors
Methodology
Estimated economic losses from software defects using two approaches: (1) survey of industry defect costs, (2) economic impact modeling of defect-related productivity losses. Unlike pure survey studies, the mixed-method approach partially corrects for self-reporting bias.
Headline Finding
$59.5 billion a year: the national cost of an inadequate infrastructure for software testing in the US economy ($21.2 billion borne by developers, $38.3 billion by users). The potential cost reduction from feasible infrastructure improvements is $22.2 billion. The report also notes that identifying and correcting defects has historically represented over half of development costs.
Caveats
2002 data. Software costs and testing infrastructure have changed substantially. Cloud infrastructure and CI/CD pipelines have reduced some categories of defect cost. The $59.5B figure, inflation-adjusted, would be substantially higher today. The over-half share for identifying and correcting defects covers all detection and correction activity, not just rework in the strict definition.
How It Is Often Misquoted
Often cited as if $59.5B is the cost of software bugs generally. The precise claim is the cost of inadequate testing infrastructure specifically, the economic argument for investing in testing tooling and practice.
How to Cite
RTI International. NIST Planning Report 02-3: The Economic Impacts of Inadequate Infrastructure for Software Testing. National Institute of Standards and Technology, May 2002. Available: https://www.nist.gov/document/report02-3pdf
CISQ: The Cost of Poor Software Quality in the US (2022)
Consortium for Information & Software Quality, the third report in the series
Who
Herb Krasner, CISQ Advisory Board member and retired Professor of Software Engineering at the University of Texas at Austin
When
2022 (the previous report in the series covers 2020)
Sample
No survey sample. An analysis, synthesis and extrapolation of published sources (88 of them for the 2020 edition) combined with expert judgement.
Methodology
The 2022 total projects the 2020 categories forward. Outside cybercrime the report assumes no growth; cybercrime is taken as the US share (24%, its share of world GDP) of a $6 to 7 trillion world estimate, which gives about $1.44 trillion.
Headline Finding
At least $2.41 trillion: the cost of poor software quality in the US in 2022, with accumulated technical debt of about $1.52 trillion. The 2020 report put the total at $2.08 trillion and itemised $607 billion for finding and fixing bugs, $1.56 trillion of operational failures, $520 billion of legacy-system problems and $260 billion of unsuccessful projects.
Caveats
An estimate built from other estimates, not a measurement. Cybercrime makes up most of the 2022 operational-failure figure, and that slice is a GDP-share apportionment of a global forecast. The 2020 categories add up to more than the $2.08 trillion total, so they overlap and should not be summed.
How It Is Often Misquoted
The $2.41 trillion is often quoted as the cost of software bugs. It is the cost of poor software quality in the broad sense, most of it operational failures and cybercrime. The bug-fixing category in the series is the 2020 report's $607 billion.
How to Cite
Krasner, H. The Cost of Poor Software Quality in the US: A 2022 Report. Consortium for Information & Software Quality (CISQ), 2022. Available: https://www.it-cisq.org/the-cost-of-poor-quality-software-in-the-us-a-2022-report/
IBM Systems Sciences Institute (cited, but untraceable)
Relative Costs of Fixing Defects by Phase
Who
Attributed to the IBM Systems Sciences Institute, a former IBM training unit
When
No dated publication has been found
Sample
Unknown. No sample, method or report has been published.
Methodology
Not documented. The figures circulate second-hand, usually as a chart of relative fix cost by phase, with no report title, author or date that can be checked.
Headline Finding
There is no public primary document behind the defect-cost-by-phase multipliers that carry this name, so this page does not reproduce them. For a citable figure on the same question, use Boehm and Basili (IEEE Computer, 2001): finding and fixing a problem after delivery is often 100 times more expensive than during requirements and design, and more like 5 to 1 for small, noncritical systems.
Caveats
The multipliers attributed to this source vary from one citation to the next, which is what you would expect of a figure with no original to check against. Barry Boehm's published work (Software Engineering Economics, 1981, and the 2001 Top 10 List with Victor Basili) is the traceable source for the cost-of-late-fixes idea.
How It Is Often Misquoted
It is often merged with the separate 1-10-100 rule, a quality-management heuristic usually traced to Labovitz, Chang and Rosansky (1992), and presented as one study. Cite Boehm and Basili for software figures, and the 1-10-100 rule as a rule of thumb.
How to Cite
Do not cite as a primary source. Cite instead: Boehm, B. and Basili, V.R. Software Defect Reduction Top 10 List. IEEE Computer, vol. 34, no. 1, January 2001, pp. 135-137.
Boehm (1981): Software Engineering Economics
The Cost-of-Change Curve
Who
Barry Boehm, TRW Systems; later USC
When
1981 (Software Engineering Economics); updated in numerous subsequent papers
Sample
Data collected from TRW software projects in the 1970s. Medium-to-large embedded systems and commercial software.
Methodology
Phase-by-phase analysis of defect detection and correction costs. Boehm plotted the cost of changing a software requirement as a function of lifecycle phase, generating the exponential cost-of-change curve.
Headline Finding
The cost of changing a software requirement increases by roughly an order of magnitude per lifecycle phase: the earlier in development a requirement change is made, the cheaper. The curve shows roughly 1x (requirements phase) to 200x (post-delivery) for large systems.
Caveats
Boehm's data was collected from large, complex embedded systems in the 1970s-80s. The multipliers are larger for more complex systems and smaller for simpler web applications. The original 200x figure for post-delivery changes is specific to large-scale embedded systems with long deployment cycles; web applications with CI/CD and feature flags have fundamentally different cost profiles. Boehm himself updated the numbers in the 2000 'Spiral Model' work.
How It Is Often Misquoted
Often conflated with IBM SSI's figures and presented as if they are the same study. Boehm's curve is about the cost of changing requirements; IBM SSI is about the cost of fixing defects. They support the same directional conclusion (fix earlier = cheaper) but measure different things.
How to Cite
Boehm, B.W. Software Engineering Economics. Prentice-Hall, 1981. ISBN 0-13-822122-7.
Boehm and Basili (2001): Software Defect Reduction Top 10 List
IEEE Computer, vol. 34, no. 1, January 2001, pp. 135-137
Who
Barry Boehm (University of Southern California) and Victor R. Basili (University of Maryland), for the NSF-funded Center for Empirically Based Software Engineering
When
January 2001
Sample
A synthesis of published empirical studies, updating Boehm's 1987 list of software defect reduction findings
Methodology
Ten findings, each stated with the studies behind it and the conditions under which it holds.
Headline Finding
Current software projects spend about 40 to 50 percent of their effort on avoidable rework. Finding and fixing a problem after delivery is often 100 times more expensive than finding and fixing it during requirements and design. About 80 percent of avoidable rework comes from 20 percent of the defects, and peer reviews catch 60 percent of the defects.
Caveats
The authors added the word 'often' to the 100x finding: for small, noncritical systems the ratio is more like 5 to 1. The 40 to 50 percent share describes projects of that era, before continuous integration was common; they also note that some rework is unavoidable, because requirements emerge from prototyping and shared learning.
How It Is Often Misquoted
The 100x figure is quoted as a law for all systems. The paper itself says 'often', and gives the 5 to 1 ratio for small, noncritical systems.
How to Cite
Boehm, B. and Basili, V.R. Software Defect Reduction Top 10 List. IEEE Computer, vol. 34, no. 1, January 2001, pp. 135-137. Available: https://www.cs.umd.edu/projects/SoftEng/ESEG/papers/82.78.pdf
Capers Jones (2008, updated)
Applied Software Measurement, 3rd edition
Who
Capers Jones, Software Productivity Research (SPR)
When
Data collected across 1970s-2000s; Applied Software Measurement first published 1991; 3rd edition 2008
Sample
Data from thousands of software projects across hundreds of client organisations, primarily North American. Strong representation of enterprise software, defence, and financial services. Less representation of web/SaaS startups.
Methodology
Function point based analysis. Jones and SPR tracked function points (a size metric), defect rates, defect removal efficiency (DRE), and productivity across project types, industries, and development methodologies. The Defect Removal Efficiency metric is Jones' primary contribution to rework measurement.
Headline Finding
Defect Removal Efficiency (DRE): the share of all defects removed before release, with escaped defects counted for a fixed period after release. It is the most useful single quality metric Jones popularised, and the one this site uses on the defect escape rate page. The specific DRE and rework percentages attributed to his books are not reproduced here, because we could not check them against a readable copy of the editions cited.
Caveats
Sample skews toward enterprise. Web/SaaS companies with agile CI/CD practices are underrepresented in earlier editions. Function point methodology is unfamiliar to most development teams today. Some of Jones' industry averages have not been updated to reflect the shift to cloud, microservices, and DevOps practices.
How It Is Often Misquoted
Rework percentages are often credited to Jones without a page or edition. For a citable rework share, use Boehm and Basili (IEEE Computer, 2001): about 40 to 50 percent of effort on avoidable rework.
How to Cite
Jones, C. Applied Software Measurement: Global Analysis of Productivity and Quality. 3rd ed. McGraw-Hill, 2008. ISBN 978-0-07-150244-3.
DORA State of DevOps Report 2024
Accelerate State of DevOps Report, Google DORA Research Program
Who
DORA (DevOps Research and Assessment), acquired by Google. Research led by Dr. Nicole Forsgren (through 2019), now maintained by Google Cloud DORA team.
When
Annual; 2024 edition. The research program began in 2013.
Sample
39,000+ technology professionals globally. Self-selected survey. Strong representation from software-first companies; weaker from traditional enterprises. All industries and company sizes, but weighted toward US and European respondents.
Methodology
Structural equation modelling linking practices (technical, cultural, organizational) to outcomes (software delivery performance, organizational performance, well-being). The four key metrics are: Deployment Frequency, Lead Time for Changes, Change Failure Rate, and Time to Restore Service.
Headline Finding
Change Failure Rate (CFR) by tier: Elite 5%, High 20%, Medium 10%, Low 40%. In 2024 the medium cluster (10%) reported a lower CFR than the high cluster (20%) for the first time. Elite teams deploy multiple times per day; low performers deploy monthly or less. The 2024 edition also added a dedicated rework rate metric. Test automation is one of the strongest predictors of elite CFR.
Caveats
Self-selected survey means response bias toward engaged, performance-tracking organisations. Teams with the worst metrics are least likely to complete surveys. The elite/high/medium/low classification has changed over the years: 2024 numbers are not directly comparable to 2019 numbers without adjusting for the revised classification methodology. The DORA metrics measure delivery performance, not rework specifically; CFR is the closest proxy.
How It Is Often Misquoted
Change failure rate is sometimes presented as equivalent to rework rate. They are correlated but not the same: a high CFR team has high production rework, but may have low pre-production rework (caught by CI/CD). A team can have low CFR but high sprint rework ratio from unclear requirements.
How to Cite
Google DORA. 2024 State of DevOps Report. Google LLC, 2024. Available: https://dora.dev/research/2024/dora-report/
Stripe Developer Coefficient (2018)
The Developer Coefficient: The Hidden Cost of Technical Debt
Who
Stripe, in partnership with Harris Poll
When
September 2018
Sample
More than 1,000 developers and more than 1,000 C-level executives in the United States, UK, France, Germany and Singapore, surveyed with Harris Poll.
Methodology
Survey. Developers estimated how many hours a week developers at their company work, and how many they waste on maintenance (dealing with bad code and errors, debugging, refactoring, modifying).
Headline Finding
17.3 hours a week on maintenance, of an average 41.1-hour developer week: 13.5 hours on technical debt and 3.8 hours on bad code. Stripe put the opportunity cost of bad code at nearly $85 billion a year worldwide, and the global GDP lost to developer inefficiency at about $300 billion.
Caveats
Self-reported time allocation is subject to recall bias. The 17.3 hours figure covers all maintenance work (bad code, debugging, refactoring, modifying), not rework in the strict definition. The $300 billion figure is Stripe's own extrapolation: 18 million developers, about $51,000 of GDP per developer, and a 31.6% efficiency loss from the survey.
How It Is Often Misquoted
Often cited as if 17.3 hours per week is purely rework, or purely bad code. The survey question covered all maintenance, and Stripe split it into 13.5 hours of technical debt and 3.8 hours of bad code.
How to Cite
Stripe. The Developer Coefficient. Stripe, Inc. and Harris Poll, September 2018. Available: https://stripe.com/files/reports/the-developer-coefficient.pdf
McKinsey Developer Velocity Index (2020)
Developer Velocity: How Software Excellence Fuels Business Performance
Who
McKinsey Digital
When
April 2020 (original); follow-up 'Developer Velocity at work', February 2021
Sample
Hundreds of companies, primarily large enterprises ($500M+ revenue). Proprietary data from McKinsey client engagements plus survey data.
Methodology
Correlation analysis between developer velocity practices (tooling, culture, product management, security) and business outcomes (revenue growth, innovation rate, operating leverage). The Developer Velocity Index (DVI) is a composite of practice adoption scores.
Headline Finding
Top-quartile DVI companies showed 4-5x faster revenue growth (2014-18), 60% higher total shareholder returns, 55% higher innovation, and 20% higher operating margins than bottom-quartile peers. The study does not measure rework.
Caveats
McKinsey data is proprietary and methodology is not fully public. Sample skews heavily toward large enterprises. The 4-5x revenue-growth figure is a composite of multiple practices, not attributable to rework reduction alone. Correlation vs. causation is a persistent limitation: high-performing companies may adopt good practices AND reduce rework as a consequence of being high-performing, rather than the practices causing the performance.
How It Is Often Misquoted
The 4-5x figure is sometimes cited as evidence that reducing rework speeds revenue growth. The index is a composite of many practices, and the study does not measure rework, so it cannot support that claim on its own.
How to Cite
McKinsey & Company. Developer Velocity: How Software Excellence Fuels Business Performance. McKinsey Digital, April 2020. Available: mckinsey.com/industries/technology-media-and-telecommunications/our-insights.
GitHub Octoverse 2024
The state of open source and developer productivity
Who
GitHub (Microsoft subsidiary)
When
Annual; 2024 edition
Sample
GitHub platform data (100M+ developers, 420M+ repositories) plus developer survey. Survey sample: 11,000+ developers globally.
Methodology
Platform telemetry combined with developer survey. Measures activity patterns, tool adoption, AI coding tool usage, and self-reported productivity. Does not directly measure rework but tracks bug-fix commit rates, PR review patterns, and deployment frequency.
Headline Finding
AI coding tools (GitHub Copilot) show 55% faster task completion in controlled studies. PR review time is the largest single contributor to developer waiting time. Bug-fix commits account for a significant share of total commit volume (exact percentage varies by repository).
Caveats
Platform telemetry measures activity, not quality. Higher commit volume is not necessarily better. Bug-fix commit rate is a proxy for rework but undercounts rework done without a distinct commit (inline fixes during PR review). The AI productivity claims are from controlled lab studies, not production observational data.
How It Is Often Misquoted
The 55% faster task completion claim for AI tools is frequently taken out of context. It is from a controlled study where participants completed a specific coding task, not an observation of production velocity.
How to Cite
GitHub. Octoverse 2024: The state of open source. GitHub, Inc., 2024. Available: octoverse.github.com