Frank said:
What is the formula a bank uses for calculating the interest on a cd for
$10,000 for 4 years with a APR of 5% and not receiving any money until the
end of 4 year period. What formula do they use if you recieve a check each
quarter for same amount and interest.
First, let's get some terms straight. Everything I say applies (only?)
to the US. You did not specify the geographic jurisdiction that your
question applies to. For the US, we should not confuse (nominal)
annual interest rate, effective annual rate, APR and APY. I am guilty
of interchanging some of those terms myself.
For the US, APR (annual percentage rate) has a technical definition
related to mortgages and other loans. It is not directly related to
either the effective annual rate or the (nominal) annual interest rate.
We really should not use the term APR in connection with cash and
money market accounts. But sadly, many people (including some banks!)
do use the term APR in that context as a synonym for nominal annual
interest rate :-(.
For US savings and other cash accounts, banks and other institutions
might specify both a (nominal) annual interest rate and an APY. The
annual interest rate is what the bank sets. It, not the APY, is the
basis for all of the bank's interest and APY computations.
For the US, APY (annual percentage yield) has a technical definition
that is not necessarily the same as the effective annual rate. You can
learn the technical definition of APY by googling "regulation dd
appendix a", without quotes, and looking at any of the ".gov" URLs [1].
In a nutshell, the formula is (together with one Excel form):
APY = (1 + totalInterest / principal) ^ (365 / term) - 1
=fv( rate(term, 0, -principal, principal + totalInterest), 365, 0, -1 )
- 1
where "totalInterest" is the total amount of interest earned for the
term, and "term" is the full time that the account is held, in days.
Here, I have expressed APY as a fraction (e.g. 0.05); multiply by 100
to express APY as a percentage (e.g. 5%), or in Excel simply format the
cell as Percentage with at least 2 decimal places.
Note: Sometimes RATE() has trouble with this computation unless you
also include a "guess" parameter. The "guess" parameter can be
totalInterest / principal / term.
Of course, normally totalInterest is the amount that we usually want to
compute. You can estimate totalInterest by:
totalInterest = ( (1 + APY) ^ (term / 365) - 1 ) * principal
=fv(APY, term/365, 0, -principal) - principal
Note that this technical definition of APY is independent of how the
bank actually compounds and pays interest. The federal APY definition
assumes daily compounding. It is not a realistic estimate of the true
yield of your account or the effective annual rate, except in the case
where interest does indeed compound daily and interest is indeed paid
only at maturity. APY is merely a tool for comparing different terms
for different deposit offerings.
Theoretically, each bank might differ on the relationship between the
annual interest rate and the APY. You can learn a particular bank's
specifications by requesting their "Truth in Savings" disclosure
statement (aka "FDIC disclosure", a misnomer IMHO). In practice, I
suspect that all US bank specifications are very similar, if not
identical. According to the Bank of America TIS disclosure:
"We use the daily-balance method to calculate the interest on your
account. [....] The daily rate is 1/365 -- or 1/366 in a leap year --
of the interest rate. [....W]e pay interest up to, but not including
the date of the withdrawal. [....] The annual percentage yield that
applies to your account assumes that interest will remain on deposit
until maturity. Withdrawals will reduce earnings".
The take-away from that is: (1) it is the nominal annual interest
rate, not the APY, that remains the same regardless of the compounding
rate, interest payment frequency and term of the deposit; (2) interest
compounds daily, generally at 1/365 of the annual interest rate; and
(3) the advertised APY assumes that interest is paid only at maturity;
for other payment schedules (e.g. monthly, quarterly, etc), the APY
will be different.
(And for the BofA at least, since the advertised APY always assumes
interest paid only at maturity, that APY is indeed the same as the
effective annual rate. But note that it might not be the "APY" that
actually applies to the terms of your deposit.)
In your example, you said later that 5% is the APY, not the annual
interest rate. You can estimate the nominal annual interest rate
(4.88%) as follows:
=365 * rate(365, 0, -1, 1+5%)
(Previously, I said that it is "rare for the APY to be a nice round
number"; ergo, I ass-u-me-d that 5% is the nominal annual interest
rate. But apparently it is indeed common practice today for the APY to
be a nice round number, based on a sampling of online offerings.)
In the simple case where interest is paid only at maturity and the term
is a multiple of years (4), you can estimate the total interest
($2155.06) by:
=fv(5%, 4, 0, -10000) - 10000
Both the APY and the effective annual rate are 5% in this case.
Note that this is just an estimate (but a very good one!) because
interest accrues daily at the daily based on the actual number of days
between opening the CD account and its maturity date. Moreover, the
daily rate throughout the year is the
annualRate / daysInYear, which might differ between normal and leap
years.
In the case where interest is paid quarterly, you can estimate the
total interest ($1,963.56) by:
=16 * ( fv(rate(365,0,-1,1+5%), 365/4, 0, -10000) - 10000 )
The APY is 4.58%, according to US federal regulation. Note that the
APY is less(!) than the nominal annual interest rate. That is the
"cost" (effect) of compounding daily for only a quarter instead of for
the full term of the deposit.
You also might notice that that is the formula that I posted in
response the first time, although I assumed 5% was the (nominal) annual
interest rate. Later I said that formula is wrong. I now believe I
was wrong that it is wrong ;-).
On the other hand, the effective annual rate remains at 5%. Given only
the nominal annual interest rate (4.88%), the effective annual rate can
be estimated as follows:
=fv(intRate/365, 365, 0, -1) - 1
FYI, there really is no difference in computation between the two
cases. In the first case (interest paid only at maturity), you can
also estimate the total interest with the following formula, which be
useful if you use cell references in place of some of the constants:
= fv(rate(365,0,-1,1+5%), 365*4, 0, -10000) - 10000
I hope this helps to sort things out.