← back to finance

Time Value of Money

OpenStax Principles of Finance (CC BY 4.0) ยท MIT OCW 15.401 (CC BY-NC-SA 4.0)

A dollar today is worth more than a dollar tomorrow. The discount rate bridges the two: it bundles the cost of waiting, inflation expectations, and risk. Most financial decisions start by comparing present values.

t=0 t=1 t=2 t=n PV FV compound: ×(1+r)n discount: ÷(1+r)n Present value and future value on a timeline.

Present value and future value

Future value compounds a present amount forward: FV = PV × (1+r)n. Present value discounts a future amount back: PV = FV / (1+r)n. The discount factor 1/(1+r)n tells you what one future dollar is worth today.

Scheme

Compound vs simple interest

Simple interest pays on the original principal only: FV = PV × (1 + r·n). Compound interest pays on accumulated interest too. The gap widens with time. At high rates or long horizons, compounding dominates.

Scheme

Net present value

NPV sums the present values of all cash flows, including the initial outlay (time 0). A positive NPV means the investment creates value — provided the discount rate reflects the true opportunity cost of capital. The core decision rule in corporate finance.

Scheme

Annuities and perpetuities

An annuity pays a fixed amount C at the end of each period for n periods (ordinary annuity). Its PV = C × [1 - (1+r)-n] / r. A perpetuity pays forever: PV = C / r. A growing perpetuity with growth rate g has PV = C1 / (r - g), where C1 is the first payment (one period from now) and r > g. These are closed-form shortcuts for the NPV sum. All assume end-of-period cash flows and a constant discount rate.

Scheme

Notation reference

Symbol Scheme Python Meaning
PV(present-value fv r n)present_value(fv, r, n)Present value
FV(future-value pv r n)future_value(pv, r, n)Future value
r0.050.05Discount / interest rate
n1010Number of periods
NPV(npv cashflows r)npv(cashflows, r)Net present value
Neighbors