The technical debt
measurement reference.
To calculate technical debt in dollars, multiply engineers x loaded cost x share of time lost to debt. At a loaded cost of $216,200 (BLS mean wage for software developers, $148,100 in May 2025, at the 68.5% wage share of pay in June 2026) and Stripe's 33%, that is $71,300 per engineer a year.
Have static-analysis output? Use the Technical Debt Ratio instead: remediation cost divided by development cost. The calculator below runs both, plus a sprint-time method, and shows the formula behind every number. Go to the calculator
Guided assessment.
Choose a methodology, supply the inputs that match your evidence base, and read the ledger output with formulas attributed.
Financial Impact Model. Best when you need a board-ready dollar figure and lack code-analysis tooling. Inputs are estimates: precision matters less than internal consistency.
Wage plus benefits. Default: BLS mean wage for software developers, $148,100 (May 2025), divided by 68.5%, the wage share of pay for professional jobs (ECEC, June 2026).
Stripe (2018) found 33% on average; Besker et al. (2019) measured 23%.
Older codebases compound debt cost. We apply a 3.5% per year multiplier as a modelling assumption, calibrate to your own trend.
Sev 1 and Sev 2 incidents your post-mortems trace to debt.
Your estimate from incident logs. Priced at loaded salary / 2,080 paid hours. The default of 24 is a placeholder, not a published average.
| Period | Principal carried | Interest accrued | Total period cost |
|---|---|---|---|
| Year 1 | $874K | $0 | $874K |
| Year 2 | $874K | $157K | $1.03M |
| Year 3 | $874K | $343K | $1.22M |
| Cumulative | $3.12M |
Estimates are sensitive to debt-time fraction, the input most likely to be guessed. Run two scenarios, for example 23% (the Besker et al. measured average) and 33% (Stripe's survey mean), and present the range.
Methodology comparison.
There is no single correct way to measure technical debt. The right framework depends on your tooling, your audience, and the precision required. Full analysis on the frameworks page.
| Framework | Inputs | Output | Best for | Tooling |
|---|---|---|---|---|
| TDR | Remediation cost, dev cost | Percentage | Code-level measurement | SonarQube, Qlty |
| SQALE | Issues, remediation time | A to E rating | Industry-standard reporting | SonarQube, plug-in |
| CAST | Violations, principal $ | Dollar principal | Enterprise portfolios | CAST Highlight |
| Financial Impact | Team size, salary, % | Annual dollar cost | Board presentations | None required |
| Time Based | Sprint capacity, debt hours | Capacity loss % | Agile teams | Existing retros |
The reference, mapped.
Frameworks
SQALE, TDR, CAST, Financial Impact, Time Based, side by side.
True Cost
Cost per engineer at $100K, $130K, $160K, $200K. Compounding model.
Assessment
Score eight dimensions with weighted methodology and benchmarks.
Taxonomy
Fowler's quadrant. Eight categories with cost ranges and remediation.
Management
Five strategies compared. Decision tree for your context.
Business Case
Five slide framework for presenting debt to your board.
Enterprise
Portfolio level measurement across dozens or hundreds of systems.
Sprint Budget
Capacity allocation models. The 20% rule and alternatives.
Common questions.
01How do you calculate technical debt?+
Three methodologies dominate. The Technical Debt Ratio (remediation cost divided by development cost) is the measure behind SonarQube's maintainability rating. The Financial Impact model multiplies team payroll by the fraction of time lost to debt, useful when you have no static-analysis data. The Time-Based approach extracts debt hours from sprint retrospectives. The right choice depends on your tooling, your audience, and the precision you need.
02What is a good technical debt ratio?+
Below 5% is healthy and aligns with SQALE rating A. 5 to 10% is manageable (rating B). 10 to 20% is concerning (rating C) and warrants dedicated debt sprints. Above 20% is critical (rating D) and typically blocks new feature work without intervention. Above 50% (rating E) is severe enough that rebuild is often cheaper than refactor. These thresholds are SonarQube's default maintainability rating grid; the rebuild-versus-refactor reading is our guidance, not part of the grid.
03How much does technical debt actually cost?+
CISQ estimates the annual US cost of poor software quality at $2.41 trillion. Stripe found developers spend 33% of their time on debt-related work on average. Besker, Martini and Bosch (2019) measured 23% of developer time wasted to debt, and Stripe's 42% figure counts all maintenance work. McKinsey's 2020 CIO survey put tech debt at 20 to 40% of the value of the technology estate, a balance-sheet measure rather than a share of time. Untreated debt compounds at a modelled 15 to 25% per year. At a loaded cost of $216,200 per engineer (BLS mean wage $148,100, May 2025, divided by the 68.5% wage share of pay, June 2026) and Stripe's 33%, a 12-engineer team loses about $856K a year in velocity loss alone, before incident costs.
04What is velocity tax?+
Velocity tax is the percentage of sprint capacity consumed by debt-related friction rather than feature work. It captures workarounds, debt-forced rework, debugging time on legacy code, and onboarding overhead. A 30% velocity tax means your team ships 70 units of value for every 100 units of effort. The tax compounds because each new feature must navigate around accumulated complexity.
05How accurate are these calculations?+
The Financial Impact model has roughly plus or minus 30% precision because it relies on debt-time estimation. The Technical Debt Ratio is more precise (plus or minus 10%) when you have SonarQube or Qlty output, but only captures code-level debt. Time-Based estimation is the least precise individual data point but the most defensible because it is grounded in retrospective evidence. Best practice: run two methodologies and compare.
06How much should we budget for debt repayment?+
The 20% rule (reserve 20% of every sprint for debt) is the most common starting point and works well for moderate debt. For TDR above 20%, dedicated debt sprints quarterly are more effective. For severe debt (above 50%), debt ceilings that pause feature work until a threshold is met outperform fixed allocations. See the management strategies page for the decision flowchart.
07Why do you cite Stripe, McKinsey, and CISQ?+
They are the most widely cited quantitative sources on developer productivity and software quality cost. Stripe surveyed more than 1,000 developers and more than 1,000 C-level executives in five countries for its 2018 Developer Coefficient study. McKinsey's 2020 survey of 50 CIOs sized tech debt at 20 to 40% of technology-estate value. CISQ (Consortium for Information and Software Quality) publishes its cost of poor software quality report roughly every two years (2018, 2020, 2022). Besker, Martini and Bosch (Journal of Systems and Software, 2019) add a measured figure: 23% of developer time wasted to debt.