NMLS mortgage math, worked out
The NMLS test has no math section, but math runs through origination and general mortgage knowledge: qualifying ratios, loan-to-value, points, prepaid interest, PMI and ARM caps. Every formula below has an example, and the test center gives you a basic calculator.
Last updated November 23, 2026
Formula sheet
| To find | Formula |
|---|---|
| Front-end (housing) ratio | Monthly housing payment ÷ gross monthly income |
| Back-end (total debt) ratio | (Housing payment + other monthly debts) ÷ gross monthly income |
| Loan-to-value (LTV) | Loan ÷ the lower of price or appraised value |
| Combined LTV (CLTV) | All loans on the property ÷ the lower of price or appraised value |
| Points | Loan amount × points (1 point = 1% of the loan) |
| Daily (per diem) interest | Loan × rate ÷ 365 (or ÷ 360 if the question says so) |
| Prepaid interest at closing | Daily interest × days from closing through the end of the month |
| One month's interest | Balance × rate ÷ 12 |
| Principal paid in a month | Payment − that month's interest |
| ARM rate | Index + margin, limited by the caps |
Debt-to-income (DTI)
Lenders compare monthly debts to gross monthly income, before taxes. The front-end ratio uses only the housing payment: principal, interest, taxes, insurance, and any mortgage insurance or HOA dues. The back-end ratio adds every other monthly debt: the ones on the credit report plus others like child support or alimony.
Front-end: $2,240 ÷ $8,000 = 28%.
Back-end: ($2,240 + $450 + $110 + $300) ÷ $8,000 = $3,100 ÷ $8,000 = 38.75%.
| Program | DTI limit |
|---|---|
| Fannie Mae, automated (DU) | Up to 50% |
| Fannie Mae, manual underwriting | 36%, up to 45% with the required credit score and reserves |
| FHA, manual underwriting | 31% front-end and 43% back-end. With a 580+ score and compensating factors: 37/47, 40/40 or 40/50 |
| General Qualified Mortgage (Regulation Z) | No fixed DTI cap. The old 43% cap was replaced by a price test (allowed from March 1, 2021, required from October 1, 2022) |
Watch for older study material that still says a Qualified Mortgage needs a DTI of 43% or less. Lenders still have to consider DTI, but the hard cap is gone.
LTV and CLTV
On a purchase, divide by the lower of the price and the appraised value. That's the most common trap.
Add a $39,000 second mortgage: CLTV = ($351,000 + $39,000) ÷ $390,000 = 100%.
On a refinance there's no price, so divide by the appraised value. Fannie Mae rounds LTV up to the next whole percent for its limits, so 94.01% counts as 95%.
Discount points
One point is 1% of the loan amount, not the price.
For a Qualified Mortgage of $137,958 or more in 2026, total points and fees can't go over 3% of the loan. Smaller loans have higher limits.
Per diem (prepaid) interest
At closing, the borrower prepays interest from the closing date through the end of that month, counting the closing day. That's why the first regular payment usually isn't due until the first of the month after next.
On a 365-day year: $300,000 × 6.5% ÷ 365 = $53.42 a day × 11 = $587.62.
On a 360-day year: $300,000 × 6.5% ÷ 360 = $54.17 a day × 11 = $595.87.
Both round the daily amount to the cent first. Without rounding you get $587.67 and $595.83, so pick the choice closest to your answer.
No single federal rule fixes the day count. FHA requires 1/365 of the yearly rate. The CFPB's sample Loan Estimate works out to a 360-day year ($162,000 at 3.875% shows $17.44 a day). On the test, use whatever the question gives you.
Interest and principal in a payment
Private mortgage insurance (PMI)
| When | What happens | Based on |
|---|---|---|
| Balance reaches 80% of original value (on schedule or by paying ahead) | The borrower can ask in writing to cancel PMI, if current with a good payment history. The lender can ask for proof the value hasn't dropped | Original value |
| Balance scheduled to reach 78% | PMI ends automatically if the borrower is current | Original value |
| Midpoint of the loan term | PMI must end, whatever the balance (if current) | Loan term |
These rules come from the Homeowners Protection Act and cover private mortgage insurance on conventional loans. FHA mortgage insurance has its own rules.
ARM rates and caps
Rate = index + margin. The margin is fixed for the life of the loan. The index moves. Caps limit how far the rate can move, written as three numbers: the first change, each later change, and the lifetime cap.
How to get the math questions right
- Monthly or yearly? DTI uses monthly numbers. Convert yearly income and taxes first.
- Gross, not net. DTI uses income before taxes.
- The lower value. LTV and PMI use the lower of price or appraisal on a purchase.
- The loan, not the price, for points and fees.
- Read for 360 or 365 on any daily interest question.
Practice with the free NMLS practice test, and see the TRID timelines calculator for the date questions. The real estate exam math page covers prorations and taxes.
Splitting a payment month by month: amortization schedule.
Sources, read November 17, 2026: Regulation Z, 12 CFR 1026.37(g)(2) and 1026.43 with the Official Interpretations (2026 points and fees limits), CFPB sample Loan Estimate H-24(B), HUD Handbook 4000.1 (per diem interest and FHA ratios), Fannie Mae Selling Guide B3-6-02, B2-1.2-01 and B2-1.2-02, Homeowners Protection Act (12 U.S.C. 4901 and 4902), and the CFPB's Consumer Handbook on Adjustable-Rate Mortgages. Program limits change, so check the current guides on a real loan.