Skip to content

Every finance formula on this site

Calculator formulas
132
Factor formulas
6
On this page
138
Worked examples
1,307

138 formulas, each with what its symbols stand for and a working calculator underneath it. Every one is applied in a worked example whose numbers are recomputed by an independent program before the site can build. Put that calculator on a class page from widgets.

Class and first paycheck

  • Simple interest calculator and formula

    I=PrtA=P(1+rt)I = Prt \qquad A = P(1 + rt)

    PP is the original principal, rr the annual rate as a decimal, and tt time in years. II is the interest. AA is principal plus interest. Eighteen months is t=1.5t = 1.5.

  • Hourly wage to annual salary

    A=h×w×nA = h \times w \times n

    hh is the hourly wage, ww paid hours in a week, and nn paid weeks in a year. Weekly pay is h×wh \times w. Monthly pay on this page is A/12A / 12, not four weeks of pay.

  • Paycheck calculator and FICA split

    Net=G−0.062min⁡(G,B/n)−0.0145G−fG−sG\text{Net} = G - 0.062\min(G, B/n) - 0.0145 G - fG - sG

    GG is gross pay this check, nn the number of checks a year, BB the Social Security wage base, ff federal withholding as a decimal, and ss state withholding as a decimal. The min term spreads the annual Social Security cap evenly across the year's checks.

  • 50/30/20 budget split calculator

    N=0.50HW=0.30HS=0.20HN = 0.50H \quad W = 0.30H \quad S = 0.20H

    HH is take-home pay. The three percents are yours to type. 50, 30 and 20 are the usual starting split, not a law. Leftover is HH minus the three buckets.

  • Net worth calculator and formula

    Net worth=A−D\text{Net worth} = A - D

    AA is everything owned at today's prices. DD is everything owed at today's payoff balances. The difference can be negative.

  • Credit utilization calculator

    U=BLU = \frac{B}{L}

    BB is the reported revolving balance and LL the total revolving limit. The page prints UU in percentage points: 30, not 0.30. Instalment loans sit outside this ratio.

  • Emergency fund calculator: size and time

    D=(T−S(1+r12)N)r12(1+r12)N−1D = \frac{\left(T - S\left(1 + \frac{r}{12}\right)^{N}\right)\frac{r}{12}}{\left(1 + \frac{r}{12}\right)^{N} - 1}

    TT is the target, which is your essential monthly costs times the months of cover you want. SS is what is already set aside, rr the nominal annual rate as a decimal, before compounding is folded into it, NN the number of monthly deposits, and DD the deposit at the end of each month.

  • FDIC insurance calculator

    covered=min⁡(B,L)\text{covered} = \min(B,L)

    BB is the combined eligible balance in one category at one insured bank. LL is the coverage limit. Uninsured is whatever sits above LL.

Saving and growth

  • Compound interest calculator and formula

    A=P(1+rn)ntA = P\left(1 + \frac{r}{n}\right)^{nt}

    AA is the ending balance, PP the starting amount, rr the annual rate as a decimal, nn how many times a year interest is added, and tt the number of years.

  • Savings goal calculator: monthly deposit

    PMT=(FV−P(1+rn)nt)rn(1+rn)nt−1PMT = \frac{\left(FV - P\left(1 + \frac{r}{n}\right)^{nt}\right)\frac{r}{n}}{\left(1 + \frac{r}{n}\right)^{nt} - 1}

    FVFV is the target, PP what you have already saved, rr the annual rate as a decimal, nn how many times a year interest is added and money goes in, and tt the number of years. PMTPMT is the deposit at the end of each period.

  • Rule of 72 calculator and doubling time

    t≈72rt=ln⁡2ln⁡(1+r/100)t \approx \frac{72}{r} \qquad t = \frac{\ln 2}{\ln(1 + r/100)}

    rr is the annual growth rate in percentage points, so 7 rather than 0.07, and tt is the number of years the money takes to double. The expression on the left is the shortcut. The one on the right is the exact answer it is standing in for.

  • Inflation calculator and buying power

    Pt=P0(1+i)tBt=P0(1+i)tP_t = P_0 (1 + i)^t \qquad B_t = \frac{P_0}{(1 + i)^t}

    P0P_0 is the sum today, ii the inflation rate for one year as a decimal, and tt the number of years. PtP_t is what the same basket of goods costs then. BtB_t is what P0P_0 still buys then, measured in today's money.

  • Real return after inflation calculator

    rreal=1+rnominal1+i−1r_{\text{real}} = \frac{1 + r_{\text{nominal}}}{1 + i} - 1

    rnominalr_{\text{nominal}} is the return you are quoted, ii is inflation over the same period, and rrealr_{\text{real}} is what the money actually buys. Both rates go in as decimals, so 7 percent is 0.07.

  • Future value of an annuity calculator

    FV=PMT×(1+i)n−1iFV = PMT \times \frac{(1 + i)^n - 1}{i}

    FVFV is the value at the end, PMTPMT the payment made every period, ii the rate for one period, and nn the number of payments.

  • Present value calculator

    PV=F(1+i)n+PMT×1−(1+i)−niPV = \frac{F}{(1+i)^n} + PMT \times \frac{1 - (1+i)^{-n}}{i}

    FF is a lump due after nn periods, PMTPMT a level end-of-period payment, and ii the rate per period. At a zero rate the present value is just the undiscounted sum, because nothing is being given up by waiting.

  • CAGR calculator and formula

    CAGR=(VtV0)1t−1\text{CAGR} = \left(\frac{V_t}{V_0}\right)^{\frac{1}{t}} - 1

    V0V_0 is the value at the start, VtV_t the value at the end, and tt the number of years between them. The answer comes out as a decimal, so 0.1029 means 10.29 percent a year.

  • APR vs APY calculator and formula

    APY=(1+APRn)n−1APY = \left(1 + \frac{APR}{n}\right)^{n} - 1

    APRAPR is the nominal annual rate as a decimal and nn is how many times a year interest is added. The result is the effective annual rate.

  • CD interest calculator

    FV=P(1+APY)tFV = P(1+\text{APY})^{t}

    PP is the deposit, APY the annual percentage yield as a decimal, and tt the years. APY is used once a year because it is already an annual figure.

  • Savings rate calculator

    savings rate=SI×100\text{savings rate}=\frac{S}{I}\times 100

    SS is the amount saved over a period and II the income over the same period. Both must cover the same months, and both must be measured on the same side of tax.

  • Coast FIRE calculator

    F=Sw,V=P(1+r)t,gap=F−VF=\frac{S}{w},\qquad V=P(1+r)^{t},\qquad \text{gap}=F-V

    SS is annual spending and ww the withdrawal rate, so FF is the FIRE number. VV is what current savings PP grow to at rate rr over tt years with nothing added.

Borrowing

  • Loan payment calculator and formula

    M=P×i1−(1+i)−nM = P \times \frac{i}{1 - (1 + i)^{-n}}

    MM is the payment, PP the amount borrowed, ii the rate for one period (the annual rate divided by 12 for a monthly loan), and nn the total number of payments.

  • Mortgage affordability calculator and formula

    max loan=(L×I−D−T)(1−(1+i)−n)i\text{max loan} = \frac{\left(L \times I - D - T\right)\left(1 - (1 + i)^{-n}\right)}{i}

    LL is the lender's debt-to-income limit as a decimal, II gross monthly income, DD the other monthly debt payments and TT monthly tax and insurance. What survives those subtractions is the budget for principal and interest, and the fraction turns that budget into a loan size at period rate ii over nn payments.

  • Mortgage extra payment calculator

    n=ln⁡(1−iBp)−ln⁡(1+i)n = \frac{\ln\left(1 - \frac{iB}{p}\right)}{-\ln(1+i)}

    BB is the balance, ii the monthly rate, and pp the total monthly payment including extra principal. nn is the number of months until the balance hits zero. If pp does not cover the first month's interest, there is no finite nn.

  • Credit card payoff calculator and formula

    n=−ln⁡(1−iBM)ln⁡(1+i)n = -\frac{\ln\left(1 - \frac{iB}{M}\right)}{\ln(1 + i)}

    nn is the number of monthly payments, BB the balance you owe now, MM the fixed payment you make each month, and ii the monthly rate. A card quotes a nominal annual rate, so ii is that rate divided by 12, not the smaller monthly rate that would compound up to it over a year.

  • Car loan calculator: payment and total cost

    M=P×i1−(1+i)−nM = P \times \frac{i}{1 - (1 + i)^{-n}}

    MM is the monthly payment, PP the amount financed, ii the monthly rate (the nominal annual rate divided by 12, not an effective annual rate), and nn the number of payments, which is the term in years times 12.

  • Student loan payoff calculator

    n=−ln⁡(1−iBM)ln⁡(1+i)n = \frac{-\ln\left(1 - \frac{i B}{M}\right)}{\ln(1 + i)}

    BB is the balance, ii the monthly rate (the nominal annual rate divided by 12, not an effective annual rate), MM the payment you actually make each month, and nn the number of months until the balance reaches zero.

  • Debt-to-income ratio calculator and formula

    DTI=total monthly debt paymentsgross monthly income×100%\text{DTI} = \frac{\text{total monthly debt payments}}{\text{gross monthly income}} \times 100\%

    Above the line goes every payment you are required to make each month. Below it goes gross pay, before tax and deductions. The division gives a decimal, so multiply by 100100 for the percentage a lender quotes.

  • Refinance break-even calculator and formula

    months=CMold−Mnew\text{months} = \frac{C}{M_{\text{old}} - M_{\text{new}}}

    CC is the closing costs, MoldM_{\text{old}} is the payment on the loan you have and MnewM_{\text{new}} the payment on the loan replacing it. Both payments come from the same level-payment formula, so the only things that set them are the balance, the rate and the term on each side.

  • PMI calculator and formula

    monthly PMI=L×p12until Bt≤0.8×H\text{monthly PMI} = \frac{L \times p}{12} \quad \text{until } B_t \le 0.8 \times H

    LL is the loan, pp the annual PMI rate as a decimal, HH the original purchase price, BtB_t the amortised balance. The 80 percent threshold is the borrower-request cancellation point under US rules; automatic cancellation sits a little later.

  • Mortgage points calculator

    cost=B×pnBE=costM0−M1\text{cost} = B \times p \qquad n_{BE} = \frac{\text{cost}}{M_0 - M_1}

    BB is the loan, pp points as a decimal (1 percent is 0.01), M0M_0 the payment at the higher rate and M1M_1 at the lower. Break-even nBEn_{BE} is months of payment saving against the cash cost, a cash-flow test, not a present-value test.

  • HELOC interest-only calculator

    Im=B×r12I_m = \dfrac{B \times r}{12}

    BB is the drawn balance. rr is the annual rate as a decimal. ImI_m is the interest-only monthly charge if the balance and rate do not move.

  • Escrow calculator and formula

    E=T+H12E = \dfrac{T + H}{12}

    TT is projected annual property tax. HH is projected annual homeowners insurance. EE is the base monthly impound deposit before a shortage or cushion.

  • Gift tax exclusion calculator

    remaining=max⁡(E−G,0),excess=max⁡(G−E,0)\text{remaining}=\max(E-G,0),\quad \text{excess}=\max(G-E,0)

    EE is the annual exclusion input and GG is the gift to one recipient. Used room is the smaller of EE and GG.

  • Margin buying power calculator

    buying power=Cm\text{buying power}=\frac{C}{m}

    CC is cash and mm is the initial margin percentage written as a decimal. Borrowed amount is buying power minus cash.

  • PITI mortgage payment calculator

    PITI=Pi1−(1+i)−n+T12+I12\text{PITI}=\frac{Pi}{1-(1+i)^{-n}}+\frac{T}{12}+\frac{I}{12}

    PP is the loan, ii the monthly rate, nn the number of payments, TT the annual property tax and II the annual insurance premium. The first term is the amortising payment; the other two are annual bills spread over 12 months.

  • Loan to value calculator

    LTV=LV×100,E=V−L\text{LTV}=\frac{L}{V}\times 100,\qquad E=V-L

    LL is the loan balance and VV is the property value. Equity EE is the part of the value the loan does not cover, so LTV and equity percentage always add to 100.

  • Biweekly mortgage calculator

    biweekly=M2,26×M2=13M a year\text{biweekly}=\frac{M}{2},\qquad 26\times\frac{M}{2}=13M \text{ a year}

    MM is the standard monthly payment. There are 26 fortnights in a year, so paying half of MM each fortnight pays 13 monthly payments rather than 12.

  • Interest only mortgage calculator

    monthly=P r12\text{monthly}=\frac{P\,r}{12}

    PP is the outstanding balance and rr the annual rate as a decimal. There is no term in the formula, because nothing is being repaid.

  • Remaining loan balance calculator

    Bk=P(1+i)k−M (1+i)k−1iB_k = P(1+i)^k - M\,\frac{(1+i)^k-1}{i}

    PP is the original loan, ii the monthly rate, MM the monthly payment and kk the payments made. The first term grows the debt, the second credits the payments and their compounding.

  • Years to payoff calculator

    n=−ln⁡(1−iBM)ln⁡(1+i)n=\frac{-\ln\left(1-\frac{iB}{M}\right)}{\ln(1+i)}

    BB is the balance, ii the monthly rate and MM the monthly payment. The payment must exceed iBiB, the first month's interest, or the balance never falls.

  • Down payment calculator

    D=P×d,L=P−DD = P\times d,\qquad L = P - D

    PP is the purchase price, dd the deposit percentage as a decimal, DD the down payment and LL the loan. The two outputs always add back to the price.

  • Car lease payment calculator

    payment=C−Rn+(C+R)f\text{payment}=\frac{C-R}{n}+(C+R)f

    CC is capitalised cost, RR the residual value, nn the months in the term and ff the money factor. The rent charge uses the sum of CC and RR, not the difference.

  • Money factor calculator

    f=APR2400,APR=2400ff=\frac{\text{APR}}{2400},\qquad \text{APR}=2400f

    ff is the money factor and APR is the annual percentage rate in percentage points. The constant 2400 is 1200 for the monthly rate, doubled for the way a lease charges it.

Work and retirement

  • Employer match calculator

    M=S×min⁡(d,c)×mM = S \times \min(d, c) \times m

    SS is salary, dd the share of pay you defer, cc the cap the match applies to, and mm the match rate, all as decimals. Deferring past the cap still raises your own contribution and does not raise the match.

  • Retirement withdrawal calculator and formula

    Bn=P(1+i)n−W×(1+i)n−1iB_n = P(1 + i)^n - W \times \frac{(1 + i)^n - 1}{i}

    BnB_n is what is left after nn withdrawals, PP the pot you start with, WW the amount you take each period, and ii the return for one period, which is the nominal annual return divided by 12 when you withdraw monthly, not an effective annual rate.

  • FIRE number calculator

    F=Sw(1+r)t=F+C/rB+C/rF = \frac{S}{w} \qquad (1+r)^t = \frac{F + C/r}{B + C/r}

    SS is annual spending, ww the withdrawal rate as a decimal (4 percent is 0.04), BB what is already saved, CC saved each year, rr the annual return. tt is years to reach FF. The 4 percent rule is w=0.04w = 0.04, which is also F=25SF = 25S.

  • RMD calculator and formula

    R=BdR = \dfrac{B}{d}

    BB is the prior 31 December balance. dd is the life-expectancy factor for the owner's age. RR is the minimum that must leave that account.

  • Social Security PIA calculator

    PIAraw=0.90min⁡(A,b1)+0.32min⁡(max⁡(A−b1,0),b2−b1)+0.15max⁡(A−b2,0)\mathrm{PIA}_{raw} = 0.90\min(A,b_1) + 0.32\min(\max(A-b_1,0),b_2-b_1) + 0.15\max(A-b_2,0)

    AA is average indexed monthly earnings. b1b_1 and b2b_2 are the bend points for the eligibility year. The raw sum is then floored to the next lower dime.

  • Social Security claiming calculator

    B=PIA×fB = \text{PIA} \times f

    ff is 1 minus the early-reduction percents, or 1 plus delayed-retirement credits. The first 36 early months take 5/9 of 1 percent each. Further early months take 5/12 of 1 percent. Delayed months take 2/3 of 1 percent each.

  • Taxable Social Security calculator

    PI=A+E+12B,T=min⁡(12B, 12(PI−base))PI=A+E+\tfrac{1}{2}B,\qquad T=\min\left(\tfrac{1}{2}B,\ \tfrac{1}{2}(PI-\text{base})\right)

    AA is other income, EE tax exempt interest, BB the benefits received and PIPI provisional income. TT is the taxable portion of the benefits under the first tier.

  • Life insurance needs calculator

    N=(I×y)+D−A−CN=(I \times y)+D-A-C

    II is annual income to replace, yy the years to replace it for, DD debts to clear, AA assets already available, and CC cover already in force.

  • Roth conversion tax calculator

    tax=C×r\text{tax}=C\times r

    CC is the converted amount and rr is the entered tax rate written as a decimal.

  • Effective tax rate calculator

    effective rate=total taxincome\text{effective rate}=\frac{\text{total tax}}{\text{income}}

    Divide total tax by income and multiply the decimal by 100 to express the effective rate as a percentage.

  • Tax bracket calculator

    tax=∑ibandi×ratei\text{tax}=\sum_i \text{band}_i\times\text{rate}_i

    Split income across the teaching bands, multiply each band by its own rate, then add the band taxes.

  • Self-employment tax calculator

    base=0.9235×net,tax=0.153×base\text{base}=0.9235\times\text{net},\quad \text{tax}=0.153\times\text{base}

    Multiply net earnings by 0.9235 for the tax base, then multiply that base by 0.153. The deductible half is one half of the tax.

  • QBI deduction calculator

    D=0.20×QBID=0.20\times\text{QBI}

    DD is the teaching deduction and QBI is qualified business income. The entered rate is 20 percent in both examples.

  • NIIT calculator and formula

    NIIT=0.038×NII\text{NIIT}=0.038\times\text{NII}

    NII is the supplied net investment income slice. Multiply it by the entered 3.8 percent rate.

  • Tax-loss harvest calculator

    tax saved=loss×r\text{tax saved}=\text{loss}\times r

    Loss is basis minus proceeds. Multiply that loss by the entered tax rate rr written as a decimal.

  • Capital gains tax calculator

    gain=proceeds−basis,tax=gain×r\text{gain}=\text{proceeds}-\text{basis},\qquad \text{tax}=\text{gain}\times r

    Basis is what the asset cost, adjusted for commissions and improvements. rr is the rate that applies to the gain, entered as a percentage.

  • Home sale exclusion calculator

    G=S−B,X=min⁡(G,cap),T=G−XG=S-B,\qquad X=\min(G,\text{cap}),\qquad T=G-X

    SS is the sale price, BB the adjusted basis, GG the gain, XX the excluded part and TT what remains taxable. The exclusion cap is entered rather than assumed.

  • After tax return calculator

    rafter=r(1−t)r_{\text{after}}=r(1-t)

    rr is the pre tax return and tt the tax rate on it, both as decimals. The drag is r−rafterr-r_{\text{after}}, measured in percentage points rather than as a percentage.

  • Additional Medicare tax calculator

    E=max⁡(W−threshold, 0),tax=0.009EE=\max(W-\text{threshold},\ 0),\qquad \text{tax}=0.009E

    WW is wages or self employment income and EE the amount above the threshold. Only EE is taxed at the extra 0.9 percent rate.

Investing and valuation

  • Price to earnings calculator

    P/E=PEPS=Market capEarnings\text{P/E} = \frac{P}{\text{EPS}} = \frac{\text{Market cap}}{\text{Earnings}}

    PP is the share price and EPS is earnings per share. Multiplying both by the share count gives market cap over total earnings, which is the same ratio.

  • DCF calculator and formula

    V=∑t=1nFt(1+r)t+Fn(1+g)(r−g)(1+r)nV = \sum_{t=1}^{n} \frac{F_t}{(1+r)^t} + \frac{F_n(1+g)}{(r-g)(1+r)^n}

    FtF_t is free cash flow in year tt, rr the discount rate (WACC as a decimal), gg perpetual growth after year nn. The second term is Gordon growth on the year-after-forecast flow, then discounted back nn years. gg must stay below rr.

  • Dividend discount calculator

    P=D0(1+g)k−g=D1k−gP = \frac{D_0(1+g)}{k-g} = \frac{D_1}{k-g}

    D0D_0 is the dividend just paid, gg perpetual growth, kk the required return, all as decimals. D1=D0(1+g)D_1 = D_0(1+g) is next year's dividend. kk must stay above gg or the growing perpetuity has no finite price. The implied yield D1/PD_1/P equals k−gk-g.

  • Bond price calculator and current yield

    P=∑t=1nC(1+i)t+F(1+i)nP = \sum_{t=1}^{n} \frac{C}{(1+i)^t} + \frac{F}{(1+i)^n}

    PP is the price, CC the coupon paid each period, FF the face value repaid at maturity, ii the market rate for one period, and nn the number of periods left.

  • Bond duration calculator

    DMac=∑tt PV(CFt)PDMod=DMac1+y/kD_{Mac} = \frac{\sum_t t \, PV(CF_t)}{P} \qquad D_{Mod} = \frac{D_{Mac}}{1 + y/k}

    PV(CFt)PV(CF_t) is the present value of the cash flow at time tt in years, PP the price, yy the annual yield and kk the number of coupon periods a year. DV01 is modified duration times price over 10,000: the dollar change for a one basis point fall in yield.

  • Cap rate calculator

    cap=NOIpriceV=NOIcap\text{cap} = \frac{\text{NOI}}{\text{price}} \qquad V = \frac{\text{NOI}}{\text{cap}}

    NOI is rent minus operating costs, before debt service and tax. The two forms are the same identity run forwards and backwards: a higher cap is a lower price for the same income.

  • Tax-equivalent yield calculator

    yte=yex1−ty_{te} = \frac{y_{ex}}{1 - t}

    yexy_{ex} is the tax-exempt yield and tt is the marginal tax rate, both as decimals. The identity is just 'undo the tax': a taxable yield, after tax, should equal the exempt yield.

  • Expense ratio calculator and fee impact

    A=P(1+g−fn)ntA = P\left(1 + \frac{g - f}{n}\right)^{nt}

    AA is the ending balance, PP what you start with, gg the return before costs as a decimal, ff the expense ratio as a decimal, nn how many times a year the money compounds, which is twelve on this page, and tt the number of years.

  • PEG ratio calculator and formula

    PEG=P/Eg%\text{PEG} = \frac{\text{P/E}}{g_{\%}}

    P/E is price over EPS. g_% is expected EPS growth in percentage points: 10 means ten percent. PEG is 20 / 10 = 2, not 20 / 0.10.

  • Price to book calculator

    P/B=PBVPS=Market capBook equity\text{P/B} = \frac{P}{\text{BVPS}} = \frac{\text{Market cap}}{\text{Book equity}}

    BVPS is book equity divided by shares. The two routes cancel the share count and have to agree.

  • Price to sales calculator

    P/S=PSPS=Market capSales\text{P/S} = \frac{P}{\text{SPS}} = \frac{\text{Market cap}}{\text{Sales}}

    SPS is sales divided by shares. The two routes cancel the share count and have to agree.

  • Total return calculator

    HPR=End−Begin+IncomeBegin\text{HPR} = \frac{\text{End} - \text{Begin} + \text{Income}}{\text{Begin}}

    End is the value at the close of the period. Income is dividends, coupon, or rent paid during it. The result is in percentage points: 8, not 0.08.

  • Sharpe ratio calculator

    S=Rp−RfσpS = \dfrac{R_p - R_f}{\sigma_p}

    RpR_p is the portfolio return. RfR_f is the matching risk-free rate. σp\sigma_p is the standard deviation of the portfolio's returns, on the same scale.

  • CAPM calculator and formula

    E(Ri)=Rf+βi(E(Rm)−Rf)E(R_i) = R_f + \beta_i\left(E(R_m) - R_f\right)

    RfR_f is the risk-free rate. E(Rm)E(R_m) is the expected market return. βi\beta_i is beta. The term in parentheses is the market risk premium.

  • Cash-on-cash return calculator

    cash-on-cash=CE\text{cash-on-cash} = \dfrac{C}{E}

    CC is cash left after operating costs and debt service for one year. EE is the equity cheque: down payment plus cash closing costs, minus credits.

  • I bond composite rate calculator

    c=f+2i+fic = f + 2i + fi

    ff is the annual fixed rate as a decimal. ii is the six-month inflation rate as a decimal. cc is the annualized composite rate, floored at zero.

  • TIPS calculator and formula

    Pt=P0(1+π)t;coupon=0.01PtP_t = P_0(1+\pi)^t;\quad \text{coupon}=0.01P_t

    P0P_0 is original par, π\pi is annual inflation, and tt is years. The teaching coupon is 1 percent of adjusted principal PtP_t.

  • Treasury bill price calculator

    P=F(1−dt360)P=F\left(1-d\frac{t}{360}\right)

    FF is face value, dd is the bank discount rate, and tt is days. The examples use a 360 day basis.

  • Call option payoff calculator

    max⁡(S−K,0)−p\max(S-K,0)-p

    SS is spot at expiry, KK is strike, and pp is premium paid per share.

  • Put option payoff calculator

    max⁡(K−S,0)−p\max(K-S,0)-p

    KK is strike, SS is spot at expiry, and pp is premium paid per share.

  • Stock split calculator

    new shares=old shares×N,new price=old priceN\text{new shares}=\text{old shares}\times N,\quad \text{new price}=\frac{\text{old price}}{N}

    NN is the number of new shares for each old share. Share count rises by NN while price divides by NN.

  • NAV per share calculator

    NAV per share=assets−liabilitiesshares\text{NAV per share}=\frac{\text{assets}-\text{liabilities}}{\text{shares}}

    Subtract liabilities from assets to get equity, then divide that equity by shares outstanding.

  • ETF premium calculator

    premium percent=100P−NAVNAV\text{premium percent}=100\frac{P-\text{NAV}}{\text{NAV}}

    PP is market price. Subtract NAV for the dollar gap, then divide by NAV and multiply by 100.

  • Rental cash flow calculator

    cash flow=EGI−operating expenses−debt service\text{cash flow}=\text{EGI}-\text{operating expenses}-\text{debt service}

    Effective gross income, or EGI, is gross scheduled rent less vacancy. Subtract annual operating expenses and annual debt service.

  • Gross rent multiplier calculator

    GRM=priceannual gross rent\text{GRM}=\frac{\text{price}}{\text{annual gross rent}}

    Divide property price by annual gross rent. GRM is a multiple, not a percentage.

  • DSCR calculator

    DSCR=NOIannual debt service\text{DSCR}=\frac{\text{NOI}}{\text{annual debt service}}

    NOI is income after operating costs and before the loan. Annual debt service is twelve monthly payments of principal and interest, not one month and not interest alone.

  • Net operating income calculator

    NOI=(gross rent−vacancy)−operating expenses\text{NOI}=(\text{gross rent}-\text{vacancy})-\text{operating expenses}

    The bracket is effective gross income, the rent actually collected. Operating expenses are the costs of running the building. The mortgage and income tax are outside both.

  • One percent rule calculator

    rule=monthly rentprice×100\text{rule}=\frac{\text{monthly rent}}{\text{price}}\times 100

    Monthly rent on top, purchase price on the bottom. The result is a percentage, and the rule of thumb is that it should reach 1.

  • Yield to maturity calculator

    P=∑t=1nC(1+y/m)t+F(1+y/m)nP=\sum_{t=1}^{n}\frac{C}{(1+y/m)^{t}}+\frac{F}{(1+y/m)^{n}}

    PP is the price paid, CC is the coupon per period, FF is face value, mm is payments per year, nn is the periods left, and yy is the annual yield the solver searches for.

  • Current yield calculator

    current yield=annual couponprice\text{current yield}=\frac{\text{annual coupon}}{\text{price}}

    The numerator is a dollar amount, face value times the coupon rate. The denominator is the price paid, not face value, which is the whole reason the two differ.

  • Dividend yield calculator

    dividend yield=DannualP\text{dividend yield}=\frac{D_{\text{annual}}}{P}

    DannualD_{\text{annual}} is the dividend per share over a full year, not one payment. PP is the current share price.

  • Earnings yield calculator

    earnings yield=EPSP=1P/E\text{earnings yield}=\frac{\text{EPS}}{P}=\frac{1}{P/E}

    EPS is earnings per share for the year and PP is the share price. The reciprocal of the same two numbers is the price to earnings ratio.

  • Graham number calculator

    G=22.5×EPS×BVPSG=\sqrt{22.5\times\text{EPS}\times\text{BVPS}}

    EPS is earnings per share and BVPS is book value per share. The constant 22.5 is a P/E of 15 multiplied by a price to book of 1.5.

  • Sortino ratio calculator

    S=R−TσdS=\frac{R-T}{\sigma_d}

    RR is the portfolio return, TT the target or minimum acceptable return, and σd\sigma_d the downside deviation: the standard deviation of returns below the target only.

  • Earnings per share calculator

    EPS=net incomeshares outstanding\text{EPS}=\frac{\text{net income}}{\text{shares outstanding}}

    Net income is profit after tax and after any preferred dividends. Shares outstanding is usually the weighted average over the period rather than the count on the last day.

  • Market cap calculator

    market cap=P×N\text{market cap}=P\times N

    PP is the share price and NN the shares outstanding. The result is the market value of the equity, which is not the same as the value of the whole business.

  • Modified duration calculator

    Dmod=Dmac1+ymD_{\text{mod}}=\frac{D_{\text{mac}}}{1+\frac{y}{m}}

    DmacD_{\text{mac}} is Macaulay duration in years, yy the annual yield as a decimal and mm the coupon payments per year. The divisor uses the periodic yield, not the annual one.

  • Perpetuity calculator

    PV=CrPV=\frac{C}{r}

    CC is the payment each period and rr the discount rate for that same period. The stream never ends, and the value is still finite.

Business maths

  • Enterprise value and EV/EBITDA

    EV=E+D−CEV = E + D - C

    EE is the value of the equity, DD interest-bearing debt, and CC surplus cash. Net debt is D−CD - C, so EV=E+net debtEV = E + \text{net debt}. The multiple is EVEV divided by EBITDA when EBITDA is positive.

  • Unlevered free cash flow calculator

    FCF=EBIT(1−t)+DA−Capex−ΔNWCFCF = EBIT(1-t) + DA - Capex - \Delta NWC

    EBIT(1−t)EBIT(1-t) is NOPAT. DADA is depreciation and amortisation, a non-cash charge added back. CapexCapex is capital expenditure. ΔNWC\Delta NWC is the increase in net working capital. A fall in working capital is a source of cash, so a negative delta raises FCF.

  • ROIC calculator and NOPAT split

    ROIC=EBIT(1−t)ICROIC = \frac{EBIT(1-t)}{IC}

    EBIT(1−t)EBIT(1-t) is NOPAT. ICIC is invested capital, the operating capital tied up in the firm. On a teaching sheet that is equity plus interest-bearing debt minus surplus cash. The ratio is in percentage points: 15, not 0.15.

  • ROE calculator and formula

    ROE=Net incomeEquityROE = \frac{\text{Net income}}{\text{Equity}}

    Net income is profit after interest and tax. Equity is book equity, not market cap. The ratio is in percentage points: 15, not 0.15.

  • Cash conversion cycle calculator

    CCC=DSO+DIO−DPOCCC = DSO + DIO - DPO

    DSO is days sales outstanding, DIO days inventory outstanding, and DPO days payable outstanding. The operating cycle is DSO plus DIO. CCC subtracts the payable days from that.

  • Interest coverage calculator

    Coverage=EBITInterest\text{Coverage} = \frac{\text{EBIT}}{\text{Interest}}

    EBIT is operating profit before interest and tax. Interest is the period's interest expense. The ratio is a multiple: 8, not 8 percent. A zero interest line is not a coverage ratio.

  • Unlevered beta calculator

    βU=βE1+(1−t)(D/E)\beta_U = \frac{\beta_E}{1 + (1 - t)(D/E)}

    βE\beta_E is the equity beta, tt the tax rate as a decimal, and D/ED/E the debt-to-equity ratio. βU\beta_U is the asset beta, the beta the operations would have if they were all-equity financed. Debt beta is assumed to be zero.

  • Offer premium calculator

    Premium=Poffer−PunaffectedPunaffected\text{Premium} = \frac{P_{\text{offer}} - P_{\text{unaffected}}}{P_{\text{unaffected}}}

    The unaffected price is the close before the offer leaked, not the last trade. A negative figure is a discount to that close. The page prints percentage points: 30, not 0.30.

  • NPV calculator and net present value formula

    NPV=∑t=0nCFt(1+r)tNPV = \sum_{t=0}^{n} \frac{CF_t}{(1+r)^t}

    CFtCF_t is the cash flow in year tt, rr is the discount rate as a decimal, and nn is the last year. At t=0t = 0 the divisor is 1, so money paid or received today is not discounted.

  • IRR calculator: internal rate of return

    0=∑t=0nCt(1+IRR)t0 = \sum_{t=0}^{n} \frac{C_t}{(1 + IRR)^t}

    CtC_t is the cash flow at time tt, negative when money goes out and positive when it comes back. IRRIRR is the one rate that makes the whole series sum to zero.

  • WACC formula and calculator

    WACC=EV×Re+DV×Rd×(1−t)\text{WACC} = \frac{E}{V} \times R_e + \frac{D}{V} \times R_d \times (1 - t)

    EE is the market value of equity, DD the market value of debt, and V=E+DV = E + D the two added together. ReR_e is the cost of equity, RdR_d the cost of debt before tax, and tt the marginal tax rate that applies to the company.

  • Leverage ratio formula and calculator

    D/E=DED/A=DAEM=AE\text{D/E} = \frac{D}{E} \qquad \text{D/A} = \frac{D}{A} \qquad \text{EM} = \frac{A}{E}

    DD is total debt, EE is equity and AA is total assets. Equity is assets minus everything the company owes, so one balance sheet fixes all three at once. When the debt line is total liabilities, debt-to-equity plus 1 is the equity multiplier.

  • Break-even point calculator and formula

    Q=FP−VQ = \frac{F}{P - V}

    QQ is the number of units you have to sell, FF the fixed costs, PP the price per unit and VV the variable cost per unit. P−VP - V is the contribution margin, the part of each sale left over for the fixed costs.

  • Payback period calculator and formula

    t=n+C−∑k=1nCFkCFn+1t = n + \frac{C - \sum_{k=1}^{n} CF_k}{CF_{n+1}}

    CC is the cash paid up front, CFkCF_k is the cash the project returns in year kk, and nn is the last full year at which the running total is still short of CC. The fraction finishes the job: what is still owed, over the cash arriving in the next year. When every year pays the same, this collapses to t=C/CFt = C / CF.

  • Current ratio and gross margin calculator

    CR=CACLQR=CA−ICLGM=R−CR\text{CR} = \frac{CA}{CL} \qquad \text{QR} = \frac{CA - I}{CL} \qquad \text{GM} = \frac{R - C}{R}

    CACA is current assets, CLCL current liabilities and II inventory, all three read off the balance sheet. RR is revenue and CC the cost of goods sold, both off the income statement. Gross margin comes out as a decimal, so multiply by 100100 for the percentage.

  • ROA calculator and formula

    ROA=Net incomeAssetsROA = \frac{\text{Net income}}{\text{Assets}}

    Net income is profit after interest and tax. Assets are total book assets. The ratio is in percentage points: 5.625, not 0.05625.

  • DuPont ROE calculator and formula

    ROE=NISales×SalesAssets×AssetsEquityROE = \frac{\text{NI}}{\text{Sales}} \times \frac{\text{Sales}}{\text{Assets}} \times \frac{\text{Assets}}{\text{Equity}}

    Net margin times asset turnover times the equity multiplier. The product is net income over equity, which is ROE. ROA is the first two steps.

  • EV to sales calculator

    EV/Sales=E+D−CSales\text{EV/Sales} = \frac{E + D - C}{\text{Sales}}

    E is equity value, D interest-bearing debt, C surplus cash. The numerator is enterprise value. The denominator is sales, not EBITDA.

  • Operating margin calculator

    Operating margin=EBITSalesEBITDA margin=EBIT+DASales\text{Operating margin} = \frac{\text{EBIT}}{\text{Sales}} \qquad \text{EBITDA margin} = \frac{\text{EBIT}+\text{DA}}{\text{Sales}}

    EBIT is operating profit before interest and tax. D&A is added to reach EBITDA. Both ratios are percentage points.

  • Payout ratio calculator

    payout=DNIg=ROE×(1−payout)\text{payout} = \frac{D}{\text{NI}} \qquad g = \text{ROE} \times (1 - \text{payout})

    D is ordinary dividends. NI is net income. ROE is NI over book equity. g is the sustainable growth rate if those ratios stay put.

  • FCF yield calculator

    FCF yield=Unlevered FCFMarket cap\text{FCF yield} = \frac{\text{Unlevered FCF}}{\text{Market cap}}

    FCF is free cash flow to the firm on the usual teaching bridge. Market cap is the equity market value. The ratio is percentage points: 5, not 0.05.

  • Cash ratio calculator

    Cash ratio=CashCurrent liabilities\text{Cash ratio} = \frac{\text{Cash}}{\text{Current liabilities}}

    Cash is cash and cash equivalents. Current liabilities are the bills due within a year. The ratio is a coverage, not a percent.

  • Current ratio calculator

    current ratio=CACL\text{current ratio}=\frac{CA}{CL}

    CACA is assets expected to turn into cash within a year, CLCL the bills due within a year. Both come straight from the balance sheet.

  • Working capital calculator

    WC=CA−CLWC = CA - CL

    CACA is current assets and CLCL current liabilities, both on the twelve month definition. The result is an amount of money, not a ratio.

  • Gross margin calculator

    gross margin=sales−COGSsales×100\text{gross margin}=\frac{\text{sales}-\text{COGS}}{\text{sales}}\times 100

    Sales is revenue for the period and COGS the direct cost of what was sold. The numerator is gross profit; dividing by sales makes it comparable across businesses.

  • NOPAT calculator

    NOPAT=EBIT×(1−t)\text{NOPAT}=\text{EBIT}\times(1-t)

    EBIT is earnings before interest and tax, and tt is the tax rate as a decimal. Interest never enters, which is what makes the result independent of how the business is financed.

  • EV to EBITDA calculator

    multiple=EVEBITDA\text{multiple}=\frac{EV}{\text{EBITDA}}

    Enterprise value is market cap plus debt minus cash. EBITDA is earnings before interest, tax, depreciation and amortisation. Both sides describe the whole business rather than the equity.

  • Annuity present value calculator

    PV=C 1−(1+i)−niPV = C\,\frac{1-(1+i)^{-n}}{i}

    CC is the payment each period, ii the rate per period and nn the number of payments. The fraction is the annuity factor: what one unit per period is worth today.

  • Profitability index calculator

    PI=PVinflowsoutlay,NPV=PVinflows−outlayPI=\frac{PV_{\text{inflows}}}{\text{outlay}},\qquad NPV=PV_{\text{inflows}}-\text{outlay}

    Both use the same two numbers. The index divides them and reports value per dollar invested; NPV subtracts them and reports value in dollars.

  • Days sales outstanding calculator

    DSO=receivablessales×daysDSO=\frac{\text{receivables}}{\text{sales}}\times \text{days}

    Receivables is the balance owed by customers, sales is credit sales for the period, and days is the length of that period. All three must describe the same window.

  • Sustainable growth rate calculator

    g=ROE×(1−payout)g=\text{ROE}\times(1-\text{payout})

    ROE is return on equity and the payout ratio is the share of earnings paid as dividends. What is left, the retention rate, is the equity the business adds to itself each year.

  • Sinking fund calculator

    A=FV i(1+i)n−1A=\frac{FV\,i}{(1+i)^{n}-1}

    FVFV is the target, ii the rate per period and nn the number of deposits. The fraction is the sinking fund factor: the deposit needed for one unit of target.

Factor formulas

The factors behind the printed tables. Each one turns a single multiplication into an answer, which is why they survived long after calculators replaced the books they came from.

  • Present value of 1

    PV factor=1(1+r)nPV\text{ factor} = \frac{1}{(1 + r)^{n}}

    Multiply a single future amount by the factor to bring it back to today.

  • Future value of 1

    FV factor=(1+r)nFV\text{ factor} = (1 + r)^{n}

    Multiply a single amount today by the factor to carry it forward.

  • Present value of an annuity of 1

    PVIFA=1−(1+r)−nrPVIFA = \frac{1 - (1 + r)^{-n}}{r}

    Multiply a level payment by the factor to value the whole stream today.

  • Future value of an annuity of 1

    FVIFA=(1+r)n−1rFVIFA = \frac{(1 + r)^{n} - 1}{r}

    Multiply a level payment by the factor to get what the stream is worth at the end.

  • Loan payment factor

    CRF=r1−(1+r)−nCRF = \frac{r}{1 - (1 + r)^{-n}}

    Multiply the amount borrowed by the factor to get the payment per period.

  • Sinking fund factor

    SFF=r(1+r)n−1SFF = \frac{r}{(1 + r)^{n} - 1}

    Multiply a target future amount by the factor to get the deposit each period.

Free to use and free to cite. Educational material, not financial advice.