APR Calculator: True Loan Cost & Rate Analysis
Calculate the true Annual Percentage Rate (APR) across consumer loans and residential mortgages. Model upfront lender fees, discount points, private mortgage insurance (PMI), and solve internal rate of return equations under Federal Regulation Z.
Mathematical Foundations & Regulation Z Statutory Standards
The Annual Percentage Rate (APR) is a standardized metric mandated by the United States Congress under the Truth in Lending Act (TILA, 15 U.S.C. § 1601 et seq.) and codified in Regulation Z (12 C.F.R. Part 1026). Its legal and financial purpose is to protect consumers by establishing an objective, apples-to-apples measure of borrowing costs across competing credit products.
1. The Fundamental Actuarial APR Equation (Internal Rate of Return)
While the nominal interest rate i dictates the contractual periodic installment PMT calculated against the gross loan principal P, the statutory APR represents the exact Internal Rate of Return (IRR) that equates the net cash actually disbursed to the borrower (the Amount Financed) to the present value of all scheduled periodic debt service payments:
When all monthly installments are uniform (PMT_t = PMT), the equation expands into the standard closed-form annuity discounting relation:
Where r_apr is the periodic monthly APR. Once r_apr is solved, the annualized nominal APR is: APR = r_apr × 12 × 100%.
2. Numerical Solving via the Newton-Raphson Algorithm
Because r_apr appears simultaneously as a linear divisor and as an exponent of order n (e.g. n = 360 for a 30-year mortgage), the equation cannot be solved through algebraic inversion. Financial engines solve for r_apr using the Newton-Raphson numerical iterative algorithm:
Define the root-finding function f(r) and its first derivative with respect to r:
Beginning with an initial guess r_0 = i / 12, the algorithm converges quadratically, reaching actuarial precision (within 10^(-8)) in 4 to 6 iterations.
3. Nominal APR vs. Effective Annual Rate (EAR / APY)
In US banking disclosures, APR is technically a simple annualized rate (periodic rate multiplied by compounding frequency m). It does not reflect intra-year compound interest. The Effective Annual Rate (EAR), commonly referred to as Annual Percentage Yield (APY), incorporates full exponential compounding:
EAR = (1 + 0.0650 / 12)^12 - 1 = (1.005417)^12 - 1 ≈ 6.700% APY
EAR = (1 + 0.2499 / 365)^365 - 1 = (1.000685)^365 - 1 ≈ 28.368% APY
4. Regulation Z Classification: Prepaid Finance Charges vs. Excluded Costs
Under 12 C.F.R. § 1026.4, the law strictly defines which closing costs must be included in the APR calculation and which costs are excluded:
Mandatory Prepaid Finance Charges (Included in APR)
- Loan Origination Fees: Charges by the lender for administrative processing.
- Discount Points: Prepaid interest paid directly to reduce the note rate.
- Processing & Underwriting Fees: Retained by the lending institution.
- Private Mortgage Insurance (PMI): Upfront and monthly borrower-paid premiums.
- Lender Inspection & Tax Service: Monitoring fees required by the lender.
Excluded Third-Party Closing Expenses (Excluded from APR)
- Property Appraisal Fees: Paid to independent licensed appraisers.
- Title Examination & Title Insurance: Owner and lender title policies.
- Government Recording Charges: County deed and mortgage recording fees.
- Prepaid Escrow Reserves: Future property taxes and homeowners insurance.
- Credit Report Fees: Direct pass-through cost of credit bureau reports.
Mortgage APR Holding-Period Sensitivity Matrix ($400,000 Loan @ 6.50% Base Note Rate)
Comparing discount point options against true effective APR across realistic holding horizons, exposing the fallacy of relying on 30-year TILA disclosures.
| Points Purchased | Upfront Cost | Reduced Note Rate | Monthly P&I | TILA 30-Yr APR | Effective 5-Yr APR | Effective 7-Yr APR | Breakeven Horizon |
|---|---|---|---|---|---|---|---|
| Zero Points ($0 Lender Fees) | $0 | 6.500% | $2,528.27 | 6.500% | 6.500% | 6.500% | N/A (Immediate) |
| 0.50 Points + $1,500 Fees | $3,500 | 6.375% | $2,495.42 | 6.467% | 6.592% | 6.518% | 106 Months (8.8 yrs) |
| 1.00 Point + $1,500 Fees | $5,500 | 6.250% | $2,462.83 | 6.395% | 6.602% | 6.486% | 84 Months (7.0 yrs) |
| 2.00 Points + $1,500 Fees | $9,500 | 6.000% | $2,398.20 | 6.251% | 6.621% | 6.422% | 73 Months (6.1 yrs) |
Cross-Category Consumer Credit APR & Effective Yield Benchmarks
Comparative analysis contrasting stated nominal rates against true TILA APR and compounding Effective Annual Rates (APY).
| Credit Facility | Typical Loan Size | Stated Note Rate | Prepaid Fees / Charges | TILA Stated APR | Effective APY / EAR |
|---|---|---|---|---|---|
| 30-Year Conventional Mortgage | $400,000 | 6.50% | $4,500 (Points + lender fees) | 6.61% | 6.82% |
| 15-Year Conventional Mortgage | $300,000 | 5.75% | $3,500 (Origination fees) | 5.93% | 6.10% |
| 60-Month New Auto Loan | $35,000 | 5.99% | $495 (Dealer documentation) | 6.58% | 6.78% |
| Unsecured Personal Loan (36 Mo) | $15,000 | 11.50% | $750 (5% Origination deducted) | 15.10% | 16.19% |
| Payday / Cash Advance (14 Days) | $500 | 0.00% (Stated as fee) | $75 (Flat financing fee) | 391.07% | 3,678.8% |
Frequently Asked Questions (FAQ)
Expert financial guidance regarding loan APR, Regulation Z disclosures, discount points, and closing charges.
How does APR differ from the nominal interest rate on a loan?
Why does paying discount points lower your nominal rate but increase your upfront APR?
Which specific closing fees are included in mortgage APR under Regulation Z?
Why is TILA APR misleading if you plan to move or refinance before the full 30-year term?
What is the difference between APR and APY (Annual Percentage Yield)?
Complementary Debt & Credit Modeling Tools
Deconstruct monthly debt installments into principal and interest allocation.
Model vehicle financing, sales tax, trade-in equity, and dealership fees.
Calculate present and future values of ordinary annuities and annuities due.
Exponential savings growth with compounding frequency comparisons.