The way that the maximum benefit for a particular year is calculated is based upon the maximum wage base for the year, as well as the applicable COLAs that would apply after the PIA ( Primary Insurance Amount) has been calculated for that individual.
FORBES: How Is The Maximum Social Security Benefit Calculated?