To figure APR, you divide the total interest and fees by the loan amount, divide that result by the number of days in the loan term, then multiply by 365 to annualize it. The formula looks more intimidating than it actually is, and once you understand the pieces, you can apply it to any loan, credit card, or financing offer to see what you’re really paying.
The Basic APR Formula
APR stands for annual percentage rate. It represents the yearly cost of borrowing money, expressed as a percentage. Unlike a simple interest rate, APR folds in certain fees so you get a fuller picture of what a loan actually costs. Here’s the formula broken into steps:
- Step 1: Add up all the interest you’ll pay over the life of the loan, plus any fees rolled into the cost of borrowing.
- Step 2: Divide that total by the loan principal (the amount you borrowed).
- Step 3: Divide that result by the number of days in the loan term.
- Step 4: Multiply by 365 to convert to a yearly rate.
- Step 5: Multiply by 100 to express it as a percentage.
Written out: APR = ((Fees + Interest) / Principal / Number of Days in Loan Term) × 365 × 100.
A Quick Example With Real Numbers
Say you borrow $10,000 for two years. Over those two years, you’ll pay $1,200 in interest and $300 in origination fees. Your total borrowing cost is $1,500. Divide $1,500 by your $10,000 principal and you get 0.15. A two-year loan is 730 days, so divide 0.15 by 730 to get 0.000205. Multiply by 365 to annualize it: 0.0750. Multiply by 100, and your APR is 7.50%.
Notice that the interest rate on this loan, based on $1,200 in interest alone, would be lower. The APR is higher because it includes that $300 origination fee. That gap between the stated interest rate and the APR is exactly why APR exists: it gives you a single number to compare offers that may have different fee structures.
Which Fees Get Included
APR captures borrowing costs beyond just the interest rate, but not every charge qualifies. For a mortgage, the APR reflects the interest rate plus any discount points (upfront payments to lower your rate), mortgage broker fees, and other charges required to get the loan. It typically does not include costs like homeowner’s insurance, title insurance, or appraisal fees that aren’t paid directly to the lender as a condition of lending.
For personal loans and auto loans, the most common fee baked into APR is the origination fee, which is a percentage of your loan amount deducted upfront. If a lender charges you 3% to originate a $15,000 loan, that $450 gets added to your interest costs before you run the APR formula. This is why two loans with identical interest rates can have different APRs: one might carry fees the other doesn’t.
How Credit Card APR Works Differently
Credit cards don’t use the same formula because they don’t have a fixed loan term. Instead, card issuers convert your APR into a daily periodic rate by dividing it by 365 (or 360, depending on the issuer). If your card’s APR is 22%, your daily rate is roughly 0.0603%. Each day, the issuer multiplies that daily rate by whatever balance you carried at the end of that day.
This daily calculation means interest compounds on itself. If you carry a $3,000 balance at 22% APR, your first day’s interest charge is about $1.81. The next day, interest is calculated on $3,001.81. Over a full month, this compounding effect makes the actual cost slightly higher than if interest were charged just once. You don’t need to calculate your credit card’s APR yourself because issuers are required to disclose it clearly on your statement and in your card agreement. But understanding the daily rate helps you see why even a few extra days of carrying a balance adds up.
APR Versus APY
You’ll sometimes see APY (annual percentage yield) alongside APR, especially when comparing savings accounts or CDs. The key difference: APR does not account for compounding, while APY does. APR tells you the flat yearly cost of borrowing. APY tells you the effective yearly return on savings after interest earns interest on itself.
In practice, this means a savings account advertising 5.00% APY will earn you slightly more than 5% of your balance over a year, because interest compounds monthly or daily. A loan with a 5.00% APR will cost you roughly 5% of your balance per year in interest, though compounding can push the real cost a bit higher if you don’t pay down the balance. When you’re borrowing, focus on APR. When you’re saving or investing, focus on APY.
Why Lenders Must Show You the APR
Federal law requires lenders to disclose the APR on virtually every consumer loan. The Truth in Lending Act, enforced through a regulation known as Regulation Z, mandates that creditors present the APR “clearly and conspicuously in writing” so borrowers can compare costs across lenders. This applies to mortgages, auto loans, personal loans, student loans, and credit cards alike.
This means you should never have to calculate APR from scratch when evaluating a loan offer. The lender is legally obligated to hand it to you. But knowing how the number is built helps you spot when a seemingly low interest rate is masking high fees, or when two offers that look different on the surface are actually priced the same once you account for all the costs.
Using APR to Compare Loan Offers
The whole point of figuring APR is comparison shopping. When you’re looking at two mortgage quotes, one might advertise a lower interest rate but charge two discount points upfront. The other might quote a higher rate with no points. Comparing the APRs side by side collapses all those variables into one number so you can see which loan costs less over its full term.
A few things to keep in mind when comparing. APR assumes you’ll keep the loan for its entire term. If you plan to refinance or sell your home in five years, a loan with higher upfront fees (and thus a higher APR) may actually cost more in your timeframe than the APR alone suggests, because you’re paying those fees over fewer years. Also, APR comparisons only work well between loans of the same type and length. Comparing a 15-year mortgage APR to a 30-year mortgage APR is less useful because the loan structures are fundamentally different.
For credit cards, comparing APRs is more straightforward since there’s no fixed term. A card with 18% APR will always cost less in interest than one at 24% APR on the same balance, assuming you carry a balance at all. If you pay your full statement balance every month, the APR is irrelevant because you won’t owe any interest.

