A quick breeze through the numbers can help you determine whether you're ready to stop working.