Most engineers find out years late.
The offer at the next company is the first honest signal a lot of people ever get about their own market rate, and by then the gap has been running for three or four years. Nobody sends you a letter when you fall behind.