Compound interest
Part of a series of articles on the 
mathematical constant e 

Properties 
Applications 

Defining e 
People 
Related topics 
Compound interest is interest added to the principal of a deposit or loan so that the added interest also earns interest from then on. This addition of interest to the principal is called compounding. A bank account, for example, may have its interest compounded every year: in this case, an account with $1000 initial principal and 20% interest per year would have a balance of $1200 at the end of the first year, $1440 at the end of the second year, $1728 at the end of the third year, and so on.
To define an interest rate fully, allowing comparisons with other interest rates, both the interest rate and the compounding frequency must be disclosed. Since most people prefer to think of rates as a yearly percentage, many governments require financial institutions to disclose the equivalent yearly compounded interest rate on deposits or advances. For instance, the yearly rate for a loan with 1% interest per month is approximately 12.68% per annum (1.01^{12} − 1). This equivalent yearly rate may be referred to as annual percentage rate (APR), annual equivalent rate (AER), effective interest rate, effective annual rate, and other terms. When a fee is charged up front to obtain a loan, APR usually counts that cost as well as the compound interest in converting to the equivalent rate. These government requirements assist consumers in comparing the actual costs of borrowing more easily.
For any given interest rate and compounding frequency, an equivalent rate for any different compounding frequency exists.
Compound interest may be contrasted with simple interest, where interest is not added to the principal (there is no compounding). Compound interest is standard in finance and economics, and simple interest is used infrequently (although certain financial products may contain elements of simple interest).
Contents
 Terminology 1

Mathematics of interest rates 2
 Compound interest 2.1
 Periodic compounding 2.2
 Continuous compounding 2.3
 Force of interest 2.4
 Compounding basis 2.5

Mathematics of interest rate on loans 3
 Monthly amortized loan or mortgage payments 3.1
 Exact formula for monthly payment 3.2
 Approximate formula for monthly payment 3.3
 Example of mortgage payment 3.4
 Example of compound interest 4
 History 5
 See also 6
 References 7
Terminology
The effect of compounding depends on the frequency with which interest is compounded and the periodic interest rate which is applied. Therefore, to accurately define the amount to be paid under a legal contract with interest, the frequency of compounding (yearly, halfyearly, quarterly, monthly, daily, etc.) and the interest rate must be specified. Different conventions may be used from country to country, but in finance and economics the following usages are common:
The periodic rate is the amount of interest that is charged (and subsequently compounded) for each period divided by the amount of the principal. The periodic rate is used primarily for calculations and is rarely used for comparison.
The nominal annual rate or nominal interest rate is defined as the periodic rate multiplied by the number of compounding periods per year. For example, a monthly rate of 1% is equivalent to an annual nominal interest rate of 12%.
The effective annual rate is the total accumulated interest that would be payable up to the end of one year divided by the principal.
Economists generally prefer to use effective annual rates to simplify comparisons, but in finance and commerce the nominal annual rate may be quoted. When quoted together with the compounding frequency, a loan with a given nominal annual rate is fully specified (the amount of interest for a given loan scenario can be precisely determined), but the nominal rate cannot be directly compared with that of loans that have a different compounding frequency.
Loans and financing may have charges other than interest, and the terms above do not attempt to capture these differences. Other terms such as annual percentage rate and annual percentage yield may have specific legal definitions and may or may not be comparable, depending on the jurisdiction.
The use of the terms above (and other similar terms) may be inconsistent and vary according to local custom or marketing demands, for simplicity or for other reasons.
the
Mathematics of interest rates
Compound interest
A formula for calculating the future value of a value generating compound interest is as follows:
 F = P \left(1 + \frac{i}{n}\right)^{nt}
where
 F = future value
 P = present value
 i = nominal interest rate
 n = compounding frequency
 t = time
Explanation
Time: Number of time units the sum will be subject to the compound interest computation. It is usually expressed in years.
Future value: Value after t time units.
Present value: It is the value before it becomes subject to the compound interest computation. In some fields like Engineering Economics it receives this name, in other fields such as Banking it is called principal value and; even in others, such as Finance, it may be called indistinctly by both names. Other names include current value, principal sum; or, simply, principal, which is widely used.
Compounding frequency: The number of times the interest is compounded per time unit. In other words, the frequency with which the interest is added to the principal to make the next computation to get the generated interest. For example, when a bank talks about monthly capitalization with a yearly rate of interest, it means that n is 12 and t is measured in years.
Nominal interest rate: When expressed in this form, it does not account for the full effect of the compounding frequency. It is usually expressed as a yearly percentage.
The total compound interest generated after t is:
 CI = F  P
where
 CI = compound interest
 F = future value
 P = present value
Example 1
Suppose an amount of 1500.00 is deposited in a bank paying an annual interest rate of 4.3%, compounded quarterly.
Then the balance after 6 years is found by using the formula above, with P = 1500, i = 4.3% = 0.043, n = 4, and t = 6:
 F=1500\left(1 + \frac{0.043}{4}\right)^{4 \times 6}\approx 1938.84
So, the balance after 6 years is approximately 1938.84.
The amount of interest received can be calculated by subtracting the principal from this amount.
 CI = F  P = 1938.84  1500 = 438.84
Example 2
Suppose the same amount of 1500.00 is deposited but now it is compounded biannually.
Then the balance after 6 years is found by using the formula above, with P = 1500, i = 0.043 (4.3%), n = 1/2 = 0.5 (the interest is compounded every two years), and t = 6:
 F=1500\left(1 + \frac{0.043}{0.5}\right)^{0.5 \times 6}\approx 1921.24
So, the balance after 6 years is approximately 1921.24.
The amount of interest received can be calculated by subtracting the principal from this amount.
 CI = F  P = 1921.24  1500 = 421.24
As expected, the interest is lesser because the compounding frequency decreased.
Periodic compounding
The amount function for compound interest is an exponential function in terms of time.
A(t) = A_0 \left(1 + \frac {r} {n}\right) ^ {\lfloor nt \rfloor}
 t = Total time in years
 n = Number of compounding periods per year (note that the total number of compounding periods is n \cdot t )
 r = Nominal annual interest rate expressed as a decimal. e.g.: 6% = 0.06
 \lfloor nt \rfloor means that nt is rounded down to the nearest integer.
As n, the number of compounding periods per year, increases without limit, we have the case known as continuous compounding, in which case the effective annual rate approaches an upper limit of e^{r} − 1.
Since the principal A_0 is simply a coefficient, it is often dropped for simplicity, and the resulting accumulation function is used in interest theory instead. Accumulation functions for simple and compound interest are listed below:
 a(t)=1+t r\,
 a(t) = \left(1 + \frac {r} {n}\right) ^ {nt}
Note: A(t) is the amount function and a(t) is the accumulation function.
Continuous compounding
Continuous compounding can be thought of as making the compounding period infinitesimally small, achieved by taking the limit as n goes to infinity. See definitions of the exponential function for the mathematical proof of this limit. The amount after t periods of continuous compounding can be expressed in terms of the initial amount A_{0} as
 A(t)=A_0 e ^ {rt}.
It has been shown that the mathematics of continuous compounding is not limited to the valuation of continuously compounded financial instruments and flow annuities, but rather that the exponential equation is a versatile model that may be used for valuation of all financial contracts normally encountered.^{[1]} In particular, any given interest rate (r) and compounding frequency (n) can be expressed in terms of a continuously compounded rate r_0:
 r_0=n\,\ln\left( 1 + \frac{r}{n} \right)
which will also hold true for any other interest rate and compounding frequency. All formulas involving specific interest rates and compounding frequencies may be expressed in terms of the continuous interest rate and the compounding frequencies.
Force of interest
In mathematics, the accumulation functions are often expressed in terms of e, the base of the natural logarithm. This facilitates the use of calculus to manipulate interest formulae.
For any continuously differentiable accumulation function a(t) the force of interest, or more generally the logarithmic or continuously compounded return is a function of time defined as follows: \delta_{t}=\frac{a'(t)}{a(t)}\,
which is the rate of change with time of the natural logarithm of the accumulation function.
Conversely: a(n)=e^{\int_0^n \delta_t\, dt}\ , (since a(0) = 1; this can be viewed as a particular case of a product integral)
When the above formula is written in differential equation format, then the force of interest is simply the coefficient of amount of change: da(t)=\delta_{t}a(t)\,dt\,
For compound interest with a constant annual interest rate r, the force of interest is a constant, and the accumulation function of compounding interest in terms of force of interest is a simple power of e: \delta=\ln(1+r)\, or a(t)=e^{t\delta}\,
The force of interest is less than the annual effective interest rate, but more than the annual effective discount rate. It is the reciprocal of the efolding time. See also notation of interest rates.
A way of modeling the force of inflation is with Stoodley's formula: \delta_t = p + {s \over {1+rse^{st}}} where p, r and s are estimated.
Compounding basis
To convert an interest rate from one compounding basis to another compounding basis, use
 r_2=\left[\left(1+\frac{r_1}{n_1}\right)^\frac{n_1}{n_2}1\right]{n_2},
where r_{1} is the interest rate with compounding frequency n_{1}, and r_{2} is the interest rate with compounding frequency n_{2}.
When interest is continuously compounded, use
 R=n\ln{\left(1+r/n\right)},
where R is the interest rate on a continuous compounding basis, and r is the stated interest rate with a compounding frequency n.
Mathematics of interest rate on loans
Monthly amortized loan or mortgage payments
The interest on loans and mortgages that are amortized—that is, have a smooth monthly payment until the loan has been paid off—is often compounded monthly. The formula for payments is found from the following argument.
Exact formula for monthly payment
An exact formula for the monthly payment is
 P= \frac{Li}{1\frac{1}{(1+i)^n}}
or equivalently
 P= \frac{Li}{1e^{n\ln(1+i)}}
This can be derived by considering how much is left to be repaid after each month. After the first month L_1=(1+i) L  P is left, i.e. the initial amount has increased less the payment. If the whole loan was repaid after a month then L_1=0 so L=\frac{P}{1+i} After the second month L_2=(1+i) L_1  P is left, that is L_2=(1+i)((1+i)LP)P. If the whole loan was repaid after two months L_2=0 this gives the equation L = \frac{P}{1+i}+\frac{P}{(1+i)^2}. This equation generalises for a term of n months, L = P \sum_{j=1}^n \frac{1}{(1+i)^j} . This is a geometric series which has the sum
 L=\frac{P}{i}\left(1\frac{1}{(1+i)^n}\right)
which can be rearranged to give
 P= \frac{Li}{1\frac{1}{(1+i)^n}}=\frac{Li}{1e^{n\ln(1+i)}}
This formula for the monthly payment on a U.S. mortgage is exact and is what banks use.
In Excel, the function PMT() function is used. The syntax for the PMT function is:
=  PMT( interest_rate, number_payments, PV, [FV],[Type] )
See https://support.office.com/enus/article/PMTfunction0214da649a634996bc20214433fa6441 for more details.
For example, for interest rate of 6% (0.06/12 p.m.), 25 years * 12 p.a., PV of $150,000, FV of 0, type of 0 gives:
=  PMT( 0.06/12, 25 * 12, 150000, 0, 0 ) = $966.45 p.m.
Approximate formula for monthly payment
A formula that is accurate to within a few percent can be found by noting that for typical U.S. note rates (I<8\% and terms T=10–30 years), the monthly note rate is small compared to 1: i<<1 so that the \ln(1+i)\approx i which yields a simplification so that P\approx \frac{Li}{1e^{ni}}= \frac{L}{n}\frac{ni}{1e^{ni}}
which suggests defining auxiliary variables
Y\equiv n i = TI
P_0\equiv \frac{L}{n} .
P_0 is the monthly payment required for a zero interest loan paid off in n installments. In terms of these variables the approximation can be written
P\approx P_0 \frac{Y}{1e^{Y}}
The function f(Y)\equiv \frac{Y}{1e^{Y}}\frac{Y}{2} is even: f(Y)=f(Y) implying that it can be expanded in even powers of Y.
It follows immediately that \frac{Y}{1e^{Y}} can be expanded in even powers of Y plus the single term: Y/2
It will prove convenient then to define
X=\frac{1}{2}Y = \frac{1}{2}IT
so that P\approx P_0 \frac{2X}{1e^{2X}} which can be expanded: P\approx P_0 \left(1 + X + \frac{X^2}{3}  \frac{1}{45} X^4 + ...\right)
where the ellipses indicate terms that are higher order in even powers of X. The expansion
P\approx P_0 \left(1 + X + \frac{X^2}{3}\right)
is valid to better than 1% provided X\le 1 .
Example of mortgage payment
For a mortgage with a term of 30 years and a note rate of 4.5% we find:
T=3
I=.178
which gives
X=\frac{1}{2}IT=.675
so that
P\approx P_0 \left(1 + X + \frac{1}{3}X^2 \right)=$333.33 (1+.675+.675^2/3)=$608.96
The exact payment amount is P=$608.02 so the approximation is an overestimate of about a sixth of a percent.
Example of compound interest
Suppose that one cent had been invested 2015 years ago at a constant annual interest rate of 2%. After the first year, this interest rate was applied to the initial principal of one cent and the capital grew to 1.02 cent. In the second year, the interest earned was again 2%. However, from that time onwards, it was not applied to the principal only but to the compound capital value (i.e., 1.02 cent). Thus, after the second year, the capital increased to 1.02×1.02 cent. After the third year, the capital grew to 1.02^{3} cent. After 2015 years, the capital has eventually grown to 1.02^{2015} cent, which is roughly equal to 2.13x10^{17} cent or, more precisely, 213,474,546,813,926,768.7 cent.
Compare this figure to a similar investment using simple interest rather than compound interest. Suppose again that 1 cent is invested for a period of 2015 years at a constant annual interest rate of 2%. In this case, after 2015 years, the final capital is only 41.3 cent. This comparison highlights the effect of compounding, especially for longterm investments.
History
Compound interest was once regarded as the worst kind of usury and was severely condemned by Roman law and the common laws of many other countries.^{[2]}
Richard Witt's book Arithmeticall Questions, published in 1613, was a landmark in the history of compound interest. It was wholly devoted to the subject (previously called anatocism), whereas previous writers had usually treated compound interest briefly in just one chapter in a mathematical textbook. Witt's book gave tables based on 10% (the then maximum rate of interest allowable on loans) and on other rates for different purposes, such as the valuation of property leases. Witt was a London mathematical practitioner and his book is notable for its clarity of expression, depth of insight and accuracy of calculation, with 124 worked examples.^{[3]}^{[4]}
See also
 Credit card interest
 Exponential growth
 Fisher equation
 Rate of return on investment
 Yield curve
 e (mathematical constant)
References
 ^ Munshi, Jamal. "A New Discounting Model". ssrn.com.
 ^
 ^ Lewin, C G (1970). "An Early Book on Compound Interest  Richard Witt's Arithmeticall Questions". Journal of the Institute of Actuaries 96 (1): 121–132.
 ^ Lewin, C G (1981). "Compound Interest in the Seventeenth Century". Journal of the Institute of Actuaries 108 (3): 423–442.
 WorldHeritage articles incorporating a citation from the 1728 Cyclopaedia
 WorldHeritage articles incorporating text from Cyclopaedia
 WorldHeritage articles incorporating a citation from the 1728 Cyclopaedia without an article title parameter
 Interest
 Basic financial concepts
 Exponentials
 Mathematical finance
 Actuarial science
 Economic history