The calculator, like others found on this site for inflation, uses U.S. Bureau of Labor Statistics data -- specifically, "12-Month Average Gasoline (all types) in U.S. city average." It adjusts for gasoline inflation through March using BLS data published on Apr. 10, 2024. Data through April will be available May 15, 2024.