This is a live dashboard which updates daily with the average price of gas. You can find the the national average along with the the average for 9 different states. Generally, these 9 states give perspective on how prices vary across the country. You can view data starting from 2000.
Given the geopolitical climate and uncertainty specifically around fuel, I thought it would fun to track the change in price. Perhaps later I'll provide a forecast model here as well. If viewing this on a phone, be sure to use the date toggles and the zooming functionality only available on a mobile device.
US National Average Over Time
Monthly average retail price for regular unleaded gasoline across the contiguous United States. Vertical markers highlight three major macroeconomic events that left visible footprints in the data.
Source: U.S. Energy Information Administration (EIA) — Historical Weekly and Current Daily Average Gas Prices
State Price Comparison
Select up to five states to compare their price trajectories. California typically leads all states due to its unique fuel blend requirements and high taxes. Gulf Coast states tend to run lowest owing to proximity to refinery infrastructure.
Regular unleaded daily average. Prices in USD per gallon.
Click Here for Methodology & Data Notes
Data Source
Price data is sourced from the U.S. Energy Information Administration's weekly retail gasoline survey. Data is provided historically and on a per week basis. To capture daily updates we're relying on AAA fuel pricing data, which offers at the daily level.
Athena Query
SELECT
date,
state,
CAST(regular AS DOUBLE) AS price
FROM athena_table
WHERE 1=1
ORDER BY state ASC, period ASC
Event Marker Dates
- 2008 Financial Crisis — July 2008 (national price peak)
- COVID-19 — April 2020 (demand collapse trough)
- 2026 Middle East Crisis: Iranian Closure of Straight of Hormuz — February 2026 (Strait of Hormuz disruption onset)
Update Cadence
The generate_gas_price_dashboard.py script queries Athena and refreshes
gas_prices.json on each run. Schedule via cron for weekly updates.
Sources & References
1.
Weekly Retail Gasoline and Diesel Prices
U.S. Energy Information Administration
2.