Your pension is calculated on the basis of the expenses that you would have once you retire. An online retirement calculator takes the following parameters into consideration: age, expected retirement age, current income and savings details. These details help the software to make a projection about the monthly expenses that you will incur after your retirement.