Repair versus replace calculator
Open Repair versus replace calculator on Happytails.ai. This view has the same page content and links, with explicit tool capabilities. Read the processing notes before using a tool.
Tool capabilities
{
"id": "repair-versus-replace-calculator",
"category": "calculators",
"built": true,
"requirements": "Up to 50 horizon years and 100 years per asset life. Costs remain constant. No repeated repairs, financing, inflation, market valuation or equipment reliability is inferred.",
"implementation": {
"fields": [
{
"key": "repairCost",
"label": "Repair cost paid now",
"value": 100,
"type": "number",
"min": 0,
"max": 1000000000,
"step": "any"
},
{
"key": "replacementCost",
"label": "Replacement purchase cost",
"value": 500,
"type": "number",
"min": 0,
"max": 1000000000,
"step": "any"
},
{
"key": "repairLifeLow",
"label": "Shorter successful-repair life (years)",
"value": 2,
"type": "number",
"min": 1,
"max": 100,
"step": 1
},
{
"key": "repairLifeBase",
"label": "Expected successful-repair life (years)",
"value": 4,
"type": "number",
"min": 1,
"max": 100,
"step": 1
},
{
"key": "repairLifeHigh",
"label": "Longer successful-repair life (years)",
"value": 6,
"type": "number",
"min": 1,
"max": 100,
"step": 1
},
{
"key": "newLife",
"label": "Lifetime of each replacement (years)",
"value": 8,
"type": "number",
"min": 1,
"max": 100,
"step": 1
},
{
"key": "oldAnnual",
"label": "Annual operating/maintenance cost after repair",
"value": 120,
"type": "number",
"min": 0,
"max": 1000000000,
"step": "any"
},
{
"key": "newAnnual",
"label": "Annual operating/maintenance cost of replacement",
"value": 70,
"type": "number",
"min": 0,
"max": 1000000000,
"step": "any"
},
{
"key": "success",
"label": "Assumed probability the repair succeeds (%)",
"value": 90,
"type": "number",
"min": 0,
"max": 100,
"step": "any"
},
{
"key": "horizon",
"label": "Comparison horizon (years)",
"value": 10,
"type": "number",
"min": 1,
"max": 50,
"step": 1
},
{
"key": "discount",
"label": "Annual discount rate (%)",
"value": 3,
"type": "number",
"min": 0,
"max": 100,
"step": "any"
},
{
"key": "residual",
"label": "Asset value at the horizon",
"value": "Linear remaining-life credit",
"type": "select",
"values": [
"No end-value credit",
"Linear remaining-life credit"
]
},
{
"key": "currency",
"label": "Currency of all entered costs",
"value": "USD",
"type": "select",
"values": [
"USD",
"EUR",
"GBP",
"CAD",
"AUD",
"Other"
]
}
],
"input": false,
"background": false,
"live": true,
"presentation": "metrics",
"note": "Compare replacement now with three repaired-life scenarios over the same horizon. Costs, life and repair success are supplied assumptions. A failed repair is paid for and followed by immediate replacement. Runs on your device. Changing units keeps the entered numbers.",
"experience": {
"automatic": true,
"single": false,
"inputMaxLength": 1000000,
"inputMode": "text",
"label": "Your text",
"placeholder": "Type or paste your input…",
"help": "Change the input or settings to update your result. Results update as you type. Up to 1,000,000 characters.",
"helpParts": [
"Change the input or settings to update your result.",
"Results update as you type.",
"Up to 1,000,000 characters."
],
"action": null
},
"mode": "automatic",
"interactive": false
},
"execution": "Browser interface",
"api": null,
"browser_agent": {
"supported": true,
"name": "run_current_tool",
"discovery": "WebMCP on the human page in a supporting browser",
"verification": "See audit/API-AUDIT.md; availability is not verification"
}
}Page guide
Compare repair and replacement over the same horizon with three repair-life scenarios and an annual cost schedule.
How to use Repair versus replace calculator
- Enter your measured quantities, units and assumptions.
- Review the calculated result and the stated limits.
- Download the report or plan for your project.
Useful next steps
Compare the complete ownership period
Enter repair and replacement costs, annual operating costs and the expected life of a new replacement. Choose shorter, expected and longer successful-repair lives, then a shared horizon.
See how assumptions change the result
Enter the chance that repair succeeds and an annual discount rate. Failure means paying for the repair and then replacing immediately. Optional end-value credit uses remaining replacement life, not an invented resale price.
Save the measurements and assumptions
Download CSV and a text or JSON report. The calculation runs on your device. Changing a unit keeps the number you entered, so check both before using the result.