I think this maybe a good reference https://cpiinflationcalculator.com/different-ways-of-measuri...
It has a calculator for CPI