When prices rise faster than pay, a raise is a pay cut
Say pay rises 8% each time. If prices rise 2%, you can buy about 5.9% more; if prices also rise 8%, you break even; if prices rise 20%, you buy 10% less. The payslip says an 8% raise every time, yet in the last case you are getting poorer.
With big increases, divide instead of subtracting
Let the pay increase be w and the price increase p. Your money is 1+w times what it was, and prices are 1+p times what they were. Divide one by the other and subtract 1, and you get how much the amount you can buy has changed:
1+p1+w−1=1+pw−p
Simplified, it shows that the difference between the two increases still has to be divided by 1+p. When the increases are small, 1+p is close to 1, and simply subtracting is accurate enough. With pay up 30% and prices up 80%, subtracting gives 50% less. But that 50% has to be divided by 1.8, and in reality it's only about 28% less.
The pay figure is right in front of you; what it buys you have to work out
Picture two colleagues. A's payslip shows a 1% raise while prices rise 3%. B's payslip shows a 2% pay cut while prices stay put. Both can actually buy about 2% less, but A got a notice of a raise and B a notice of a pay cut, and they feel completely differently about it.
To compare price tags at two shops in the same month, or pay in two years when prices were steady, comparing the amounts directly is enough. It's when you compare pay, savings and budgets across years that you need to convert, and you should use the basket of things you yourself usually buy. Rent and tuition rise faster than average prices across the country. Convert using the national average increase, and the "real income" you get will look better than it really is.