How to Calculate Rework Cost: Three Methodologies, With Worked Examples

Updated 17 April 2026

Most "rework cost formula" articles give you a single equation and call it done. The problem is that the simplest formula -- rework hours times hourly rate -- is almost always an underestimate, sometimes by a factor of 3-5x. This page covers three methodologies at increasing levels of rigour, with a worked example for each.

Choose the methodology that matches your data maturity. Teams with no rework tracking should start with Method 1. Teams with good ticket hygiene should use Method 2. Teams preparing a board-level ROI case should use Method 3.

The simplest formula

rework_cost = rework_hours x fully_loaded_hourly_rate

This is the floor estimate. It counts engineering time spent on rework but misses customer impact, morale costs, delayed feature opportunity cost, and the compounding effect of deferred technical debt. Use this number as a minimum, not a central estimate.

Method 1: Top-Down Sprint Allocation

The fastest way to estimate annual rework cost requires three numbers: team size, average fully-loaded cost per engineer, and an estimated rework percentage. The rework percentage can come from a sprint retrospective survey, from DORA benchmark comparison, or from the NIST 2002 default of 25% for average teams.

annual_rework_cost = team_size x fully_loaded_annual_cost x rework_pct

Worked example:

  • Team size: 20 engineers
  • Fully-loaded cost: $200,000 per engineer per year
  • Rework percentage: 25% (NIST industry average)
  • Result: $1,000,000 per year

That is $83,333 per month, or 260 person-weeks per year spent redoing work that was already done once. The calculator on the homepage runs this method.

Fully-loaded cost derivation: BLS May 2024 software developer median salary is approximately $130,000. Adding employer taxes (7.65%), health and benefits (15-20%), tooling and licences ($5,000-$15,000/year), and office or remote overhead, a typical fully-loaded cost for a US-based engineer is $170,000-$220,000. Principal and staff engineers in high-cost-of-living areas routinely exceed $300,000 fully loaded. The calculator defaults to $200,000 as a reasonable midpoint.

When to use Method 1: Initial estimates, board presentations, budget requests where order-of-magnitude accuracy is sufficient. Takes 5 minutes. The main risk is that the rework percentage estimate is wrong -- validate against Method 2 when possible.

Method 2: Bottom-Up Ticket Analysis

If your team uses Jira, Linear, or GitHub Issues with consistent labelling, you can derive rework cost from actual ticket data. This method is more precise than Method 1 but requires at least 2-3 sprints of clean data to be meaningful.

rework_cost = (rework_story_points / total_story_points) x annual_team_cost

Worked example:

  • Story points on bug / hotfix / regression tickets last sprint: 18
  • Total story points delivered last sprint: 80
  • Rework ratio: 18/80 = 22.5%
  • Annual team cost (20 engineers x $200k): $4,000,000
  • Result: $900,000 per year

Jira JQL query for rework tickets:

project = "YOUR_PROJECT"
AND issuetype in (Bug, Task)
AND labels in (rework, hotfix, regression, "tech-debt-fix")
AND created >= startOfQuarter()
AND status = Done
ORDER BY created DESC

Sum the story points on all matching tickets, divide by total points delivered in the same period, and apply that ratio to your annual team cost. For accuracy, exclude tickets explicitly labelled as "planned refactor" or "tech debt paydown" -- these are investments, not failures.

When to use Method 2: Quarterly reviews, team retrospectives, head-of-engineering reporting. Requires 2-3 sprints of data minimum for statistical meaning. The risk is label inconsistency -- a team that does not consistently tag rework tickets will undercount.

Method 3: Defect Escape Rate (Most Rigorous)

The most expensive rework is the rework that reaches production. IBM Systems Sciences Institute (1995) documented that defects found in production cost 10-100x more to fix than those caught in development, depending on the phase of original introduction. The escape rate method directly prices this multiplier.

escaped_defect_cost = escaped_defects x avg_fix_hours x hourly_rate x production_multiplier

Worked example:

  • Escaped defects per year: 24 (tracked in incident management system)
  • Average hours to diagnose and fix in production: 20h
  • Fully-loaded hourly rate: $96/h ($200,000 / 2,080 working hours)
  • Production multiplier (conservative): 10x (IBM SSI; lower bound for mature CI/CD teams)
  • Escaped defect cost: $460,800 per year

This figure does not include customer-facing impact (lost revenue, churn, reputation), which can multiply the number further. The 10x multiplier is conservative -- IBM's research supports up to 100x for requirements-origin defects in enterprise codebases.

When to use Method 3: Board-level ROI cases, budget requests for QA headcount or testing tooling, post-incident retrospectives. Requires incident data from a monitoring system (PagerDuty, Sentry, Datadog). The most defensible number for an engineering leader making a financial argument to a CFO.

The Full COPQ Framework

Cost of Poor Quality (COPQ), originally codified by Joseph Juran in his Quality Handbook (1951) and adopted by ASQ, divides all quality-related costs into four buckets. Rework occupies two of them:

CategoryWhat It CoversSoftware ExamplesRework?
PreventionCosts to prevent failures from occurringDesign reviews, spec sessions, training, test automation buildNo -- this is the investment
AppraisalCosts to evaluate conformanceCode review, QA, automated testing, auditsNo -- gatekeeping cost
Internal FailureFailures caught before deliveryBug fixes, re-coding, re-testing, sprint spilloverYes -- most sprint rework is here
External FailureFailures that reach the customerHotfixes, incident response, refunds, churn, reputationYes -- the most expensive category

The NIST 2002 study found that organisations typically spend 80% of software development costs on identifying and correcting defects, with only 20% on prevention and appraisal. This ratio is roughly inverted from the optimal: mature organisations (Capers Jones data) achieve ratios closer to 60% prevention/appraisal and 40% failure costs, and sustain lower total COPQ as a result.

The NIST 1% finding: The same NIST report found that a $1 increase in prevention spending typically reduces failure costs by $40. This is the strongest published ROI argument for investing in code review, test automation, and spec quality -- each dollar of prevention removes $40 of rework. See the reduce page for the ranked playbook.

The Costs You Are Ignoring

All three methodologies above count only engineering time. The true cost of rework is higher for three reasons that are harder to quantify but documented in the literature:

Frequently Asked Questions

What is the rework cost formula?

The simplest formula: rework_cost = rework_hours x fully_loaded_hourly_rate. A more useful top-down version for planning: annual_rework_cost = team_size x fully_loaded_annual_cost x rework_percentage. Both are floor estimates because they miss customer-impact costs, opportunity costs, and morale effects.

What is COPQ in software development?

Cost of Poor Quality (COPQ) divides quality costs into prevention, appraisal, internal failure, and external failure. Rework sits in internal failure (caught before release) and external failure (reaches customers). NIST (2002) estimated $59.5 billion in annual COPQ from inadequate software testing alone in the US economy.

How do I calculate defect escape rate?

Defect escape rate = (defects found in production / total defects found) x 100. A team that finds 100 defects in total and 20 reach production has a 20% escape rate. DORA 2024 elite teams report change failure rates below 5%; low performers above 30%.

What is the fully-loaded cost of a software engineer?

Fully-loaded cost = base salary + employer tax + benefits + tooling + office or remote overhead. BLS May 2024 shows median US software developer salary at approximately $130,000. Adding typical loading brings the fully-loaded cost to $170,000-$220,000 for a median US developer. Senior and staff engineers in high-cost-of-living areas exceed $300,000 fully loaded.

Continue reading:

Sources

  1. Juran, J. Quality Control Handbook. McGraw-Hill, 1951. (COPQ framework)
  2. NIST Planning Report 02-3. The Economic Impacts of Inadequate Infrastructure for Software Testing. RTI International, 2002.
  3. IBM Systems Sciences Institute. Relative Costs of Fixing Defects. IBM, 1995.
  4. Boehm, B. Software Engineering Economics. Prentice-Hall, 1981.
  5. Jones, C. Applied Software Measurement. 3rd ed. McGraw-Hill, 2008.
  6. US Bureau of Labor Statistics. Occupational Employment and Wages, May 2024: Software Developers. BLS, 2024.
  7. McKinsey. Developer Velocity Index 2023. McKinsey Digital, 2023.
  8. Stripe. The Developer Coefficient. 2018.