Quant Sandbox
DerivativesPortfolio & RiskFixed IncomeCorporate FinanceStochastic ModelsGuide
Guide
Derivatives pricing
01Forwards, calls and puts02Combining positions03Arbitrage and the forward price04Put–call parity05The one-step binomial model06Risk-neutral probabilities07Multi-step trees and backward induction08American options and early exercise09Delta and hedging10Geometric Brownian motion11The Black–Scholes formula12The Greeks: gamma, vega, theta and rho13Implied volatility and the volatility smile14Stochastic volatility and the Heston model15Static replication: Breeden–Litzenberger and Carr–Madan16Exotic options: barriers, Asians and digitals
Portfolio & risk
01Returns and volatility02Diversification and correlation03The efficient frontier and the capital market line04Risk aversion and the optimal complete portfolio05CAPM, beta and the security market line06Performance measures: Sharpe, Treynor, Jensen and information ratio07Factor models and systematic risk08Value at Risk and expected shortfall
Fixed income
01Bond prices and yields02Duration and convexity03Immunization and duration matching04Spot rates, forward rates and the yield curve05Bond futures and the cheapest-to-deliver06Interest rate swaps07Callable bonds and negative convexity08Credit risk: default probabilities and credit spreads
Corporate finance
01Interest, compounding and discounting02Annuities, perpetuities and loan amortization03Net present value and internal rate of return04The weighted average cost of capital05Capital structure and the Modigliani–Miller theorems06Discounted cash flow valuation07Relative valuation with multiples08Real options: the value of flexibility
Stochastic models
01Random walks and Brownian motion02Probability spaces, σ-algebras and random variables03Filtrations, adapted processes and stopping times04Conditional expectation and martingales05Properties of Brownian motion06The reflection principle and first passage times07The Brownian bridge08The Itô integral09Itô's lemma10Kolmogorov equations and the Feynman–Kac formula11Change of measure and Girsanov's theorem12Monte Carlo option pricing13Simulating SDEs: the Euler–Maruyama scheme14Mean reversion: Ornstein–Uhlenbeck and Vasicek15Jumps and the Merton jump-diffusion model
Knowledge graph

© 2026 Quant Sandbox · A study aid for quantitative finance

Privacy & dataNo cookies

This site does not use cookies and asks for no personal data. It keeps a few small settings in your browser's local storage — your chosen theme and language, the sidebar layout, and your progress and answers in the Guides — so it remembers them on your next visit. This data never leaves your device; clearing your browser storage removes it. Inputs you change can also be captured in the page URL, so you can share or bookmark a specific setup. The site uses Vercel Web Analytics, a privacy-friendly, cookieless service that records only anonymous, aggregated usage (such as page views) without identifying you or tracking you across other sites.

Guide/Corporate finance

Interest, compounding and discounting

Lesson 1 of 8 · 1 min read

Almost every pricing formula in finance compares money at different dates. Before options, portfolios or bonds, we need one tool: a way to move an amount of money forward or backward in time. This lesson builds that tool.

The time value of money

If you have 100 today, you can put it in a bank account (or buy a government bill) and have more than 100 in a year, with essentially no risk. So 100 today is worth more than 100 promised in a year. The extra amount you are paid for waiting is interest, and the rate at which it accrues is the interest rate rrr, quoted per year.

Throughout these lessons rrr means the risk-free rate: the rate on a loan that is certain to be repaid. Risky lending earns more, but that extra is compensation for risk, not for time.

Simple interest

With simple interest you earn rrr on the original amount only. After TTT years an initial amount B0B_0B0​ has grown to

BT=B0 (1+rT).B_T = B_0\,(1 + rT).BT​=B0​(1+rT).

Growth is linear in time. This is how some short-term money market instruments are quoted, but it ignores the fact that interest already earned could itself earn interest.

Compound interest

With annual compounding, the interest earned in year one is added to the balance, and in year two you earn interest on the larger amount. After TTT whole years:

BT=B0 (1+r)T.B_T = B_0\,(1 + r)^T.BT​=B0​(1+r)T.

If interest is credited mmm times per year, each period pays r/mr/mr/m and there are mTmTmT periods:

BT=B0(1+rm)mT.B_T = B_0\left(1 + \frac{r}{m}\right)^{mT}.BT​=B0​(1+mr​)mT.

A snowball is a fair picture: the bigger it gets, the more snow it picks up per turn. More frequent compounding gives slightly more growth, because interest starts earning interest sooner.

Continuous compounding

Let the number of compounding periods mmm grow without limit. The expression above converges to an exponential:

lim⁡m→∞(1+rm)mT=erT,BT=B0 erT.\lim_{m\to\infty}\left(1 + \frac{r}{m}\right)^{mT} = e^{rT}, \qquad B_T = B_0\,e^{rT}.m→∞lim​(1+mr​)mT=erT,BT​=B0​erT.

Continuous compounding is the convention used in option pricing (Black–Scholes, binomial trees with small steps) because exponentials are easy to multiply and differentiate: growing for T1T_1T1​ and then for T2T_2T2​ is the same as growing for T1+T2T_1 + T_2T1​+T2​, since erT1erT2=er(T1+T2)e^{rT_1}e^{rT_2} = e^{r(T_1+T_2)}erT1​erT2​=er(T1​+T2​).

The figure compares the three conventions for the same quoted rate. At low rates and short horizons they are almost identical; the gap opens up as rrr and TTT grow.

Growth of 1 under three compounding conventionsOpen in Time Value of Money →
8.0%
00.2
20
130
SimpleAnnualContinuous
Simple
2.600
Annual
4.661
Continuous
4.953
Discount factor e^(−rT)
0.202

Discounting

Discounting is compounding run backwards. If a payment CCC arrives at time TTT, its present value is the amount you would need to invest today to have exactly CCC at TTT:

PV=C e−rT(continuous),PV=C(1+r)T(annual).\text{PV} = C\,e^{-rT} \quad\text{(continuous)}, \qquad \text{PV} = \frac{C}{(1+r)^T} \quad\text{(annual)}.PV=Ce−rT(continuous),PV=(1+r)TC​(annual).

The multiplier e−rTe^{-rT}e−rT is called the discount factor. It is always between 0 and 1 for a positive rate, and it shrinks the further away the payment is.

Example: with r=5%r = 5\%r=5% and continuous compounding, 100 paid in two years is worth 100 e−0.1≈90.48100\,e^{-0.1} \approx 90.48100e−0.1≈90.48 today. Investing 90.48 at 5% for two years gives back exactly 100.

Converting between conventions

The same growth can be quoted in different conventions. A continuously compounded rate rcr_crc​ and an annually compounded rate rar_ara​ describe the same growth when

erc=1+ra⟺rc=ln⁡(1+ra).e^{r_c} = 1 + r_a \quad\Longleftrightarrow\quad r_c = \ln(1 + r_a).erc​=1+ra​⟺rc​=ln(1+ra​).

So 5% continuous is the same as about 5.13% annual. When you compare rates, always check which convention they use.

Summary

  • Money today is worth more than the same amount later, because it can earn the risk-free rate rrr.
  • Compounding moves money forward: BT=B0(1+r)TB_T = B_0(1+r)^TBT​=B0​(1+r)T, or B0erTB_0e^{rT}B0​erT in continuous time.
  • Discounting moves money back: PV=Ce−rT\text{PV} = Ce^{-rT}PV=Ce−rT. The factor e−rTe^{-rT}e−rT is the discount factor.

Every later lesson uses the discount factor e−rTe^{-rT}e−rT. Whenever a formula compares a future payment with a price today, this factor is how the two are put on the same footing.

Try itWork through present and future values in the Time Value of Money lab →
Next →Annuities, perpetuities and loan amortization
Connections
Interest, compounding and discounting
Open the full graph →
Labs for this lesson
Time Value of Money