Bookmarks    
nPr and nCr    
Random Number    
SD Calculator    
Sample Size    
Percent Error    
Density    
Molarity    
Molar Mass    
Ohm's Law    
Watts to Amps    
Voltage Drop    
Long Division    
Mixed Numbers    
Rounding    
Nth Root    
Exponents    
Half-Life    
Polar Form    
De Moivre    
3D Distance    
Point to Line    
Cross Product    
Determinant    
Sin Cos Tan    
Triangle Area    
Scale Factor    
Sector Area    
Ellipse Area    
Cube Volume    
Box Volume    
Sphere Volume    
Cone Volume    
Pipe Volume    
Time Duration    
Time Card    
Present Value    
Future Value    
Churn Rate    
A/B Test Calc    
SEO Traffic    
Ideal Weight    
Fat Intake    
Child Height    
Golf Handicap    
Heat Index    
Wind Chill    
Dew Point    
Download Time    
kWh to Cost    
AC Size (BTU)    
Heating Costs    
LED Savings    
Trip Gas Cost    
Tire Size    
Solar Output    
Solar Payback    
Battery Size    
Wall Area    
Gravel Needed    
Mortar Mix    
Slope Grade    
Curtain Size    
Soil Needed    
Sod Needed    
Ramp Length    
Blind Size    
Drain Slope    
Board Feet    
Heat Loss    
Furniture Fit    
Moving Boxes    
Plywood Cuts    
Shelf Sag    
   Add
Probability and random number calculators
Independent Events
Independent Events
Two Events Solver
Two Events Solver
Repeated Trials
Repeated Trials
Bayes' Theorem
Bayes' Theorem
Expected Value
Expected Value
Binomial Distribution
Binomial Distribution
nPr and nCr
nPr and nCr
Circular Permutation
Circular Permutation
With Repetition
With Repetition
Random Number
Random Number
Averages and statistics calculators
Average Calculator
Average Calculator
Mean Median Mode
Mean Median Mode
SD Calculator
SD Calculator
Quartiles & IQR
Quartiles & IQR
Frequency Table
Frequency Table
Correlation (r)
Correlation (r)
Normal Probability
Normal Probability
Z-Score Calculator
Z-Score Calculator
Confidence Interval
Confidence Interval
Sample Size
Sample Size
Mark & Recapture
Mark & Recapture
P-Value Calculator
P-Value Calculator
Percentage and ratio calculators
Percentage Calc
Percentage Calc
Percent Change
Percent Change
Percent Difference
Percent Difference
Percent Error
Percent Error
Ratio Calculator
Ratio Calculator
Discount Calculator
Discount Calculator
Sales Tax Calculator
Sales Tax Calculator
Margin Calculator
Margin Calculator
Speed calculators
Speed Calculator
Speed Calculator
Density and concentration calculators
Density
Density
Molarity
Molarity
Molar Mass
Molar Mass
Physics and electricity calculators
Ohm's Law
Ohm's Law
Watts to Amps
Watts to Amps
Resistor Colors
Resistor Colors
Voltage Drop
Voltage Drop
Unit conversion calculators
Weight Converter
Weight Converter
Shoe Size Converter
Shoe Size Converter
Integer and signed number calculators
Long Division
Long Division
LCM Calculator
LCM Calculator
GCF Calculator
GCF Calculator
Integer Calculator
Integer Calculator
Prime Factorization
Prime Factorization
Diophantine Solver
Diophantine Solver
Modulo Calculator
Modulo Calculator
Factor Calculator
Factor Calculator
Roman Numerals
Roman Numerals
Fraction, decimal and rounding calculators
Fraction Calculator
Fraction Calculator
Mixed Numbers
Mixed Numbers
Simplify Fractions
Simplify Fractions
Fraction to Decimal
Fraction to Decimal
Decimal to Fraction
Decimal to Fraction
Rounding
Rounding
Equation and inequality calculators
Linear Equation
Linear Equation
Linear Systems
Linear Systems
Quadratic Formula
Quadratic Formula
Absolute Value
Absolute Value
Quadratic Inequality
Quadratic Inequality
Polynomial calculators
Binomial Theorem
Binomial Theorem
Square root and nth root calculators
Simplify Radicals
Simplify Radicals
Nth Root
Nth Root
Exponent and logarithm calculators
Exponents
Exponents
Log Calculator
Log Calculator
Number of Digits
Number of Digits
Scientific Notation
Scientific Notation
Sci. Notation Math
Sci. Notation Math
Half-Life
Half-Life
Complex number calculators
Complex Numbers
Complex Numbers
Polar Form
Polar Form
De Moivre
De Moivre
Function and graph calculators
Slope Calculator
Slope Calculator
Linear Function
Linear Function
Direct & Inverse Variation
Direct & Inverse Variation
y = ax² Calculator
y = ax² Calculator
Distance Formula
Distance Formula
3D Distance
3D Distance
Section Formula
Section Formula
Point to Line
Point to Line
Lat/Long Distance
Lat/Long Distance
Complete the Square
Complete the Square
Circle Equation
Circle Equation
Conic Sections
Conic Sections
Polar Coordinates
Polar Coordinates
Sequence calculators
Arithmetic Sequence
Arithmetic Sequence
Geometric Sequence
Geometric Sequence
Fibonacci Sequence
Fibonacci Sequence
Recurrence Relation
Recurrence Relation
Vector calculators
Vector Calculator
Vector Calculator
Cross Product
Cross Product
Matrix calculators
Matrix Calculator
Matrix Calculator
Determinant
Determinant
Inverse Matrix
Inverse Matrix
Plane geometry calculators
Sin Cos Tan
Sin Cos Tan
Degrees ⇔ Radians
Degrees ⇔ Radians
a sin θ + b cos θ
a sin θ + b cos θ
Triangle Solver
Triangle Solver
Triangle Area
Triangle Area
Right Triangle
Right Triangle
Pythagorean Theorem
Pythagorean Theorem
Polygon Angles
Polygon Angles
Scale Factor
Scale Factor
Parallel Lines
Parallel Lines
Rectangle Area
Rectangle Area
Parallelogram Area
Parallelogram Area
Trapezoid Area
Trapezoid Area
Circle Calculator
Circle Calculator
Sector Area
Sector Area
Inscribed Angle
Inscribed Angle
Ellipse Area
Ellipse Area
Solid geometry calculators
Cube Volume
Cube Volume
Cube Surface Area
Cube Surface Area
Box Volume
Box Volume
Box Surface Area
Box Surface Area
Cylinder Volume
Cylinder Volume
Cylinder Surface
Cylinder Surface
Sphere Volume
Sphere Volume
Sphere Surface
Sphere Surface
Spherical Cap Volume
Spherical Cap Volume
Cap Surface Area
Cap Surface Area
Ellipsoid Volume
Ellipsoid Volume
Ellipsoid Surface
Ellipsoid Surface
Pyramid Volume
Pyramid Volume
Pyramid Surface
Pyramid Surface
Cone Volume
Cone Volume
Cone Surface Area
Cone Surface Area
Frustum Volume
Frustum Volume
Frustum Surface Area
Frustum Surface Area
Pipe Volume
Pipe Volume
Capsule Volume
Capsule Volume
Capsule Surface Area
Capsule Surface Area
Date and time calculators
Age Calculator
Age Calculator
Days Between Dates
Days Between Dates
Date Calculator
Date Calculator
Hours From Now
Hours From Now
Day of the Week
Day of the Week
Time Calculator
Time Calculator
Time Zone Converter
Time Zone Converter
Hours Calculator
Hours Calculator
Time Duration
Time Duration
Time Card
Time Card
Finance and economics calculators
Compound Interest
Compound Interest
Simple Interest
Simple Interest
Interest Calculator
Interest Calculator
TVM Calculator
TVM Calculator
Present Value
Present Value
Future Value
Future Value
ROI Calculator
ROI Calculator
IRR Calculator
IRR Calculator
Payback Period
Payback Period
Average Return
Average Return
GDP Calculator
GDP Calculator
Web marketing and ad metric calculators
CTR Calculator
CTR Calculator
Conversion Rate
Conversion Rate
CPC, CPM & CPA
CPC, CPM & CPA
ROAS Calculator
ROAS Calculator
Break-Even CPA
Break-Even CPA
LTV Calculator
LTV Calculator
CAC Calculator
CAC Calculator
Churn Rate
Churn Rate
A/B Test Calc
A/B Test Calc
A/B Sample Size
A/B Sample Size
SEO Traffic
SEO Traffic
Break-Even Point
Break-Even Point
Markup vs. Margin
Markup vs. Margin
CAGR Calculator
CAGR Calculator
Health and fitness calculators
BMI Calculator
BMI Calculator
Sleep Calculator
Sleep Calculator
Calorie Calculator
Calorie Calculator
BMR Calculator
BMR Calculator
TDEE Calculator
TDEE Calculator
Ideal Weight
Ideal Weight
Body Fat Calculator
Body Fat Calculator
Lean Body Mass
Lean Body Mass
Calories Burned
Calories Burned
Protein Intake
Protein Intake
Macro Calculator
Macro Calculator
Carb Calculator
Carb Calculator
Fat Intake
Fat Intake
Child Height
Child Height
Sports calculators
Golf Handicap
Golf Handicap
Pace Calculator
Pace Calculator
1RM Calculator
1RM Calculator
Target Heart Rate
Target Heart Rate
Weather calculators
Heat Index
Heat Index
Wind Chill
Wind Chill
Dew Point
Dew Point
Computer calculators
Base Converter
Base Converter
Subnet Calculator
Subnet Calculator
Download Time
Download Time
Household energy and budget calculators
Electricity Cost
Electricity Cost
kWh to Cost
kWh to Cost
Yearly kWh to Cost
Yearly kWh to Cost
AC Size (BTU)
AC Size (BTU)
AC Running Cost
AC Running Cost
Heating Costs
Heating Costs
Gas vs Electric
Gas vs Electric
LED Savings
LED Savings
Salary Calculator
Salary Calculator
Budget Calculator
Budget Calculator
Car calculators
Trip Gas Cost
Trip Gas Cost
EV Charging Cost
EV Charging Cost
EV vs Gas Cost
EV vs Gas Cost
MPG Calculator
MPG Calculator
Tire Size
Tire Size
Solar power and battery calculators
Solar Output
Solar Output
Solar Panel Count
Solar Panel Count
Solar Payback
Solar Payback
Battery Size
Battery Size
Home and DIY calculators
Tile Calculator
Tile Calculator
Stair Calculator
Stair Calculator
Concrete Volume
Concrete Volume
Wall Area
Wall Area
Wallpaper Rolls
Wallpaper Rolls
Paint Calculator
Paint Calculator
Flooring Needed
Flooring Needed
Exterior Walls
Exterior Walls
Gravel Needed
Gravel Needed
Mortar Mix
Mortar Mix
Slope Grade
Slope Grade
Lumber Cut List
Lumber Cut List
Lot Coverage/FAR
Lot Coverage/FAR
Sheet Vinyl Roll
Sheet Vinyl Roll
Insulation Needed
Insulation Needed
Curtain Size
Curtain Size
TV Size & Distance
TV Size & Distance
Soil Needed
Soil Needed
Sod Needed
Sod Needed
Block Calculator
Block Calculator
Brick Calculator
Brick Calculator
Deck Materials
Deck Materials
Ramp Length
Ramp Length
Pilot Hole Size
Pilot Hole Size
Room Ventilation
Room Ventilation
Paint Thinning
Paint Thinning
Baseboard & Trim
Baseboard & Trim
Blind Size
Blind Size
Picture Hanging
Picture Hanging
Drain Slope
Drain Slope
Screw Calculator
Screw Calculator
Board Feet
Board Feet
Fence Calculator
Fence Calculator
Wood Shrinkage
Wood Shrinkage
Caulk Calculator
Caulk Calculator
Heat Loss
Heat Loss
Furniture Fit
Furniture Fit
Moving Boxes
Moving Boxes
Storage Capacity
Storage Capacity
Plywood Cuts
Plywood Cuts
Shelf Sag
Shelf Sag

Payback Period Calculator (Simple and Discounted Payback)

Choose how to enter the cash flows (fixed or irregular), then enter the initial investment and the cash flows. You get how many years it takes to get the investment back (payback period), plus the discounted payback period and the cash flow return rate, which account for the time value of money.

Enter amounts as plain numbers in dollars. Enter the initial investment as a positive amount (it is treated as a negative outflow internally). In irregular mode, leave a year blank or enter 0 if no money moves that year, and enter a negative amount (for example, -5000) for a year with an extra expense.
Result and graph
Enter the initial investment and the cash flows in the fields on the left and press "Calculate". The result, a graph and a year-by-year table will appear here.

What you can do on this page

  • From the initial investment and the first-year cash flow (the money you receive that year), find the payback period: how many years it takes to get the initial investment back
  • Works whether the cash flow is the same every year or grows or shrinks by a set percentage each year (fixed cash flow mode)
  • If the amounts differ from year to year, enter them one year at a time (irregular cash flow mode, up to 20 years)
  • Enter a discount rate to also get the discounted payback period, which accounts for the time value of money. The cash flow return rate (the yearly rate, same as IRR) is calculated whatever the discount rate
  • Also shows a year-by-year table (cumulative cash flow, before and after discounting) and a graph of the point where the cumulative cash flow crosses the $0 line
The payback period here is a math calculation that ignores fees and taxes. It is not a recommendation of any investment. In fixed cash flow mode, the point partway through a year is found by treating the growth or decline as a smooth change (the same method used by common online payback calculators).

What is this calculation used for?

How many years until new equipment pays for itself (company rules)

"A $400,000 machine will cut costs by $150,000 a year." The payback period is \(400{,}000 \div 150{,}000 \approx 2.7\) years. Many companies set an internal rule such as "approve if it pays back within 3 years", and the payback period is the first test a proposal must pass. It is a standard argument not only for finance and planning teams but also when people on the shop floor propose new equipment.
Future cash flows are only estimates, so a good practice is to also calculate with conservative numbers.

Whether solar panels or energy-saving upgrades pay off within their lifetime

If a home solar system costs $20,000 and saves $2,000 a year on electric bills, the payback period is \(20{,}000 \div 2{,}000 = 10\) years. Solar panels are said to last 25 to 30 years, so a key question is whether the payback period is well within that lifetime. Insulation, a heat pump or a high-efficiency water heater can be compared the same way.
Electricity prices and bill credits change over time, so try entering a rate of change to see how much a change in these assumptions matters.

Earning back the startup costs of a store or franchise

When opening a restaurant or a franchise, "how many years to earn back the startup costs" is a central number in the business plan. For example, with $500,000 in startup costs and $125,000 a year in expected cash flow (what is left of sales after expenses), the payback period is 4 years.
Right after opening it is hard to predict how many customers will come, so the irregular mode helps: you can enter a smaller amount for year 1 and larger amounts from year 2 onward.

Cost-effectiveness of software and automation tools

For business software or automation tools, turning the benefit into a payback period makes the decision easier: "$60,000 to set up, saves $30,000 a year in staff time, so the payback period is 2 years." Technology changes quickly and a tool may not stay in use for long, so a fast payback directly means lower risk.
This way of thinking is also common in the business case you write when asking for budget approval.

As a measure of risk (where the payback period helps and where it falls short)

The strength of the payback period is that it sums up "how short the uncertain period is" in a single number. In industries where technology and trends change quickly, estimates for the distant future are unreliable, so a fast payback is valued.
On the other hand, the payback period has well-known weaknesses: it ignores the money earned after the payback, and it ignores the time value of money. An investment that pays back in 5 years and then keeps earning for 10 more years loses to one that pays back in 3 years and then ends. That is why, in practice, the standard approach is to combine it with the discounted payback period, NPV and IRR.

Formulas and graphs

Payback period (same amount every year)
Graph
Standard notation (the usual math form)
\(PP\) \(=\) \(I\) \(\div\) \(CF\)
In words (symbols replaced with words)
③ \(PP\): payback period (years) \(=\) ① \(I\): initial investment \(\div\) ② \(CF\): cash flow per year
The formula in words
① Take the \(I\): initial investment
② divide it by the \(CF\): cash flow per year
③ and you get the \(PP\): payback period
Quick example
If $100,000 of equipment saves $20,000 every year, the payback period is (in $ thousands)
\(PP\): payback period \(=\) initial investment ($100,000) \(\div\) cash flow per year ($20,000)
\(100 \div 20 = 5\)
Key idea
The payback period is how many years it takes for the money you paid at the start to come back, that is, the time it takes to reach the break-even point. The shorter it is, the sooner you earn back your money, and the shorter the uncertain waiting period. That is why it is used as a quick measure of investment risk. However, it ignores how much you earn after the payback and the time value of money, so the standard practice is to use it together with NPV and IRR.
Cash flow in each year when it grows or shrinks
Graph
Standard notation (the usual math form)
\(CF_n\) \(=\) \(CF_1\) \(\times\) \((1 \pm g)\) \(n-1\)
In words (symbols replaced with words)
④ \(CF_n\): cash flow in year \(n\) \(=\) ① \(CF_1\): cash flow in year 1 \(\times\) ② \((1 \pm g)\): growth factor for 1 year ③ \((n-1)\): years passed
The formula in words
① Take the \(CF_1\): cash flow in year 1
② multiply it by the \((1 \pm g)\): growth factor for 1 year (\(g\) is the rate of change - use \(1+g\) for growth and \(1-g\) for decline) once for each of the
③ \((n-1)\): years passed
④ and you get the \(CF_n\): cash flow in year \(n\)
Quick example
If year 1 brings $30,000 and it grows 5% every year, the cash flow in year 3 is (in $ thousands)
\(CF_3\): cash flow in year 3 \(=\) cash flow in year 1 ($30,000) \(\times\) growth factor (1.05) years passed (2)
\(30 \times 1.05 \times 1.05 = 33.075\)
Key idea
"Grows 5% every year" means multiplying the previous year's amount by 1.05, again and again. Year 1 stays as it is, year 2 is multiplied once, year 3 twice, and so on. Note that the number of multiplications is the number of years passed, \(n-1\). The fixed cash flow mode of this calculator uses this formula to find each year's amount and build the year-by-year table.
Discounted cash flow (future money in today's value)
Graph
Standard notation (the usual math form)
\(DCF_n\) \(=\) \(CF_n\) \(\div\) \((1+r)\) \(n\)
In words (symbols replaced with words)
④ \(DCF_n\): discounted cash flow in year \(n\) \(=\) ① \(CF_n\): cash flow in year \(n\) \(\div\) ② \((1+r)\): discount factor for 1 year ③ \(n\): years passed
The formula in words
① Take the \(CF_n\): cash flow in year \(n\)
② and divide it by the \((1+r)\): discount factor for 1 year (\(r\) is the discount rate) raised to the power of the
③ \(n\): years passed
④ to get the \(DCF_n\): discounted cash flow in year \(n\)
Quick example
At a 10% discount rate, the discounted cash flow of $12,100 received 2 years from now is (in $ thousands)
\(DCF_2\): discounted cash flow \(=\) money in 2 years ($12,100) \(\div\) discount factor (1.1) years passed (2)
\(1.1 \times 1.1 = 1.21\)
\(12.1 \div 1.21 = 10\)
Key idea
Money has a time value. If you can earn 10% a year, "$10,000 today" and "$12,100 in 2 years" are worth the same. Turning future money into its value today like this is called discounting, and the payback period counted with discounted money is the discounted payback period. Because discounting makes each future amount count for less, the discounted payback period is always longer than the ordinary payback period.
Payback period from a table (uneven cash flows)
Graph
Standard notation (the usual math form)
\(PP\) \(=\) \(k\) \(+\) \(R\) \(\div\) \(CF_{k+1}\)
In words (symbols replaced with words)
④ \(PP\): payback period (years) \(=\) ① \(k\): full years before payback \(+\) ② \(R\): amount still to recover at the end of year \(k\) \(\div\) ③ \(CF_{k+1}\): cash flow in the next year
The formula in words
① To the \(k\): full years before payback (the last year in which the cumulative net cash flow is still negative),
② add the \(R\): amount still to recover
③ divided by the \(CF_{k+1}\): cash flow in the next year (the fraction of that year needed to finish paying back),
④ and you get the \(PP\): payback period
Quick example
If $3,500 is still to be recovered at the end of year 3 and $4,000 comes in during year 4, the payback period is (in $ thousands)
\(PP\): payback period \(=\) full years before (3) \(+\) still to recover ($3,500) \(\div\) cash flow in the next year ($4,000)
\(3 + 3.5 \div 4 = 3 + 0.875 = 3.875\)
Key idea
When the amounts differ from year to year, add up the money received one year at a time, minus the initial investment (the cumulative net cash flow), and look for the year in which it turns from negative to positive. Within that year, assume the next year's money comes in evenly over the year and split it proportionally (linear interpolation). The irregular cash flow mode of this calculator is exactly this formula. The discounted payback period does the same thing with the cumulative discounted cash flow. The fixed cash flow mode (with a rate of change) uses an approximation that treats the growth or decline as smooth within each year, so its result can differ slightly in the last decimal places from a hand calculation with this formula.
Discounted payback period (closed-form formula for the same amount every year)
Graph
Standard notation (the usual math form)
\(DPP\) \(=\) \(-\ln\!\left(1 - \dfrac{I \times r}{CF}\right)\) \(\div\) \(\ln(1+r)\)
In words (symbols replaced with words)
③ \(DPP\): discounted payback period (years) \(=\) ① minus the natural log \(\ln\) of 1 − (initial investment \(I\) × discount rate \(r\) ÷ yearly cash flow \(CF\)) \(\div\) ② the natural log \(\ln\) of (1 + discount rate \(r\))
The formula in words
① Take the natural log \(\ln\) with a minus sign of 1 − (initial investment × discount rate ÷ yearly cash flow),
② divide it by the natural log \(\ln\) of (1 + discount rate)
③ and you get the \(DPP\): discounted payback period
Quick example
For a $100,000 investment that brings $30,000 every year, at a 10% discount rate, the discounted payback period is (in $ thousands)
\(DPP\): discounted payback period \(=\) −ln(1 − 100 × 0.1 ÷ 30) \(\div\) ln(1.1)
\(1 - \dfrac{100 \times 0.1}{30} = 1 - \dfrac{1}{3} = \dfrac{2}{3}\)
\(-\ln\!\left(\dfrac{2}{3}\right) \approx 0.40547\)
\(\ln(1.1) \approx 0.09531\)
\(0.40547 \div 0.09531 \approx 4.254\)
Key idea
\(\ln\) is the natural logarithm (a kind of logarithm that tells you what power gives a number), and you can find it with the ln key on a scientific calculator or the LN function in Excel. The ordinary payback period for the same example is \(100 \div 30 \approx 3.333\) years, so taking a 10% discount rate into account delays the payback by about 0.9 years. This formula is for the same amount every year. When the amount grows or shrinks, this calculator treats the change as smooth and uses a more general version of this formula (with a 0% rate of change, it gives the same result as this formula).
The payback period, how many years it takes to get the initial investment back, is the simplest yardstick for an investment. If the amount is the same every year, it is "initial investment ÷ yearly cash flow". If the amounts differ, look for the point where the cumulative net cash flow reaches $0. To account for the time value of money, use the discounted payback period, and to see how much you earn after the payback, combine it with NPV and IRR.

Symbols and terms

Symbols

\(PP\) P P (payback period) Payback period. The number of years until the initial investment comes back, that is, until the cumulative net cash flow reaches $0. (Example - a $100,000 investment that returns $20,000 every year has a payback period of 5 years)
\(DPP\) D P P (discounted payback period) Discounted payback period. The payback period counted after turning future money into its value today with the discount rate. It is always longer than the ordinary payback period.
\(I\) I The initial investment, the money paid at the start. In this calculator you enter it as a positive amount, and it is treated internally as a negative outflow in year 0.
\(CF\), \(CF_n\) C F, C F sub n Cash flow, the money received in a year. \(CF_n\) is the cash flow in year \(n\). A negative value is an extra expense in that year.
\(DCF_n\) D C F sub n Discounted cash flow in year \(n\). The money in year \(n\) converted to its value today.
\(g\) g The yearly rate of change of the cash flow. If it grows 5% every year, \(g=0.05\), and each year's amount is \((1+g)\) times the year before.
\(r\) r The discount rate, the yearly rate used to turn future money into its value today. The borrowing rate or a target rate of return is commonly used.
\(n\) n The number of years passed (which year it is). The time of the investment counts as year 0.
\(k\) k The full years before payback, the last year in which the cumulative net cash flow is still negative.
\(R\) capital R The amount still to recover at the end of year \(k\), the part of the initial investment that has not come back yet.
\(\ln\) L N, natural log The natural logarithm. It tells you what power of \(e\) (about 2.718) gives the number. You can find it with the ln key on a scientific calculator or the LN function in Excel. It appears in the closed-form formula for the discounted payback period.

Terms

payback period The time it takes to get the initial investment back. The shorter it is, the sooner you earn back your money and the shorter the uncertain period, so the risk is considered lower. Judging investment options by how short their payback is is called the payback method.
break-even point The point where gains and losses exactly balance. The payback period is the time it takes for the cumulative cash flow to reach the break-even point ($0).
cash flow Money coming in and going out. Money received is a positive number and money paid is a negative number. For the payback period, what matters is when and how much comes in.
cumulative net cash flow The total money received so far minus the initial investment. The moment it turns from negative to positive is the moment of payback.
discount rate The yearly rate used to turn future money into its value today (to discount it). For example, $11,000 one year from now, discounted at 10% a year, is worth $10,000 today.
DCF (discounted cash flow) A future cash flow converted to its value today with the discount rate. It is also the basis of the DCF method, a standard way to value companies and real estate.
discounted payback period The payback period counted with the cumulative discounted cash flow. Because it accounts for the time value of money, it is always longer than the ordinary payback period, and with a high discount rate the investment may never be paid back.
linear interpolation A way to find a value between two points by treating the line between them as straight. For the payback period, it assumes the next year's money comes in evenly over the year and finds the payback point within the year proportionally.
cash flow return rate The yearly rate of return that all the cash flows of the investment add up to. It is the same calculation as the IRR (internal rate of return). It shows not only how fast you are paid back but also how much you earn, in a single number.
natural logarithm The logarithm with base \(e\) (about 2.718). \(\ln x\) tells you what power of \(e\) gives \(x\). It is taught in high school precalculus, but a calculator or Excel can do the arithmetic for you.

Good to know before you start

Here is what helps you use the calculation on this page with real understanding, not just by pressing the button.

Percents (Grade 6)
  • Knowing that a percent is found as "part ÷ whole"
  • Being able to switch between decimals and percents, as in 0.05 and 5%
Positive and negative numbers (Grades 6–7)
  • Being able to show a payment (money going out) as a negative number
  • Being able to add positive and negative numbers together and picture the moment a running total turns from negative to positive
Exponents (Grade 8)
  • Knowing that a power is repeated multiplication of the same number, as in \(1.05^2 = 1.05 \times 1.05\)
  • Having a feel for how multiplying again and again by a number greater than 1 makes things grow, and by a number less than 1 makes them shrink
Exponential functions and logarithms (Algebra 2)
  • Knowing that a logarithm tells you what power gives a number (used in the \(\ln\) formula for the discounted payback period; a calculator can do this for you)
Compound interest and the time value of money (high school personal finance and math)
  • Knowing that money invested at a yearly rate \(r\) is multiplied by \((1+r)\) every year
  • Knowing that, the other way around, dividing future money by \((1+r)\) turns it into its value today (the idea of discounting and present value)

How to calculate it in Excel

Copy the whole table below and paste it into cell A1 in Excel. It works as is.
Table to find the payback period (same amount every year)
Initial investment ($) 100000
Cash flow per year ($) 30000
Payback period (years) =B1/B2
Table to find the cash flow in year n (growing or shrinking)
Cash flow in year 1 ($) 30000
Rate of change (%; enter a decline as negative) 5
Year n 3
Cash flow in year n ($) =B1*(1+B2/100)^(B3-1)
Table to find the discounted cash flow
Money received in year n ($) 12100
Discount rate (%) 10
Years passed n 2
Discounted cash flow ($) =B1/(1+B2/100)^B3
Table to find the payback period from a table (linear interpolation)
Full years before payback k 3
Still to recover R ($) 3500
Cash flow in the next year ($) 4000
Payback period (years) =B1+B2/B3
Table to find the discounted payback period (same amount every year, closed form)
Initial investment ($) 100000
Cash flow per year ($) 30000
Discount rate (%) 10
Discounted payback period (years) =-LN(1-B1*B3/100/B2)/LN(1+B3/100)
The first table gives 100000 ÷ 30000, about 3.33 years. The second table gives 30000 × 1.05 × 1.05 = $33,075, and the third gives exactly $10,000.
The fourth table is the case where $3,500 is left to recover after year 3 and $4,000 comes in during year 4: 3 + 3500 ÷ 4000 = 3.875 years.
The fifth table is the closed-form formula with the LN function (natural log), which gives about 4.254 years. Just replace the numbers in column B with your own.

How to calculate it in Google Sheets

Copy the whole table below and paste it into cell A1 in Google Sheets. It works as is.
Table to find the payback period (same amount every year)
Initial investment ($) 100000
Cash flow per year ($) 30000
Payback period (years) =B1/B2
Table to find the cash flow in year n (growing or shrinking)
Cash flow in year 1 ($) 30000
Rate of change (%; enter a decline as negative) 5
Year n 3
Cash flow in year n ($) =B1*(1+B2/100)^(B3-1)
Table to find the discounted cash flow
Money received in year n ($) 12100
Discount rate (%) 10
Years passed n 2
Discounted cash flow ($) =B1/(1+B2/100)^B3
Table to find the payback period from a table (linear interpolation)
Full years before payback k 3
Still to recover R ($) 3500
Cash flow in the next year ($) 4000
Payback period (years) =B1+B2/B3
Table to find the discounted payback period (same amount every year, closed form)
Initial investment ($) 100000
Cash flow per year ($) 30000
Discount rate (%) 10
Discounted payback period (years) =-LN(1-B1*B3/100/B2)/LN(1+B3/100)
The same formulas and the same LN function as in Excel work as is. Copy the whole table, paste it into cell A1, and replace the numbers in column B with your own.

How to calculate it in Python

initial_investment = 100000                    # initial investment ($)
discount_rate = 0.10                           # discount rate (per year; 10% is 0.10)
cash_flows = [5000, 25000, 35000, 40000, 30000, 10000]   # cash flow for each year from year 1 ($)

# Payback period: find the point within the year where the cumulative net cash flow crosses $0, by linear interpolation
def payback_period(investment, cfs):
    cumulative = -investment
    for year, cf in enumerate(cfs, start=1):
        previous = cumulative
        cumulative += cf
        if previous < 0 and cumulative >= 0:
            return (year - 1) + (-previous) / cf
    return None   # not paid back within the years entered

# Discounted payback period: convert each year's money to today's value first, then do the same
def discounted_payback_period(investment, cfs, rate):
    cumulative = -investment
    for year, cf in enumerate(cfs, start=1):
        previous = cumulative
        discounted_cf = cf / (1 + rate) ** year
        cumulative += discounted_cf
        if previous < 0 and cumulative >= 0:
            return (year - 1) + (-previous) / discounted_cf
    return None

pp = payback_period(initial_investment, cash_flows)
dpp = discounted_payback_period(initial_investment, cash_flows, discount_rate)
print(f"Payback period: {pp:.3f} years")
print(f"Discounted payback period: {dpp:.3f} years")
Runs with the standard library only. Change the initial investment, the discount rate and the list of cash flows at the top, then run it (the example gives a payback period of 3.875 years and a discounted payback period of 5.452 years). It is the textbook method, finding the point within the year where the cumulative total crosses $0 by proportional splitting (linear interpolation).

How to write it in LaTeX and other math languages (copy and paste)

Payback period (same amount every year)
PP = I ÷ CF
PP = \dfrac{I}{CF}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <mi>PP</mi>
    <mo>=</mo>
    <mfrac>
      <mi>I</mi>
      <mi>CF</mi>
    </mfrac>
  </mrow>
</math>
PP = I / (CF)
invest/cf
PP := invest/cf;
PP = invest/cf;
PP = I/CF
Cash flow in each year when it grows or shrinks
CFₙ = CF₁ × (1 ± g)ⁿ⁻¹
CF_n = CF_1 \times (1 \pm g)^{n-1}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <msub><mi>CF</mi><mi>n</mi></msub>
    <mo>=</mo>
    <msub><mi>CF</mi><mn>1</mn></msub>
    <mo>&#x00D7;</mo>
    <msup>
      <mrow><mo>(</mo><mn>1</mn><mo>&#x00B1;</mo><mi>g</mi><mo>)</mo></mrow>
      <mrow><mi>n</mi><mo>&#x2212;</mo><mn>1</mn></mrow>
    </msup>
  </mrow>
</math>
CF_n = CF_1 (1 +- g)^(n-1)
cf1*(1 + g)^(n - 1)
cfn := cf1*(1 + g)^(n - 1);
cfn = cf1*(1 + g)^(n - 1);
CF_n = CF_1 (1 ± g)^(n−1)
Discounted cash flow (future money in today's value)
DCFₙ = CFₙ ÷ (1 + r)ⁿ
DCF_n = \dfrac{CF_n}{(1+r)^{n}}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <msub><mi>DCF</mi><mi>n</mi></msub>
    <mo>=</mo>
    <mfrac>
      <msub><mi>CF</mi><mi>n</mi></msub>
      <msup>
        <mrow><mo>(</mo><mn>1</mn><mo>+</mo><mi>r</mi><mo>)</mo></mrow>
        <mi>n</mi>
      </msup>
    </mfrac>
  </mrow>
</math>
DCF_n = (CF_n) / ((1 + r)^n)
cfn/(1 + r)^n
DCFn := cfn/(1 + r)^n;
dcfn = cfn/(1 + r)^n;
DCF_n = CF_n/(1 + r)^n
Payback period from a table (uneven cash flows)
PP = k + R ÷ CFₖ₊₁
PP = k + \dfrac{R}{CF_{k+1}}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <mi>PP</mi>
    <mo>=</mo>
    <mi>k</mi>
    <mo>+</mo>
    <mfrac>
      <mi>R</mi>
      <msub><mi>CF</mi><mrow><mi>k</mi><mo>+</mo><mn>1</mn></mrow></msub>
    </mfrac>
  </mrow>
</math>
PP = k + R / (CF_(k+1))
k + rem/cfnext
PP := k + rem/cfnext;
PP = k + rem/cfnext;
PP = k + R/CF_(k+1)
Discounted payback period (closed-form formula for the same amount every year)
DPP = −ln(1 − I × r ÷ CF) ÷ ln(1 + r)
DPP = \dfrac{-\ln\left(1 - \dfrac{I \times r}{CF}\right)}{\ln(1+r)}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mrow>
    <mi>DPP</mi>
    <mo>=</mo>
    <mfrac>
      <mrow>
        <mo>&#x2212;</mo>
        <mi>ln</mi>
        <mrow>
          <mo>(</mo>
          <mn>1</mn>
          <mo>&#x2212;</mo>
          <mfrac>
            <mrow><mi>I</mi><mo>&#x00D7;</mo><mi>r</mi></mrow>
            <mi>CF</mi>
          </mfrac>
          <mo>)</mo>
        </mrow>
      </mrow>
      <mrow>
        <mi>ln</mi>
        <mrow><mo>(</mo><mn>1</mn><mo>+</mo><mi>r</mi><mo>)</mo></mrow>
      </mrow>
    </mfrac>
  </mrow>
</math>
DPP = (-ln(1 - (I r) / (CF))) / (ln(1 + r))
-Log[1 - invest*r/cf]/Log[1 + r]
DPP := -ln(1 - invest*r/cf)/ln(1 + r);
DPP = -log(1 - invest*r/cf)/log(1 + r);
DPP = −ln(1 − I r/CF)/ln(1 + r)

How to have ChatGPT  do the calculation

You are an investment calculation assistant. Do the following calculation by actually running Python code, and base your answer only on the numbers from the execution result (do not answer by mental math or guessing).

I invest $100,000 and receive these cash flows, starting in year 1: $5,000, $25,000, $35,000, $40,000, $30,000 and $10,000. The discount rate is 10% per year.
Find each of the following:
1. The payback period (years, 3 decimal places) = the point where the cumulative net cash flow reaches $0 (linear interpolation between the two points where the sign changes)
2. The discounted payback period (years, 3 decimal places) = the point found the same way after dividing each year's cash flow by (1 + 0.1)^(year number)
3. The cash flow return rate (%, 2 decimal places) = the IRR (internal rate of return) of the series (year 0 = -100000, years 1–6 = the amounts above)

Show the formulas you used and the numbers from the execution result.

How to Use
  1. 1
    Enter your numbers
    Type the numbers you want to calculate with into the input fields
  2. 2
    Calculate
    Press the "Calculate" button
  3. 3
    Check the result
    The result appears on the spot. The same page also explains the idea behind the calculation and the formula
  DataChef Features
Easy and Free
Unlimited conversions for free.
No technical knowledge required.
Intuitive and user-friendly operation.
No Registration Required
Available immediately after access.
Can be used without registering personal information.
Safe and Secure
Fully SSL encrypted communication.
Automatic file deletion by clicking "download".
Fast
High-speed site access
and rapid file conversion.
No Watermark
No watermark.
No attribution required.
Commercial Use Available
Free for commercial use.
No need to contact us for commercial use permission.