defectescaperate.comEscape rate, leakage and what counts

Defect leakage: how to count it, stage by stage

Defect leakage is the share of defects one stage misses that a later stage finds.

Updated December 3, 2026 · formulas from ISTQB, QAble and Notarus, read that day; the 100-defect release is a worked example.

What is the defect leakage formula?

Defect leakage in software testing, also called bug leakage, is a ratio for one stage: defects found after it, divided by the defects found in it plus after it. As a percentage:

leakage = found after the stage ÷ (found in it + found after it) × 100

If system testing finds 40 bugs and user acceptance testing then finds 10 more, system testing leaked 10 ÷ (40 + 10) = 20%. The other version divides by the stage's own count only: 10 ÷ 40 = 25%, and it can pass 100%. QAble's calculator offers both. The defect leakage ratio on this page is the first, because it matches escape rate and ISTQB's detection percentage.

Is defect leakage the same as defect escape rate?

Escape rate is leakage taken at one point: the release. Leakage can be taken after any stage. In the table below, the release's escape rate is 10%, while every stage before it leaked more, because each stage's "later" includes the stages after it, not just production.

How do you assign a leak to a stage?

Record, for every defect, the stage where it was found. Then a stage's leak is everything found after it. A worked release with 100 defects in all, the numbers stated here, not industry figures:

StageFound in stageFound laterLeakage
Code review307070% (70 ÷ 100)
Unit and CI tests254564% (45 ÷ 70)
System testing252044% (20 ÷ 45)
User acceptance testing101050% (10 ÷ 20)
Production (escaped)10–escape rate 10% (10 ÷ 100)

This simple version charges every later defect to each stage. The strict version, as Notarus describes it, counts only later defects the stage could have found, which needs a "should have been caught in" field at triage (escaped defects).

What does high leakage out of code review mean?

In the worked release, review caught 30 and leaked 70%. Some of that is expected: review sees code, not running software. But Capers Jones found formal design and code inspections more than 65% efficient, against under 50% for most forms of testing, so a review step that catches far less than that is worth a look. Small pull requests, a checklist, and a second reader on risky files all help.

On GitHub, a review app can read every push before a person does. IonWarp runs up to eight agents on each push, puts each finding on its line with P0, P1 or P2 and a fix, and its check can block a merge on a P0; $49 a month per workspace with 5 seats. It records the bugs reviewers caught, not the ones found later, so the leakage count stays in your tracker. Other review apps, with prices, are on the home page.

How does leakage relate to ISTQB's defect detection percentage?

ISTQB defines defect detection percentage as "the number of defects found by a test level, divided by the number found by that test level and any other means afterwards" (ISTQB glossary). That is the share caught, so it is 100% minus leakage: system testing above caught 25 of 45, a detection percentage of 56% and leakage of 44%.

Which report shows leakage by stage?

A grid of the two fields: rows for where each defect was found, columns for where it should have been caught. The diagonal is what each stage caught; everything right of it leaked. Most trackers can build it from two custom fields and a pivot, per release.

Defect leakage questions

What is a good defect leakage percentage?

No standards body sets one. Compare a stage with itself across releases, and compare stages within one release to see which check misses most.

Is defect leakage the same as bug leakage?

Yes, the two names are used for the same ratio. Some teams say bug leakage for production only, which is the escape rate.

Does ISTQB define defect leakage?

Its glossary has no entry for it. Its nearest term is defect detection percentage, the share a test level caught, which is 100% minus leakage in the version on this page (ISTQB).

Can leakage be over 100%?

Only in the after-divided-by-before version: 30 defects found after a stage that found 20 is 150%. The version on this page tops out at 100%.

Should leakage count bugs a stage couldn't have found?

The strict version doesn't: Notarus counts only defects found later that the stage could have found. The simple version charges every later defect to each stage. Say which one you report.

How this page was checked

  1. ISTQB: defect detection percentage
  2. QAble: defect metrics calculator
  3. Notarus: defect leakage
  4. Capers Jones: Software Defect Removal Efficiency (2011)
  5. IonWarp review docs and IonWarp pricing

All read December 3, 2026. The 100-defect release is a worked example, not data.