Estimating your electricity bill with the EIA's own state-level price data (and a free calculator)
Every state pays a different price for electricity, and that price moves month to month. If you want to know roughly what running an appliance costs, or sanity-check a monthly bill, the raw numbers are public — the U.S.
Every state pays a different price for electricity, and that price moves month to month. If you want to know roughly what running an appliance costs, or sanity-check a monthly bill, the raw numbers are public — the U.S. Energy Information Administration (EIA) publishes them every month. The hard part is just getting them into a usable form. Here's where the data comes from, the formula behind it, and a free calculator built on top.
The official sources
Two EIA tables feed this:
- Electric Power Monthly, Table 5.6.A — average retail price per kWh by state and sector (residential, commercial, industrial, all sectors), updated monthly.
- EIA-861 Sales, Revenue and Price, Table 5A — average monthly residential consumption (kWh) and average monthly bill by state, based on annual utility-reported data.
The formula
The core estimate is just price times usage:
state_bill_estimate_usd = avg_monthly_kwh_2024 * residential_price_cents_kwh / 100
For an individual appliance, it's watts converted to kilowatts, times hours of use, times the price per kWh:
appliance_cost_usd = (watts / 1000) * hours * residential_price_cents_kwh / 100
Nothing exotic — the only real work is keeping the two EIA tables current and matching the right state and month.
A worked example: California
Pulling California's numbers directly off the live calculator (EIA data as of 2026-10-28):
- Latest month (August 2026) residential price: 29.75 cents/kWh — up from a year-over-year context of 30.92 cents/kWh the same month last year
- 2024 EIA-861 average residential price: 31.97 cents/kWh, average monthly consumption: 503 kWh, average monthly bill: $160.86
- Applying the formula with the latest-month price:
503 kWh * 29.75 cents / 100 = $149.64estimated monthly residential bill
That $149.64 is what the calculator shows as California's "Estimated monthly residential cost," using the latest-month price against the most recent full year's average consumption — it's not the same as the EIA-861 table's own $160.86 average-bill figure, because that one uses 2024's average price (31.97 cents) rather than the latest month's price (29.75 cents). Showing both numbers side by side is deliberate: it tells you whether prices are rising or falling relative to last year's average bill.
Why the two tables don't always agree
Table 5.6.A is monthly and near-real-time, so it reflects fuel-cost adjustments and rate changes as they happen. EIA-861 Table 5A is annual and reflects a full year's billing data, including seasonal variation, so the "average monthly bill" there is a full-year average, not a snapshot of any one month. The calculator surfaces both because neither one alone tells the full story — a single month's price can be above or below the trailing year's average for reasons that have nothing to do with your actual usage.
Try it
The free Electricity Cost Calculator lets you pick a state and month, and enter either an appliance's watts and hours or a household's monthly kWh, to get a dollar estimate based on EIA's published average residential price for that state. Every number links back to the EIA table it came from.
These are estimates only, not a utility bill or financial advice — your actual bill depends on your specific utility's rate schedule, fixed charges, taxes, and fees, which vary even within a state. Prices shown are EIA state averages, and the most recent month's figures are preliminary and subject to EIA revision.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.