Enter an upfront cost and the extra cash it brings in, and this payback period calculator shows how many months it takes to earn it back.