← All projects

Fix or Buy New

Tells you whether to repair a broken item or replace it, from cost, age and condition.

Fix or Buy New screenshot
Started2025
Built withNext.js, React, TypeScript, Tailwind CSS, Vercel

Something breaks, you get a repair quote, and you have no idea whether it is a fair deal or a waste of money. Fix or Buy New is a calculator for that moment. You enter what the item cost, what the repair will cost, how old it is, its condition on a one-to-five scale, and whether it is still under warranty. It weighs the repair-to-replacement ratio against age relative to expected lifespan, then returns a plain "fix" or "buy new" with the reasoning written out, including the environmental cost of throwing the thing away.

I built it because the arithmetic is genuinely not obvious, and the default answer people reach for — buy new — is usually the one that suits the retailer rather than the owner.

It runs entirely in the browser with no backend. Alongside the calculator sits a catalogue of around 500 common products with typical prices, repair costs and known faults, generated into a static JSON file so each item gets its own page. Those figures are baked-in averages, not live pricing. Feature work stopped in 2025; since then it has had dependency maintenance only.