The payback period is calculated by dividing the amount of the investment by the annual cash flow.