Time Value of Money
Present value, future value, annuities, and discounting.
Time Value of Money
The time value of money (TVM) is arguably the most fundamental concept in finance. It states that a dollar today is worth more than a dollar tomorrow because money available now can be invested to earn returns. This principle underlies virtually all financial decision-making, from personal investments to corporate capital budgeting.
Future Value
If you invest an amount today, how much will it grow to in the future? The future value (FV) answers this question.
Simple Interest
With simple interest, you earn returns only on the principal:
where is present value, is the interest rate per period, and is the number of periods.
Compound Interest
With compound interest, you earn returns on both principal and accumulated interest:
where is the number of compounding periods.
Example: Investing 1,000 at 8% annually for 10 years: $$FV = 1000 \times (1.08)^{10} = \2,158.92$$
Continuous Compounding
As compounding frequency approaches infinity, we get continuous compounding:
This formula is extensively used in derivatives pricing and theoretical finance.
Present Value
Present value (PV) is the inverse operation: what is a future cash flow worth today?
The process of calculating present value is called discounting, and is the discount rate.
Discount Factors
The discount factor represents the present value of t$:
For a series of cash flows, the present value is:
Annuities
An annuity is a series of equal payments at regular intervals.
Ordinary Annuity (Payments at End of Period)
Present value:
Future value:
Annuity Due (Payments at Beginning of Period)
Multiply ordinary annuity formulas by :
Perpetuity
A perpetuity is an annuity that continues forever. Its present value simplifies elegantly:
For a growing perpetuity where payments grow at rate :
This formula is the foundation of the Gordon Growth Model for stock valuation.
Net Present Value (NPV)
NPV is the cornerstone of investment analysis. It sums all present values of cash flows, including the initial investment (typically negative):
Decision rule: Accept projects with ; reject those with .
Internal Rate of Return (IRR)
The IRR is the discount rate that makes :
The IRR must typically be solved numerically (using Newton-Raphson or similar methods).
Decision rule: Accept if required return.
Caution: IRR can give misleading results with non-conventional cash flows or when comparing mutually exclusive projects.
Effective Annual Rate (EAR)
When interest is compounded more frequently than annually, the stated rate differs from the effective rate:
where is the number of compounding periods per year.
Example: A 12% nominal rate compounded monthly:
Applications in Programming
TVM calculations are fundamental to financial software:
- Loan Amortization: Calculate monthly payments and build amortization schedules
- Bond Pricing: Discount future coupon payments and principal
- Project Valuation: Implement NPV and IRR functions
- Retirement Planning: Model savings growth and withdrawal strategies
Efficient implementations require:
- Handling edge cases (zero rates, infinite periods)
- Numerical methods for IRR calculation
- Precision considerations for large time horizons
Choosing the Discount Rate
The appropriate discount rate depends on the context:
- Risk-free rate: Government bond yields (for riskless cash flows)
- Cost of capital: For corporate investment decisions
- Required return: Incorporating risk premiums for risky assets
The discount rate should reflect the opportunity cost of capital: what return could be earned on an investment of similar risk.
ELI10 Explanation
Simple analogy for better understanding
Self-Examination
Why is a dollar received today worth more than a dollar received in the future, even in a world without inflation?
How does increasing the compounding frequency affect the future value of an investment? What is the limit as compounding becomes continuous?
Derive the present value formula for a perpetuity. Why doesn't the sum diverge to infinity even though payments continue forever?
What are the limitations of using IRR as an investment decision criterion? When might NPV and IRR give conflicting recommendations?
How would you implement a numerical solver for IRR in a programming language? What convergence issues might you encounter?