In the Enterprise architecture guide

Is it worth paying down this technical debt?

The short answer

Price the interest in money; if payback beats other work, fund it

Updated · 1 min read

Calculator

What this debt costs, and whether to fix it

Enter the yearly interest on the debt in 3 parts, the one-off cost to fix it, and how long the system will keep running.

Yearly interest

Hours times a loaded rate

Extra hours per change, times changes, times rate

The fix

Payback

2.1 years

Interest of $0.31 million a year. Worth funding: payback within 3 years.

Extra infrastructure$0.12 million
Incident time$0.06 million
Slower changes$0.13 million

Over the remaining life

Interest paid if nothing changes
$1.55 million
Cost to fix
$0.64 million
Net value of fixing
$0.91 million

Figures in millions of dollars a year. Starting values are Halden Freight's shipment tracking platform, which is fictional and illustrative. Nothing you enter is stored or sent unless you email yourself the results.

This calculator prices technical debt the way a portfolio decides on any other investment. Enter what the debt costs each year, its interest, in 3 parts: extra infrastructure, time spent on incidents, and slower changes. Enter what it would cost to fix and how many years the system will keep running. It returns the yearly interest, the payback period and the net value over the remaining life.

How to use the calculator

  • Estimate the extra infrastructure cost the debt causes each year.
  • Estimate the cost of incident time it causes: hours times a loaded hourly rate.
  • Estimate the cost of slower change: extra hours on each change, times the number of changes a year, times the rate.
  • Enter the one-off cost to fix it and the remaining life of the system.

How it works

Yearly interest is the sum of the 3 parts. Payback is the fix cost divided by the yearly interest. Net value is the yearly interest times the remaining life, minus the fix cost. The method, and how to put the result through the portfolio, is on the technical debt page.

The starting values are Halden Freight's shipment tracking platform: $0.12 million a year of extra infrastructure, $0.06 million of incident time and $0.13 million of slower change, $0.31 million a year in all, against a $0.64 million fix and 5 more years of life. Payback is about 2 years.

Questions leaders ask

How do you measure technical debt in money?

Price its interest: the extra cost the debt causes each year. That usually means extra infrastructure, time spent on incidents it causes, and the extra effort on every change to the affected code. Adding those gives a yearly figure that can be compared with the one-off cost of fixing it, like any other investment.

When is technical debt worth paying down?

When the yearly interest is high relative to the fix cost and the system will run long enough to recover it. A payback of 2 or 3 years on a system with 5 or more years of life is usually worth funding. Debt in a system about to be retired is usually not, however annoying it is.

Should technical debt be funded from the portfolio or team capacity?

Small, local debt is best paid down inside team capacity, often with a set share of each sprint. Larger debt, with a clear cost and payback, should compete for funding in the portfolio like any other investment, so it is weighed against new features on the same terms rather than deferred indefinitely.

Keep goingSee every guide in the series