Technical Debt Ratio

Sonar/SQALE-inspired ratio. Lower is better; thresholds vary by org risk appetite.

TDR % = remediation cost ÷ development cost × 100 (SQALE-style).

Tip: Keep “Remediation Cost” and “Development Cost” on the same basis (currency, tax treatment, and time period) before you calculate.

Cluster: Software Development hub · DevOps hub · Percentage guide

Technical debt ratio compares estimated remediation cost to the cost (or value) of developing the software.

Enter remediation cost and development cost in the same currency.

$
Estimated cost to pay down debt
$
Cost (or value) of developing the software

Technical Debt Ratio

Understanding Technical Debt Ratio

How we calculate. TDR % = remediation cost ÷ development cost × 100 (SQALE-style). See our methodology and accuracy policy .

Real-world scenario: A typical Technical Debt Ratio case uses remediation cost 40000 and development cost 500000. Enter the same figures below to reproduce the worked path.

What is Technical Debt Ratio?

Sonar/SQALE-inspired ratio. Lower is better; thresholds vary by org risk appetite.

  • Remediation = estimated fix cost for debt items
  • Development cost = build cost or replacement value
  • Use consistent costing

The Formula

Technical Debt Ratio
TDR % = (Remediation cost ÷ Development cost) × 100

Worked Example

Scenario: Remediation cost $40,000; development cost $500,000.
Step 1: 40k ÷ 500k = 0.08
Step 2: × 100 = 8%
Answer: Technical debt ratio is 8%.

Common Use Cases

  • Architecture reviews: debt posture
  • Investor/board packs: quality risk
  • Sprint allocation: debt budget

Pro Tips

  • Don’t inflate remediation
  • Separate intentional debt
  • Trend monthly
ScenarioWhen to use
Percent of a numberFinding a part of a whole (tax, tip, score)
Percent changeComparing old vs new values

Limitations: Technical Debt Ratio results are educational software estimation aids—not bids, contracts, or performance scores. Calibrate models to your organization’s history.

Common mistakes

  • Swapping part and whole: The denominator must be the full total, not a subset.
  • Rounding too early: Carry extra decimal places through multi-step work before rounding the final percent.
  • Mixing percent and decimal forms: Enter rates in the format the calculator labels expect.

The worked example for technical debt ratio was verified with the calculator form on this page—enter the same values to confirm the result.

When to use this calculator

  • Use this page when your wording matches technical debt ratio and the form labels on screen.
  • Use percent of a number for “what is X% of Y?” problems.
  • Use number is what percent when you know part and whole and need the percent.

Still unsure about technical debt ratio? Start with the quick answer above, then open the linked calculator that matches your wording.

Frequently Asked Questions

How do I use this technical debt ratio calculator?

For technical debt ratio, enter the values labeled on the form, then press Calculate. Compare the result to the worked example on this page.

What formula does this page use?

See the quick answer and formula box above for technical debt ratio—the same percentage calculator expression is applied to your inputs.

What if my result looks wrong?

When checking technical debt ratio, re-check part vs whole (or rate vs base), rounding, and whether percents were entered as 25 rather than 0.25 when the form expects percents.

Authoritative References

For estimation and quality models, consult: