Finance Formulas

The Library

Every formula, from first principles.

Not a cheat sheet. Each entry explains why the formula must be true — so under pressure you can rebuild it instead of recalling it.

Time Value of Money

Discounting, compounding, annuities and the machinery behind every valuation.

Quantitative Methods

Returns, dispersion, probability and the statistics that describe risk.

Holding Period Return (HPR)

foundation
HPR=P1P0+DP0HPR = \frac{P_1 - P_0 + D}{P_0}

Arithmetic Mean Return

foundation
Rˉ=1ni=1nRi\bar{R} = \frac{1}{n}\sum_{i=1}^{n} R_i

Geometric Mean Return

core
RG=[i=1n(1+Ri)]1/n1R_G = \left[\prod_{i=1}^{n}(1+R_i)\right]^{1/n} - 1

Weighted Mean (Portfolio Return)

foundation
Rˉw=i=1nwiRi,wi=1\bar{R}_w = \sum_{i=1}^{n} w_i R_i, \qquad \sum w_i = 1

Sample Standard Deviation

core
s=i=1n(RiRˉ)2n1s = \sqrt{\frac{\sum_{i=1}^{n}(R_i - \bar{R})^2}{n-1}}

Coefficient of Variation (CV)

core
CV=sXˉCV = \frac{s}{\bar{X}}

Sharpe Ratio

core
S=RpRfσpS = \frac{R_p - R_f}{\sigma_p}

Roy's Safety-First Ratio

advanced
SF=RpRLσpSF = \frac{R_p - R_L}{\sigma_p}

Correlation from Covariance

advanced
ρAB=CovABσAσB\rho_{AB} = \frac{Cov_{AB}}{\sigma_A \sigma_B}

Expected Value

foundation
E(X)=i=1npiXiE(X) = \sum_{i=1}^{n} p_i X_i

Total Probability Rule

core
P(B)=P(BA)P(A)+P(BAc)P(Ac)P(B) = P(B\mid A)\,P(A) + P(B\mid A^{c})\,P(A^{c})

Bayes' Formula

advanced
P(AB)=P(BA)P(A)P(B)P(A\mid B) = \frac{P(B \mid A)\,P(A)}{P(B)}

Combinations (nCr)

foundation
nCr=(nr)=n!(nr)!r!{}_{n}C_{r} = \binom{n}{r} = \frac{n!}{(n-r)!\,r!}

Permutations (nPr)

foundation
nPr=n!(nr)!{}_{n}P_{r} = \frac{n!}{(n-r)!}

Economics

Elasticity, money and inflation — the macro identities behind the markets.

Financial Statement Analysis

The ratio machinery that turns raw statements into judgments about a business.

Corporate Issuers

What capital costs a company — the WACC cluster and leverage measures.

Equity Investments

Valuing stocks: justified multiples, enterprise value and margin mechanics.

Fixed Income

Bond pricing, yields and the duration machinery that measures rate risk.

Derivatives

Forwards, options and the no-arbitrage logic that prices every contract.

Alternative Investments

Real estate cap rates and the fee arithmetic of hedge funds and private funds.

Portfolio Management

Diversification, beta and the CAPM — how risk is priced and performance judged.