askvity

How to Calculate Payback Period in Excel?

Published in Financial Analysis 4 mins read

You can calculate the payback period in Excel by dividing the initial investment by the annual cash inflow. Here's a breakdown of how to do it:

Simple Payback Period Calculation

This method assumes constant annual cash inflows.

  1. Identify the Initial Investment: Determine the total cost of the project or investment. This is typically a negative number representing the initial outlay.
  2. Determine the Annual Cash Inflow: Calculate the expected cash inflow for each year. We'll start with the simple scenario where this cash inflow is the same each year.
  3. Use the Formula: In Excel, use the formula =Initial Investment / Annual Cash Inflow. Make sure your initial investment is entered as a positive value in the formula (e.g., use ABS(Initial Investment) or simply enter the initial investment as a positive number in the formula).

Example:

Item Cell Value
Initial Investment A3 $10,000
Annual Cash Inflow A4 $2,500
Payback Period A5 =A3/A4

In this case, the formula in cell A5 would return a payback period of 4 years.

Payback Period with Uneven Cash Flows

When dealing with uneven cash flows, you need a slightly more complex approach. This involves tracking cumulative cash flows until the initial investment is recovered.

  1. List Cash Flows: Create a table in Excel listing the cash flows for each period (usually years). Include the initial investment as a negative cash flow in year 0.

  2. Calculate Cumulative Cash Flows: Create a new column to calculate the cumulative cash flow for each period. The cumulative cash flow for year 'n' is the sum of the cumulative cash flow for year 'n-1' plus the cash flow for year 'n'.

  3. Determine the Payback Year: Identify the year in which the cumulative cash flow turns positive (i.e., the year when the initial investment is fully recovered).

  4. Calculate the Fractional Year: To determine the exact payback period, calculate the fraction of the payback year needed to recover the remaining investment. The formula is:

(Amount left to recover at the beginning of the payback year) / (Cash flow in the payback year)

  1. Calculate Total Payback Period: Add the payback year (the year before the cumulative cash flow turned positive) to the fractional year calculated in the previous step.

Example:

Year Cash Flow Cumulative Cash Flow
0 -$15,000 -$15,000
1 $5,000 -$10,000
2 $6,000 -$4,000
3 $7,000 $3,000
  • Payback Year: Year 3 (cumulative cash flow turns positive).
  • Amount Left to Recover at the Beginning of Year 3: $4,000
  • Cash Flow in Year 3: $7,000
  • Fractional Year: $4,000 / $7,000 = 0.57
  • Total Payback Period: 2 + 0.57 = 2.57 years

Excel Functions for Payback Period (Advanced)

While Excel doesn't have a built-in payback period function, you can combine different functions for more complex scenarios:

  • XNPV (Extended Net Present Value): This function can be used in conjunction with goal seek to find the discount rate that results in a net present value of zero, which can provide further insights alongside the payback period.
  • IF and SUMIF: These functions can be used for creating more advanced calculations, especially when combined with cumulative cash flow analysis.

Calculating the payback period in Excel is straightforward. By understanding the different methods and utilizing Excel's built-in features, you can effectively assess the financial viability of your investment projects.

Related Articles