Insights · Technical debt

Cost of technical debt: what the company pays, and how to estimate it

Published

By Ithaca

The cost of technical debt is not only what it takes to fix the code. It is what the company pays every month while it lives with old shortcuts: more hours for each change, a share of the IT budget that disappears into maintenance, security and compliance risk, innovation that slips and difficulty hiring people who still know the technology. This piece shows where that cost shows up, how to estimate it in your own company and when it is worth paying.

The full definition of the term, with Ward Cunningham (1992) and the Software Engineering Institute, is already in What is a legacy system: risk signs and when to modernize. The focus here is the bill: principal, interest and decision.

What technical debt is (in one sentence)

Technical debt is the future extra work built into code or architecture decisions that solve today's problem and make the next change more expensive or riskier. Ward Cunningham, in 1992, compared shipping first-time code to going into debt: a little debt speeds development, as long as it is paid back promptly; every minute spent on code that is not quite right counts as interest (The WyCash Portfolio Management System).

It is not a synonym for a bug. A defect breaks behavior now. Technical debt often leaves the system working and only makes what comes next more expensive. Nor is it a synonym for age: an old, stable system can have low interest; a recent monolith with cascading shortcuts can have high interest.

Principal and interest: two different bills

The Consortium for Information & Software Quality (CISQ) splits the debt into two parts, in the report Cost of Poor Software Quality in the US: A 2022 Report and in the automated technical debt measure standard:

  • Principal: the cost of refactoring or changing the software to an acceptable level of maintainability and ability to evolve. It is "what it costs to fix".
  • Interest: the extra effort the team spends on each change because the debt exists: heavier maintenance, more incidents, more computing resources, more time to deliver the same request. It is "what it costs to live with".

The metaphor matters for prioritization. An ugly module that hardly anyone changes can have high principal and low interest: it can wait. A confusing piece of code that shows up in almost every delivery can have smaller principal and high interest: it is the candidate to pay first. CISQ estimates the stock of accumulated technical debt in the United States at about US$ 1.52 trillion in 2022 (principal) and the cost of poor software quality in the country (CPSQ) at no less than US$ 2.41 trillion. These are two separate estimates, not one broken down inside the other. The report says there is not yet a good aggregate estimate of the interest. These are US figures, not your company's cost.

Where the cost shows up in the company

The budget rarely has a line called "technical debt". The cost spreads out. The table summarizes where to look and what to record. It is an observation map, not a benchmark.

Where the cost shows upWhat you see day to dayHow to start measuring
Development timeSimple changes take long; estimates overrun in the same modules; rework and defect fixing take up the sprintHours per week (or per sprint) spent on maintenance, bugs and adaptations forced by the current structure; lead time per area of the system
IT budgetA large share of the budget goes to "keeping what exists", and less is left for new productPercentage of the IT budget and of resources dedicated to dealing with debt / structural maintenance (compare with the Protiviti survey further down)
Risk and securityUnsupported technology, known vulnerabilities, fixes that require an architecture changeInventory of unsupported components; incidents tied to fragile parts; regulatory requirements (in Brazil, the LGPD is the closest example)
Stalled innovationThe roadmap slips because every new feature runs into the same couplingInitiatives postponed or cut because of the cost of change; time to the first useful delivery in a critical area
Hiring and knowledgeFew people on the market for the stack; one or two people hold the know-howTime to fill a position; number of people who can safely change each subsystem

These rows reinforce each other: more time on maintenance squeezes the budget, delays the new and concentrates knowledge in a few people.

What the surveys show (order of magnitude)

Three primary sources give scale. Some of them already appear in legacy system: what it is; they come in here because this page needs the order of magnitude. None replaces measurement in your company.

On the executives' side. The consultancy Protiviti, which also sells modernization services, surveyed 1,050 technology executives, most at companies with revenue of US$ 1 billion or more, in its 2023 Global Technology Executive Survey. Nearly 70% of organizations said technical debt has a high impact on their ability to innovate. On average, they allocated 30% of the IT budget and 20% of resources to dealing with that debt. The sectors with the highest rate were biotech and medical devices (82%), telecommunications (81%) and financial services (78%). These are self-reported answers from large companies, not measurement.

On the developers' side. The report The Developer Coefficient (September 2018), a survey Stripe ran in partnership with Harris Poll that heard from more than a thousand developers and more than a thousand executives in the United States, the United Kingdom, France, Germany and Singapore, has two separate questions. Developers estimated, at their own company, 17.3 hours of an average 41.1-hour week spent on maintenance (bad code, errors, debugging, refactoring and modifying). On the explicit question about technical debt, the average was 13.5 hours. The 17.3 h measures maintenance, not the technical debt question. It is a self-reported estimate, not measurement. Stripe also estimated at about US$ 85 billion a year the global opportunity cost associated with time spent on "bad code". Correct label: 17.3 h is maintenance; 13.5 h is the technical debt question.

On the stock side. The CISQ figures above (no less than US$ 2.41 trillion of CPSQ in the US; ~US$ 1.52 trillion of principal) are useful for market scale, not for your plan.

The code modernization guide published by Anthropic, The Code Modernization Playbook, treats technical debt, in the company's view, as one of the trends that hold back digital transformation. It is material from a company that sells AI models for this work: read it as a vendor's diagnosis, not as research. The guide uses, as a rule of thumb, a share above 40% of time spent on maintenance as a sign that modernizing is worthwhile. It is the vendor's criterion, not research data.

How to estimate it in your company

You do not need a full financial model to start. You need three honest numbers and a comparison.

  1. Choose the scope. A system or a set of modules the business still uses and that changes often. Leave out what almost nobody touches.
  2. Estimate the interest (cost of living with it). For a few weeks or one sprint, log hours spent on: fixing bugs tied to the current structure; extra time to deliver features in the fragile modules; incidents and hotfixes. Add them up.
  3. Estimate the principal (cost of fixing it) in the hotspots. For the two or three pieces that generate the most interest, ask the team for an effort range to make the piece safe to change (refactor, cover with tests, cut coupling). A range is enough: "from X to Y person-days".
  4. Compare accumulated interest with principal. If a few months of interest already approach the hotspot's principal, the numbers favor paying. If the module hardly changes, the interest is low and the principal can wait.

Example formula (illustration, not data)

This formula is a teaching example for turning hours into money. The values H, S and C are placeholders: you fill them in with your company's numbers. No value here is an Ithaca measurement or a market average.

Estimated interest for the period ≈ H × S × C

where:

  • H = hours per week (or per sprint) the team attributes to the debt in the chosen scope;
  • S = number of weeks (or sprints) in the period you want to look at (for example, a quarter);
  • C = average cost per hour of the team involved (salary + payroll charges + the overhead the company already uses in other engineering calculations).

A numerical example only to read the formula (numbers made up on purpose, marked as fictitious): if a team logs H = 40 hours per week attributable to the debt in a module, looks at S = 12 weeks and uses C = R$ 150 per hour, the illustrative interest for the quarter would be 40 × 12 × 150 = R$ 72,000. If, still in the same fictitious example, the principal of that hotspot is between R$ 80,000 and R$ 100,000, the comparison only illustrates how to put the two bills together; it is neither a forecast nor an average. Replace every number with your own. Without the hour log and without the real hourly cost, the formula proves nothing.

Three cautions:

  • Do not mix healthy routine maintenance with debt interest. Separate what would exist even in healthy code.
  • Prefer a trend to a single snapshot: the same measurement next quarter shows whether the debt is growing or shrinking.
  • Static analysis (the remediation index in code quality tools) helps with the principal, but does not replace the team's perception or delivery metrics. CISQ formalizes the automated measure of remediation effort; the interest still depends on what happens on the team's calendar.

When it is worth paying down the debt

Paying makes sense when the interest is high and recurring, the risk already has a date (end of support, a vulnerability with no local patch, dependence on a single person) or the business roadmap depends on changing precisely the fragile area. When the dependence on a single person comes from a language with few people on the market, the options are in COBOL, Delphi and VB6 developer shortage. What to do when the vulnerability arrives and the version is no longer supported is in PHP2Shell and legacy PHP. Postponing makes sense when the module is stable, the principal is out of proportion to the return and there is a written plan to keep the debt from growing without an owner.

Practical signs that the conversation with the board should already be open:

  • The share of the week spent on maintenance crosses a threshold the team itself considers sustainable (the 40% rule of thumb in Anthropic's guide is an example of a vendor threshold, not a standard).
  • The same hotspot shows up in several sprints in a row.
  • New hires stall because the stack has left the market.
  • Security or compliance requirements do not fit without changing the architecture.

Changing servers without paying the principal at the highest-interest points does not cut the interest. The difference between migrating and modernizing is in lift and shift vs. modernization.

When the decision is to really modernize, and not just put out this month's fire, the path is to replace in parts, with the new alongside the old. The step-by-step is in How to modernize a legacy system: a step-by-step guide. The platform's method, for systems that cannot stop, is in Legacy system modernization with AI, without stopping the business.

The interest and principal calculation ties in with maturity level: the four-level map is in legacy modernization maturity.

Where the platform comes in

On the agentic development platform, coding agents read the system in production, help characterize the current behavior and build the new part alongside. The client's team sets the limits and keeps the record of each session (request, steps, model, cost, result and authorship). Before going to production, everything is reviewed by people, from Ithaca's team or the client's, depending on the project. That does not erase the debt on its own: it makes it cheaper to map the principal in the hotspots and pay it in checkable slices.

If your team already feels the interest, the first step is a free assessment: the agents read the system with your team.

Request a free assessment

Frequently asked questions

What is the cost of technical debt?

It is the sum of the principal (what it costs to fix) and the interest (what it costs to live with: extra time, maintenance budget, risk, postponed innovation and difficulty hiring). The cost that weighs most day to day is usually the interest, because it recurs every cycle.

Are technical debt and maintenance the same thing?

No. Maintenance includes the healthy work of running and evolving the system. Technical debt is the share built into shortcuts and designs that make the next change more expensive. In the 2018 Stripe survey, the maintenance question (17.3 h) and the technical debt question (13.5 h) are separate. Anyone who cites 17.3 h as "technical debt" is using the wrong label from the survey.

How do I measure technical debt in my company?

Start with the scope that changes most, log interest hours for a few weeks, estimate the principal of the hotspots as an effort range and compare. Static analysis tools help with the principal; the team's perception and lead time per module show the interest.

When is it worth paying down technical debt?

When the interest is high and recurring, the risk has a deadline (support, security, compliance) or the roadmap depends on that area. A stable, little-used module can wait, as long as the debt is recorded and has an owner.

Is modernizing the legacy system the only way to pay down the debt?

No. Refactoring a hotspot, covering it with tests and cutting a coupling already pays down local principal. Modernizing in parts comes in when the debt is spread across the architecture, the stack or the way of delivering, and the cost of living with it already competes with the cost of building the new system alongside.

Sources

  1. Ward Cunningham, "The WyCash Portfolio Management System", OOPSLA 1992. http://c2.com/doc/oopsla92.html (accessed 13 October 2026).
  2. Consortium for Information & Software Quality (CISQ), Herb Krasner, "Cost of Poor Software Quality in the US: A 2022 Report", 2022. https://www.it-cisq.org/the-cost-of-poor-quality-software-in-the-us-a-2022-report/ · PDF: https://www.it-cisq.org/wp-content/uploads/sites/6/2022/11/CPSQ-Report-Nov-22-2.pdf · press release 6 December 2022: https://www.it-cisq.org/press-releases/12-06-22/ (no less than US$ 2.41 trillion of CPSQ; ~US$ 1.52 trillion of technical debt principal; two separate estimates; principal vs. interest).
  3. CISQ, "Technical Debt Standard" (Automated Technical Debt Measure). https://www.it-cisq.org/standards/technical-debt/ (accessed 13 October 2026).
  4. Protiviti, Global Technology Executive Survey 2023. https://www.protiviti.com/us-en/global-technology-executive-survey-tech-debt-major-burden · press release 29 March 2023. (nearly 70%; 30% budget / 20% resources; 82% / 81% / 78%; n = 1,050).
  5. Stripe and Harris Poll, "The Developer Coefficient", September 2018. https://stripe.com/files/reports/the-developer-coefficient.pdf (17.3 h maintenance / 41.1 h; 13.5 h technical debt; ~US$ 85 billion opportunity cost of "bad code").
  6. Anthropic, "The Code Modernization Playbook" (vendor material, undated; accessed 13 October 2026). https://resources.anthropic.com/code-modernization-download (the 40% rule of thumb).

Start with what weighs most on your backlog.

Tell us what is stuck. After the NDA and access to the code, the agents read the system with your team and show where to start.

Phone is optional. How we use your data, including to measure our ads: Privacy policy.