How to calculate GPF Interest?

This question may look simple but in reality a small calculation error in GPF interest calculation may cost you more. This is because compound interest in the long run may fetch you lot of money and if you are on the loosing side of the calculation error you will ever regret as once you have certified the correctness of the GPF statement