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 May 2022 using BLS data published on June 10, Data through June will be available July 13, 2022.