Real Cost of a Car Calculator Methodology

Methodology

Every number on this site is calculated from the inputs shown next to it. Sources and last-updated dates are listed per data item below.

Formulas

Data sources

ItemSourceUpdated
Fuel economyfueleconomy.gov web servicesWhen models are added
Gas pricesEIA weekly retail regular gasoline, by state or PADD regionWeekly
Electricity pricesEIA residential electricity dataMonthly
Loan ratesFederal Reserve data via FREDMonthly
Sales tax, registrationState DMV and revenue sitesTwice a year
InsurancePublic insurance-industry averagesYearly
DepreciationOwn model from sampled used listingsMonthly
MaintenanceOwn estimates by brand, age and powertrainYearly

Connected so far: fuel economy (fueleconomy.gov, EPA, fetched by scripts/fetch-fueleconomy.mjs). Fuel and electricity prices: EIA U.S. averages (regular gasoline, weekly; residential electricity, annual), fetched by scripts/fetch-eia-prices.mjs. Gas by state: EIA's weekly regular-gasoline series for 9 states (CA, CO, FL, MA, MN, NY, OH, TX, WA). The other 42 states use their PADD region's price (EIA's five regional groupings), fetched by scripts/fetch-eia-gas-states.mjs. Insurance: Insurify's national average full-coverage premium (page updated November 1, 2026), not yet adjusted by vehicle class. Sales tax: Tax Foundation's population-weighted state plus local rate (July 1, 2026). Still placeholders: purchase price, maintenance, depreciation and registration. Premium-fuel cars use the regular price for now.

Report a wrong number

Found an error? Contact details will go here before launch.