Main content

# Compound interest

In this video, we expand the equation to calculate simple interest for a single period, P*(1+r), to calculate interest when interest is charged for more than one period and that interest is compounded at different intervals. By doing so, we can better understand the difference between simple and compound interest. Created by Sal Khan.

## Want to join the conversation?

- I have an equation for compound interest that states A = P(1+r)t. What does A stand for?(10 votes)
- A is total amount that you have during that year(4 votes)

- Wait... I was taught that for simple interest you have to do b=prt (balance= principal times interest rate x time). I did the first one with you ($50 at 15% for 20 years) and I got $150 dollars. Can someone help me with this?(7 votes)
- Sal is calculating what you'll pay in total, that's the principal plus the interest.

The equation you posted only calculates interest.

So when you take out a loan you have to pay the loan back, but you also pay interest accumulated on it. If you borrow $50 at 15% simple interest for 20 years, you'll pay back $50, plus 15% of $50 20 times, or $50 + ($50 * 15% * 20), which you'll notice is p+prt

It's important to know whether you're calculating just the interest, or the total loan.(17 votes)

- Where did he get the one from: 50(1+(20 x .15))(4 votes)
- $50 is the princ. To calculate the simple interest for 20 years at the rate of 15% , you will have

50 + 50(20*15/100) . So when you take the 50 out common, you will have

50( 1 +(20*.15) . There's where the 1 comes from.(6 votes)

- how do I figure out the interest paid on an investment?(3 votes)
- When you make an investment the total you get back (T) is the original ammount (O) plus an additional ammount (A) / Hence T=O+A.

The interest rate (I) is the ratio between the Additional ammount and the original ammount I=A/O so:T=O+O*I. Hence I=(T-O)/O;

eg if you intested 100$ and received back 101$ then the iterest is: I=(101-100)/100=0.01=1%(8 votes)

- How would you find and unkown rate? Like, for example, your balance is $563, the principal is $500, the rate is unkown and the time is 7 years? The answer is 1.8%, but I don't know how to get that.(3 votes)
- Solve for r, 500*(1+r)^7=563, or if you have excel use the RATE function =RATE(7,0,500,-563,0,0) which will give you 1.71%. The 7 is number of periods t=7 (nper), the payment(pmt) is what you contribute yearly, in our case 0 (you do not put any extra money towards the savings after each period), the present value (pv) of the money at t=0 is 500, the future value (fv) is the amount you want your money to grow at t=7, and that is 563(add a - here), the other 2 values are 0,0. Hope this helps a bit xD(5 votes)

- What is with the (+1) everytime he writes an equation?(2 votes)
- If you have $1 and you earn interest of 5%, then you have $1.05, not 0.05.(6 votes)

- why is the quality kinda bad(4 votes)
- It's probably an older video. Sal started on YT a long time ago.(1 vote)

- If I earned $400.00 at 4% interest, what was my original investment?(3 votes)
- you're trying to figure out what is 4% of x. so the equation is (x).04=400. solving for x you divide 400 by .04 and you get x=10,000(3 votes)

- When was this video posted?(3 votes)
- I believe it was posted in like in the 2010s(3 votes)

- In the example of compound interest shouldn't

50(1+1.5) square 20 be equal to 50(2.5) square 20?(4 votes)- It's 50*(1+0.15)^20, but in USA they sometimes don't write the 0 in front of decimal numbers and write it as ".15" instead of "0.15", which is sometimes confusing and honestly annoying.(1 vote)

## Video transcript

So let's generalize a bit
what we learned in the last presentation. Let's say I'm
borrowing P dollars. P dollars, that's what I
borrowed so that's my initial principal. So that's principal. r is equal to the rate,
the interest rate that I'm borrowing at. We can also write that
as 100r%, right? And I'm going to borrow
it for-- well, I don't know-- t years. Let's see if we can come up
with equations to figure out how much I'm going to owe at
the end of t years using either simple or compound interest. So let's do simple first
because that's simple. So at time 0-- so let's make
this the time axis-- how much am I going to owe? Well, that's right when I
borrow it, so if I paid it back immediately, I
would just owe P, right? At time 1, I owe P plus the
interest, plus you can kind of view it as the rent on that
money, and that's r times P. And that previously, in the
previous example, in the previous video, was 10%. P was 100, so I had to pay $10
to borrow that money for a year, and I had to
pay back $110. And this is the same thing
as P times 1 plus r, right? Because you could
just use 1P plus rP. And then after two years,
how much do we owe? Well, every year, we just
pay another rP, right? In the previous example,
it was another $10. So if this is 10%, every
year we just pay 10% of our original principal. So in year 2, we owe P plus
rP-- that's what we owed in year 1-- and then another
rP, so that equals P plus 1 plus 2r. And just take the P out,
and you get a 1 plus r plus r, so 1 plus 2r. And then in year 3, we'd owe
what we owed in year 2. So P plus rP plus rP, and then
we just pay another rP, another say, you know, if r is 10%, or
50% of our original principal, plus rP, and so that
equals P times 1 plus 3r. So after t years,
how much do we owe? Well, it's our original
principal times 1 plus, and it'll be tr. So you can distribute this out
because every year we pay Pr, and there's going
to be t years. And so that's why
it makes sense. So if I were to say
I'm borrowing-- let's do some numbers. You could work it out this way,
and I recommend you do it. You shouldn't just
memorize formulas. If I were to borrow $50 at 15%
simple interest for 15-- or let's say for 20 years, at the
end of the 20 years, I would owe $50 times 1 plus the
time 20 times 0.15, right? And that's equal to $50 times 1
plus-- what's 20 times 0.15? That's 3, right? Right. So it's 50 times 4, which
is equal to $200 to borrow it for 20 years. So $50 at 15% for 20
years results in a $200 payment at the end. So this was simple
interest, and this was the formula for it. Let's see if we can do the same
thing with compound interest. Let me erase all this. That's not how I
wanted to erase it. There we go. OK, so with compound interest,
in year 1, it's the same thing, really, as simple interest, and
we saw that in the previous video. I owe P plus, and now the rate
times P, and that equals P times 1 plus r. Fair enough. Now year 2 is where compound
and simple interest diverge. In simple interest, we would
just pay another rP, and it becomes 1 plus 2r. In compound interest,
this becomes the new principal, right? So if this is the new
principal, we are going to pay 1 plus r times this, right? Our original principal was P. After one year, we paid 1 plus
r times the original principal times 1 plus r rate. So to go into year 2, we're
going to pay what we owed at the end of year 1, which is P
times 1 plus r, and then we're going to grow that
by r percent. So we're going to multiply
that again times 1 plus r. And so that equals P
times 1 plus r squared. So the way you could think
about it, in simple interest, every year we added a Pr. In simple interest, we
added plus Pr every year. So if this was $50 and this is
15%, every year we're adding $3-- we're adding--
what was that? 50%. We're adding $7.50 in interest,
where P is the principal, r is the rate. In compound interest, every
year we're multiplying the principal times 1 plus
the rate, right? So if we go to year 3,
we're going to multiply this times 1 plus r. So year 3 is P times 1
plus r to the third. So year t is going to be
principal times 1 plus r to the t-th power. And so let's see
that same example. We owe $200 in this example
with simple interest. Let's see what we owe
in compound interest. The principal is $50. 1 plus-- and what's the rate? 0.15. And we're borrowing
it for 20 years. So this is equal to 50 times
1.15 to the 20th power. I know you can't read that,
but let me see what I can do about the 20th power. Let me use my Excel and
clear all of this. Actually, I should just use my
mouse instead of the pen tool to the clear everything. OK, so let me just
pick a random point. So I just want to-- plus 1.15
to the 20th power, and you could use any calculator:
16.37, let's say. So this equals 50 times 16.37. And what's 50 times that? Plus 50 times that: $818. So you've now realized that if
someone's giving you a loan and they say, oh, yeah, I'll lend
you-- you need a 20-year loan? I'm going to lend
it to you at 15%. It's pretty important to
clarify whether they're going to charge you 15% interest at
simple interest or compound interest. Because with compound interest,
you're going to end up paying-- I mean, look at this: just to
borrow $50, you're going to be paying $618 more than if
this was simple interest. Unfortunately, in the real
world, most of it is compound interest. And not only is it compounding,
but they don't even just compound it every year and they
don't even just compound it every six months, they actually
compound it continuously. And so you should watch the
next several videos on continuously compounding
interest, and then you'll actually start to learn
about the magic of e. Anyway, I'll see you
all in the next video.