EconStatsCraft › Time value of money & NPV/IRR

Time value of money & NPV/IRR

A financial calculator that explains itself: solve for the present value, future value, payment, number of periods or rate of an annuity, or value a stream of cash flows with NPV, IRR, MIRR and payback, with the NPV profile drawn.

The intuition

A rupee or dollar today can be invested, so it will be worth more tomorrow. Discounting runs that backwards: a payment due in the future is worth less today, by exactly the amount you would need to invest now to reach it. Every valuation in finance, from a savings plan to a pension or a share, is this one idea applied to a list of cash flows.

When to use it

Saving towards a target, pricing a loan or a mortgage, comparing rates quoted with different compounding, valuing a perpetuity, or deciding whether a project is worth its cost. It is the arithmetic under every other valuation method, from bonds to pensions.

Where the estimator comes from

One unit grows to (1+i) after a period and (1+i)^n after n, so a single sum has FV=PV(1+i)^n. A level payment PMT at the end of each period accumulates to PMT\sum_{k=0}^{n-1}(1+i)^k = PMT\,\frac{(1+i)^n-1}{i}, a geometric series. Payments at the start of each period earn one extra period, multiplying by (1+i). Letting n\to\infty in the present value PMT\frac{1-(1+i)^{-n}}{i} gives the perpetuity PMT/i. For uneven flows, \text{NPV}(r)=\sum_t CF_t(1+r)^{-t}, and the IRR is the root of \text{NPV}(r)=0, found numerically.

The model

FV = PV(1+i)^n + PMT\,\frac{(1+i)^n-1}{i},\qquad \text{EAR} = \left(1+\tfrac{r}{m}\right)^m - 1,\qquad \text{NPV}=\sum_{t=0}^{n}\frac{CF_t}{(1+r)^t},\quad \text{NPV}(\text{IRR}) = 0

What it assumes

Statistical properties

How to read the output

A worked reading

Save 500 a month for ten years at 6% a year compounded monthly. The rate per month is 0.5% and there are 120 payments. The balance reaches 81,939.67, although only 60,000 was put in: 21,939.67 is interest, and most of it is interest earned on earlier interest. The effective annual rate is 6.1678%, not 6%, because of monthly compounding. In cash-flow mode, a project costing 1,000 that returns 300, 400 and 500 over three years has an NPV of 17.63 at 8% and an IRR of 8.896%, so it just clears an 8% hurdle.

Symptom → diagnosis → what to do

If you see thisIt meansDo this
Future value is negativePayments entered as negative while savingIn this calculator money put in is positive
No rate solves the problemSigns inconsistent with the targetA loan: positive PV, negative PMT, FV of 0
Payment looks 12 times too largeAnnual rate used with monthly periodsSet compounding to 12 and enter years
Two IRRs, or noneCash flows change sign more than onceDecide with NPV at your required return
IRR and NPV rank projects differentlyProjects differ in size or timingFollow NPV

Common mistakes

Where to read this properly

See also

Bond pricing and EMI, which apply the same discounting to a bond and a loan. Equity valuation, which discounts an infinite stream.

Related Finance & risk

Black–Scholes option pricing · Bond price, duration & convexity · Merton distance to default · EMI / home loan planner · CAPM / beta estimation · Multi-factor model · Portfolio optimization · Value at Risk & Expected Shortfall · Performance & drawdown · Equity valuation (DDM, FCF, residual income) · Cost of capital (WACC) · Binomial option pricing · Option strategies (payoff & profit) · Forwards, futures & swaps · Credit risk & Basel capital · Extreme value theory (tail risk)

All analyses

Charts

Line chart · Area chart · Bar chart · Stacked bar · Scatter plot · Bubble chart · Histogram · Box plot · Pie chart · Heat map · Rebased to 100 · Lorenz curve and Gini

Maps

World map · Bivariate map · Flow map · India - state map · India - district map

Explore

Descriptive statistics · Summary by group · Two-way table · Classical statistical tests

Regression

Multiple regression (OLS) · Logit / Probit · Tobit (censored) · Truncated regression · Multinomial logit · Ordered logit / probit · Quantile regression · Poisson / Negative binomial

Time series - one series

Time-varying coefficients (Kalman) · Unit root tests · Correlogram (ACF / PACF) · ARIMA / SARIMA · Rolling-origin cross-validation · Theta method · Unobserved components · STL forecasting · Forecast combination · Markov regime switching · Change frequency (resample) · ARCH / GARCH volatility · Decompose & filter · Spectral analysis · Exponential smoothing · Forecast accuracy

Time series - several series

Yield curve (Nelson–Siegel / Svensson) · Dynamic factor model · Dynamic regression (ARIMAX) · Structural VAR · VAR · Granger causality · Cointegration · VECM · ARDL & bounds test

Panel data

Panel regression · Panel cointegration tests · Heterogeneous panel: Mean Group & PMG · Gravity model of trade · Dynamic panel GMM · Panel diagnostics · Panel unit-root tests

Multivariate statistics

Principal components (PCA) · Factor analysis · Cluster analysis

Marketing research

Conjoint analysis · MaxDiff (best–worst scaling) · TURF - reach of a product line · Price sensitivity (Van Westendorp) · Market basket analysis · Perceptual map · Scale reliability (Cronbach’s alpha) · Key driver analysis

Causal

Spatial autocorrelation · Spatial regression · Heckman selection · Instrumental variables (2SLS) · Difference-in-differences · Staggered difference-in-differences · Regression discontinuity · Matching & weighting · Oaxaca–Blinder decomposition

Finance & risk

Black–Scholes option pricing · Bond price, duration & convexity · Merton distance to default · EMI / home loan planner · CAPM / beta estimation · Multi-factor model · Portfolio optimization · Value at Risk & Expected Shortfall · Performance & drawdown · Time value of money & NPV/IRR · Equity valuation (DDM, FCF, residual income) · Cost of capital (WACC) · Binomial option pricing · Option strategies (payoff & profit) · Forwards, futures & swaps · Credit risk & Basel capital · Extreme value theory (tail risk)

Actuarial

Life table · Life annuity · Life insurance pricing · Chain ladder reserving · Buhlmann credibility · Survival analysis · Mortality graduation · Aggregate loss model · Ruin probability · Multi-state Markov model · Loss severity fitting

Tests & breaks

Monte Carlo experiment · F-test, Wald & Chow · Structural breaks & stability

Machine learning

Regression vs machine learning · Ridge / Lasso / Elastic Net · Random forest · Gradient boosting

Open the workspace →

Starting engine…

EconStatsCraft rigorous, plain-spoken econometrics

Econometrics that explains itself.

Regression, panel data, time series and the whole battery of tests. Every result is followed by a verdict you can defend.

Load a dataset to see it here.