PF calculator