Method, sources and use of AI

What the calculators do

They do arithmetic in your browser: gallons from miles and mpg, a cost from gallons and a price, kWh from a battery and a charge, an amount from miles and a rate, a tire's diameter from its size, a car's value from a rate or a resale price. Nothing is guessed from a location, a car model or a map.

Where the figures come from

Units and conversions follow the tables of the National Institute of Standards and Technology. The default gas price is the Energy Information Administration's weekly U.S. average for regular gasoline; electricity prices are its monthly residential averages by state. Mileage rates are the IRS standard rates. Tire size notation follows NHTSA; the depreciation methods are those described in IRS Publication 946. Facts about fuel economy, charging and emissions come from fueleconomy.gov, the Department of Energy and the EPA. They were checked on 2026-12-02. Each page lists its own sources.

What is left out

Prices change every week and differ by station and utility, so the defaults are a starting point: type your own. Weather, hills, traffic and the way you drive change real fuel economy. The comparisons cover fuel only, not the price of the car, insurance or incentives, unless you add them. Results are estimates, not tax or financial advice.

How it is checked

Automated tests compare the calculators with worked cases before every update: a 300-mile trip at 25 mpg, a split with and without the driver, a commute over a year, conversions both ways, a charge with losses, a state that does not exist, the IRS rates, two tire sizes, a car's value after five years, a switch from 20 to 30 mpg and empty or wrong input. Tables and examples on the pages are computed by the same code that builds the site.

Use of AI

AI drafts the text. Calculations are done by code, not by AI. No named author signs the pages. For taxes, IRS rules and your own records come first.

Sources

Figures checked on 2026-12-02. Page updated 2026-12-02.