Here’s exactly how to figure out when you can retire