The IRS raised the Standard Mileage Rate TWICE in 2022. One raise in January 2022 and another raise in July 2022. This means there are two sets of computations with one rate covering January through June 2022; and second IRS Standard Mileage Rates covering July through December 2022.
The IRS also posted a different IRS Standard Mileage Rate for the full year 2021 as you can see at the chart below.
The IRS also posted a different IRS Standard Mileage Rate for the full year 2020 as you can see at the chart below.
It is important to note that you must properly document your mileage to receive full credit for business travel, medical/moving and charitable work.