The maths
Three rules, all visible.
The calculator is a tool for thinking, not an oracle. Here is exactly what it computes and how much of it is evidence.
The rules
Let quote be the repair quote, net the replacement price minus any trade-in value, age the age in years and life the expected life.
Rule 1: share of the new price
quote / net, replace if at or above the limit (starting value 50%)
Rule 2: cost per year of use
quote / max(min years, life - age) versus net / life; replace if repair costs more per year
Rule 3: parts and service window
age at or above the window (starting value 5 years) votes replace
Replace votes: 0 gives repair, 1 lean repair, 2 lean replace, 3 replace. A swollen, hot or smelly battery gives stop instead, whatever the numbers say. Missing or impossible inputs give no verdict. The engine is covered by written test cases in the project repository.
What is evidence and what is an assumption
| Value | Starting value | Status |
|---|---|---|
| Repair-share limit | 50% | Rule of thumb. No source captured. Change it. |
| Expected life | phone 4, tablet 5, laptop 5, console 7 years | Starting values only; not statistics and not sourced. They are placeholders for your own judgement. |
| Parts window | 5 years | Apple states service and parts are available for a minimum of 5 years (up to 7 in some cases). Other makers differ and were not captured. |
| Minimum years credited | 1 year | A technical floor so very old devices do not divide by zero. Not a claim about device life. |
Source: Apple: Obtaining service for your Apple product after an expired warranty (opened 2026-11-23)
Battery cycle ratings (Apple design figures)
Apple states these batteries are designed to retain 80% of original capacity at: iPhone 14 models and earlier, 500 complete charge cycles; iPhone 15 models, 1000; iPad, 1000; Apple Watch, 1000; MacBook, 1000; iPod, 400. Apple notes these are under ideal conditions and that real performance depends on use and charging. Other makers' ratings were not captured.
Source: Apple: Battery Service and Recycling (opened 2026-11-23)
What the calculator cannot see
- Whether the repair itself is good: parts quality, warranty and the repairer. Ask the questions on the checklist page.
- What the device means to you. A device with irreplaceable data or an accessibility setup can justify a repair the maths rejects.
- Current prices. You supply every price; the site holds none.
- Environmental cost. Not modelled, and no source was captured for it.