MotorMath
Cost of Ownership

Optimal Time to Sell Calculator

Find the ownership year with the lowest average annual cost of depreciation plus maintenance.

Last updated:

What this tool does

This calculator finds the ownership year at which the average annual cost—cumulative depreciation plus cumulative maintenance—reaches its minimum. It takes purchase price, annual depreciation rate, first-year maintenance, and annual maintenance growth, then iterates over a 15-year horizon to identify the year with the lowest per-year cost. The result represents a pure economic minimum; actual selling decisions depend on individual circumstances.

Inputs
(£)
(%)
(£)
(%)
Result
Result

Continue with your figures

These calculators share inputs with this one. Change a value above and your figures travel with the link, in the part of the URL your browser never sends to a server.

Formula
Optimal year to sell (years)
Purchase price (£)
Annual depreciation rate (decimal)
First-year maintenance cost (£)
Annual maintenance growth rate (decimal)
Planning horizon (years)

How Optimal Time to Sell Calculator works

The tool computes the average annual cost of ownership for each year from 1 to 15, where average annual cost equals cumulative depreciation plus cumulative maintenance divided by the number of years held. Depreciation compounds annually at a constant rate; maintenance starts at the first-year figure and grows each year by the specified percentage. The calculator reports the year with the lowest average, the average cost at that point, the remaining vehicle value, and the total cost incurred over the optimal holding period.

The formula

For each year y from 1 to 15:
Value at year y = Purchase price × (1 − depreciation rate)y
Cumulative depreciation = Purchase price − Value at year y
Cumulative maintenance = Σ (First-year maintenance × (1 + growth rate)k−1) for k = 1 to y
Average annual cost = (Cumulative depreciation + Cumulative maintenance) / y
The year with the smallest average annual cost is returned as the optimal time to sell.

Where this method is most accurate

The model assumes constant-percentage annual depreciation and constant-percentage maintenance growth. It is most representative of vehicles driven moderate, predictable miles per year, with no major repairs, accidents, or model-specific resale anomalies. Real-world depreciation curves often steepen in year one and flatten after year five, and maintenance spikes can occur unpredictably with component failures or major service intervals.

What this tool does not do

It does not forecast actual resale prices, account for tax, insurance, or fuel costs, or incorporate market trends, mileage, regional demand, or model popularity. The tool does not advise when an individual should sell a specific car; it provides a purely numerical minimum point based on the user's own inputs. Actual sale timing depends on personal need, market conditions, and vehicle-specific condition.

Disclaimer

This calculator is an educational tool that performs arithmetic using inputs supplied by the user. It does not constitute financial advice, vehicle valuation, or a recommendation to buy or sell any car. MotorMath publishes the formula; every result derives entirely from user-entered data.

Questions

Why does the optimal year sometimes occur early in ownership?
When depreciation is steep and maintenance growth is modest, the average annual cost may be lowest in years 3–5, because later years add relatively little depreciation loss but accumulate high maintenance charges that raise the average.
What if my actual maintenance does not grow at a constant percentage?
The tool models smooth exponential growth. Real maintenance can spike in major-service years or remain flat for several years; users can adjust the growth rate or first-year figure to approximate their own pattern.
Does the calculator account for first-year new-car depreciation being higher?
No. It applies the same percentage rate every year. To model steeper first-year loss, users may run two scenarios: one with a higher rate for year one, then a second with a lower rate for subsequent years.
Can this tool tell me the best month or mileage to sell?
No. It computes an annual integer year and does not incorporate mileage, seasonality, or market timing. Those factors require market data and vehicle-specific condition assessments outside the scope of this formula.
Why is the horizon capped at 15 years?
The code searches years 1–15 to balance computational simplicity with the typical ownership span. Most personal vehicles see optimal economic replacement within that window; extending the range rarely changes the result.

Spotted something off?

Calculations or display — let us know.

Sources & Methodology

The calculator iterates from year 1 to year 15, computing cumulative depreciation as purchase price × (1 − r)^y and cumulative maintenance as the sum of first-year maintenance × (1 + g)^(k−1) for k = 1…y. Average annual cost = (cumulative depreciation + cumulative maintenance) / y. The year with the minimum average is returned. This is a discrete-search optimisation over a finite horizon; no closed-form solution exists for arbitrary r and g.

Related tools

People also use