@amit789: How to calculate