Compare repair to replacement value
Use the price of a realistic replacement, not the original purchase price alone.
Consider remaining service life
A major repair near the end of expected life carries different risk from the same repair on a newer product.
Check parts and support
Parts availability and repairability can determine whether future problems are practical to fix.
Include non-price factors
Downtime, setup, data transfer, compatibility and waste can influence the better choice.
General educational information only. Consumer rights, tax treatment, warranty obligations and return remedies vary by seller, product and jurisdiction. Use the actual contract/policy and current official consumer guidance where rights matter.