Learn how to calculate this common formula in finance.