Sub topic 3
Comparing rates: nominal rate, APR, and effective annual rate
Prerequisites
This chapter assumes you know what principal, interest, and term mean, and that you understand how compound interest differs from simple interest. You should be comfortable with percentages and with reading short Python functions.
Lenders quote the price of a loan in several ways. The numbers can differ a lot for the same loan. This chapter explains the three you will meet most often and shows how to compare offers fairly.
Three ways to state a rate
- Nominal rate is the stated annual rate before the effect of compounding is counted. A card that says "24% a year, charged monthly" has a nominal rate of 24%.
- Effective annual rate (EAR) is the rate you actually pay over one year once compounding is included. It is also called the annual percentage yield (APY) when applied to savings.
- Annual percentage rate (APR) is a legally defined disclosure figure. In the United States, the Truth in Lending Act requires lenders to state it. For many loans it is the nominal rate plus certain fees, expressed as a yearly rate. For credit cards, the APR is usually the nominal periodic rate times the number of periods, with no compounding included.
The same loan can have a different number under each name. That is not a trick. Each number answers a different question.
From nominal rate to effective rate
If interest compounds m times a year at a nominal rate i, each period charges i / m. After a full year, the growth factor is (1 + i/m)^m. Subtracting 1 gives the EAR:
EAR = (1 + i/m)^m - 1
For a nominal rate of 24% compounded monthly, m is 12, so each month charges 2%. The factor is 1.02^12, which is about 1.2682. The EAR is about 26.82%.
def effective_annual_rate(nominal_annual_rate, periods_per_year=12):
"""Effective annual rate when interest compounds periods_per_year times a year."""
return (1 + nominal_annual_rate / periods_per_year) ** periods_per_year - 1
print(f"{effective_annual_rate(0.24):.4%}")The output is 26.8242%. A borrower who reads only "24%" underestimates the yearly cost by almost three percentage points.
How compounding frequency changes the result
For a fixed nominal rate, more frequent compounding gives a higher EAR. The gain shrinks as frequency rises.
def effective_annual_rate(nominal_annual_rate, periods_per_year=12):
return (1 + nominal_annual_rate / periods_per_year) ** periods_per_year - 1
for label, m in [("annual", 1), ("quarterly", 4), ("monthly", 12), ("daily", 365)]:
print(f"{label:10s} {effective_annual_rate(0.12, m):.4%}")At a 12% nominal rate this prints about 12.0000% for annual, 12.5509% for quarterly, 12.6825% for monthly, and 12.7475% for daily compounding. Moving from annual to monthly adds 0.68 points. Moving from monthly to daily adds only 0.065 points.
What APR includes and leaves out
APR was created so that borrowers could compare loans on one basis. Its exact content depends on the product.
| Product | What APR usually reflects | What it usually leaves out |
|---|---|---|
| Credit card | The nominal rate (periodic rate times periods per year) | Compounding within the year, annual fees in some disclosures |
| Mortgage | Interest plus lender fees such as origination charges and discount points, spread over the term | Many third-party costs, and the effect of selling or refinancing early |
| Auto or personal loan | Interest plus required finance charges such as origination fees | Optional add-ons such as insurance, and late fees |
Two consequences follow.
- On a credit card, the APR is not the EAR. A card with a 24% APR that compounds monthly costs about 26.82% a year if you carry a balance.
- On an installment loan, a fee raises the APR because the borrower receives less money than the stated principal but repays the full amount.
A worked fee example
Suppose a lender offers 10,000 at a 6% nominal rate for 3 years, with a 2% origination fee taken from the proceeds. You receive 9,800 but owe payments based on 10,000. The payment is about 304.22 a month. The APR is the rate that makes the present value of those payments equal to the 9,800 you actually received.
def monthly_payment(principal, annual_rate, years):
r = annual_rate / 12
n = years * 12
if r == 0:
return principal / n
return principal * r / (1 - (1 + r) ** -n)
def apr_with_fee(principal, annual_rate, years, fee):
"""Annualized rate that equates payments to the net amount received.
Uses bisection on the monthly rate."""
pay = monthly_payment(principal, annual_rate, years)
n = years * 12
net = principal - fee
def pv(r):
if r == 0:
return pay * n
return pay * (1 - (1 + r) ** -n) / r
lo, hi = 0.0, 1.0
for _ in range(100):
mid = (lo + hi) / 2
if pv(mid) > net:
lo = mid
else:
hi = mid
return mid * 12
print(f"{apr_with_fee(10000, 0.06, 3, 200):.3%}")The result is roughly 7.2%. The 2% fee adds about 1.2 points to the cost of the loan. The lender can truthfully say "6%", but the APR shows the fee.
Choosing the right measure
The three measures serve different uses.
- Use the APR to compare loan offers of the same type and term, because the law forces lenders to calculate it by the same rules.
- Use the EAR to compare products that compound at different frequencies, or to compare a loan with a savings or investment return.
- Use the nominal rate only to compute payments, since the payment formula takes the periodic rate
i / mas its input.
Common errors
- Comparing an APR to an EAR. A savings account may advertise a 5% APY, which is an EAR. A loan advertises a 5% APR. They are not on the same footing. Convert one to the other first.
- Ignoring the term when comparing APRs. Fees are spread across the loan term. A short loan with a fixed fee has a higher APR than a long loan with the same fee, even though the dollar cost is the same.
- Assuming APR includes every cost. Late fees, prepayment penalties, and optional insurance are usually absent. Read the fee schedule.
- Dividing the nominal rate by 12 and calling it "the monthly rate" for a loan that compounds daily. Check the compounding convention in the agreement.
- Assuming a lower APR always wins. If you plan to repay early, a loan with a higher rate and no fee can beat one with a lower rate and a large upfront fee, because the fee is spread over a term you will not complete.
Converting back: from EAR to nominal rate
Sometimes you know the effective rate and need the nominal rate for a payment calculation. Invert the formula:
def nominal_from_ear(ear, periods_per_year=12):
return periods_per_year * ((1 + ear) ** (1 / periods_per_year) - 1)
print(f"{nominal_from_ear(0.10):.4%}")An EAR of 10% corresponds to a nominal rate of about 9.5690% compounded monthly. The monthly rate is about 0.7974%. Using 10% / 12, which is 0.8333%, would overstate the payment.
Edge cases
- Zero rate. The EAR formula handles
i = 0without trouble, and the result is 0. The payment formula needs a special case to avoid dividing by zero. - Continuous compounding. As
mgrows without limit,(1 + i/m)^mapproachese^i, so EAR becomese^i - 1. For 12% this is 12.7497%, close to the daily figure. Few consumer loans use it, but some financial models do. - Variable rates. The APR on an adjustable-rate loan assumes the current rate stays constant. It cannot show what happens when the index moves.
- Promotional rates. A 0% introductory offer with a deferred-interest clause can charge back interest from the purchase date. The APR printed on the offer may not warn you.
Exercise
A lender offers a personal loan at a 9% nominal rate compounded monthly. A second lender offers 9.1% compounded annually. Which has the lower effective annual rate, and by how much (to two decimal places)?
Show answer
The first loan has EAR = (1 + 0.09/12)^12 - 1 = 0.075%... computed correctly, (1.0075)^12 - 1 ≈ 9.38%. The second loan's EAR is 9.10% because it compounds once a year. The second loan is cheaper by about 0.28 percentage points (9.38% - 9.10%), even though its nominal rate is higher.
Exercise
A 5,000 loan has a 3% origination fee deducted from the proceeds and a 8% nominal rate over 2 years. Without running code, explain why the APR will be above 8%, and say what would change if the term were 4 years with the same fee.
Show answer
The borrower receives 4,850 but pays back as if they had borrowed 5,000, so the effective cost per dollar actually received is higher than 8%. With a 4-year term the fee is spread over more months, so its contribution to the annual rate falls and the APR gets closer to 8%, although the dollar interest paid is larger.