Skip to content

Sources & calculation rules

How DriveCost calculates your estimate

Every result depends on a vehicle record, a distance and a set of prices. This page explains which inputs are published data, which are assumptions and what the result leaves out.

Updated · DriveCost

Energy formulas and units

For liquid fuel in metric units, annual fuel cost = annual km × L/100 km ÷ 100 × price/L. In U.S. units, annual fuel cost = annual miles ÷ MPG × price/US gallon. A US gallon is 3.785411784 litres; it is not an imperial gallon. Miles convert to kilometres using 1.609344.

For an EV, annual charging cost = annual distance × kWh/100 distance ÷ 100 × price/kWh. Monthly figures divide the annual cost by 12; they are averages rather than a prediction of each bill. Cost per distance divides by the annual distance. Zero distance makes cost per distance unavailable.

For separate home and public tariffs, the effective price weights the share of charging energy, not the number of charging sessions. The initial 80% home share is editable. Charging losses, session fees, subscriptions and charger installation are not added automatically; do not add a loss adjustment twice if your consumption already measures energy drawn from the wall.

Confirmed plug-in hybrids use separate fuel-mode and electric-mode consumption with your assumed electric share of distance, initially 50%. We multiply each mode’s cost by its share of distance and add the monetary amounts. Utility-weighted EU fuel figures are replaced by a labelled fuel-mode reference for this blend. Ordinary hybrids do not automatically acquire a paid charging component. An ambiguous hybrid needs your confirmation.

See the fuel-cost example and charging-cost example before entering your prices.

Vehicle data and missing consumption

CatalogSource and scopeInterpretation
USAFuelEconomy.gov / EPA, available model years from 2000.US-market configurations and source consumption ratings; not a catalog of every international variant.
Europe, historicalVCA files for 2000–2013. GOV.UK vehicle fuel and CO₂ data.Historical test figures may use older cycles and may differ from later WLTP values.
Europe, later yearsEEA CO₂ cars data, configured for 2014–2025; 2025 records are provisional.Registration and type-approval data. Names and configuration completeness vary; provisional records can change.

Consumption priority is your manual value for the selected configuration, then usable published consumption, then an applicable derived or reference estimate. The result’s evidence panel identifies the source, basis and test cycle when supplied. EPA, WLTP and NEDC figures are not made equivalent by converting units.

A single-energy petrol or diesel record with CO₂ but no consumption may use L/100 km = g CO₂/km × 100 × 3.785411784 ÷ fuel factor. Factors are 8,887 g per US gallon for petrol and 10,180 for diesel, from the EPA carbon-factor explanation. This is a labelled approximation, not a published fuel-consumption measurement.

Where appropriate, the fallback uses a median EPA reference for a nearby year and engine-size group containing at least three configurations. LPG and E85 fallbacks use planning multipliers of 1.25 and 1.35 on a petrol reference. These are DriveCost assumptions. CNG and hydrogen use kg-based consumption and require your own fuel price. Unknown fuel assumptions are shown and editable. Missing transmission, drive and other physical details are not invented.

Driving profiles

Mixed uses the combined rating. When both city and highway values are available, Mostly city weights energy use over 80% city and 20% highway distance; Mostly highway reverses those shares. MPG values are first converted to energy per distance rather than averaged directly.

Without that breakdown, petrol, diesel, LPG, E85 and CNG use a city factor of +15% or a highway factor of −10%. Electric and hydrogen use −10% for city or +15% for highway. These are deliberately visible planning assumptions, not measured adjustments or predictions for your route. The published specification stays separate from the adjusted estimate. You can replace consumption with your own observations.

Energy prices and freshness

These are periodic country averages, not live station quotes. Successful source responses are reused for up to 12 hours, with a one-hour shared response cache. The interface shows the observation date and flags dates older than 14 days or dates that cannot be verified. Failed retrievals remain unavailable and allow a manual price; missing prices never become zero.

Electricity defaults are planning assumptions, not current market quotations. Enter a tariff appropriate to your contract and charging mix. Prices and budgets remain constant over an ownership scenario: no fuel inflation, tariff forecast or currency conversion is applied. Vehicle market and price country are independent choices.

Total cost of ownership

ownership total = years × (annual energy + insurance + service/repairs + tyres + recurring road charges) + starting value − resale value + loan interest during ownership + upfront loan fees.

Use the current value if you are assessing a car you already own, or purchase value for a new purchase scenario. Resale is the expected value at the end of your selected period. It is an input, not a valuation supplied by DriveCost. Blank required budgets remain unknown; explicit zero means no cost. Upfront taxes and purchase fees belong in starting value once, while recurring charges belong in the annual budget.

The optional loan model supports a new fixed-rate amortizing loan, monthly payments, nominal annual interest of 0–100% and a 1–120 month term. Interest stops at maturity or the end of ownership, whichever comes first. Fees are paid upfront. Principal is not added again to depreciation; monthly repayment and outstanding balance are shown separately. This economic-cost view is different from a monthly cash-flow budget.

Leasing, balloon payments, early-repayment penalties, opportunity costs and inflation are outside the model. Read the ownership worked example for the distinction between depreciation and loan payments.

Limitations and corrections

Actual consumption varies with weather, speed, congestion, load, tyres, battery condition and use of heating or cooling. A catalog selection does not inspect a car. The VIN decoder reports manufacturer specifications from NHTSA vPIC, with strongest coverage for US-market vehicles. It does not provide accident, odometer, theft or finance history.

Use results to compare assumptions and prepare a budget, then check your own bills, insurance quotes, vehicle condition and financing terms. Report a suspected error to DriveCost with the source, configuration and affected field. Affiliate commissions and advertisements do not alter formulas, input prices or comparison results.