The Institute and Faculty of Actuaries (IFoA) has developed a rule for savers to work out the size of pension they need for their desired retirement.