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 February using BLS data published on March 14, 2023. Data through March will be available April 12, 2023.