Glossary term
Net Interest Margin
Net interest margin measures net interest income as a percentage of average earning assets, showing a bank’s spread-based profitability.
Updated
Read time
What Is Net Interest Margin?
Net interest margin, or NIM, measures net interest income as a percentage of average earning assets. It is a core profitability metric for banks and other lenders because it shows how much spread income they earn from loans, securities, and other interest-earning assets after funding costs.
In simple terms, a bank earns interest on assets such as loans and securities and pays interest on deposits, borrowings, and other funding. Net interest margin compares the net result with the asset base that generated it.
Key Takeaways
- NIM measures net interest income relative to average earning assets.
- It is a central profitability metric for banks, credit unions, and lenders.
- Higher NIM can reflect better loan yields, lower funding costs, stronger mix, or more interest-rate sensitivity.
- NIM can fall when deposit costs rise, asset yields lag, or competition compresses spreads.
- It should be read with credit quality, loan growth, funding mix, duration risk, and fee income.
Net Interest Margin Formula
A common formula is:
Net interest income is interest income minus interest expense. Average earning assets generally include loans, leases, interest-bearing securities, and other assets that generate interest. Definitions can vary, especially when banks report taxable-equivalent adjustments.
How Banks Use It
NIM helps bank managers understand pricing, funding, and balance-sheet strategy. A bank may improve margin by originating higher-yielding loans, holding securities with better yields, attracting low-cost deposits, or managing interest-rate exposure well. It may lose margin if funding costs reprice faster than asset yields.
The metric is not automatically better when higher. A bank can lift NIM by taking more credit risk, extending duration, concentrating lending, or relying on unstable funding. Investors therefore pair NIM with charge-offs, nonperforming assets, loan-loss provisions, deposit betas, and capital ratios.
NIM Versus Net Interest Income
Metric | What it shows |
|---|---|
Net interest income | Dollar amount of interest income after interest expense. |
Net interest margin | Net interest income scaled by average earning assets. |
Net interest spread | Difference between average yield earned and average funding rate paid. |
Interest-Rate Cycle Context
NIM can change quickly when interest rates move. If a bank's loans and securities reprice faster than deposits, margin may expand. If depositors demand higher rates before assets reprice, margin may compress. The outcome depends on asset duration, loan mix, deposit stickiness, hedging, competition, and customer behavior.
That is why NIM is both an earnings metric and a risk signal. A high margin built on stable low-cost deposits may be attractive. A high margin built on risky loans or volatile wholesale funding may deserve a lower valuation.
Bank Mix Matters
NIM is not comparable across all institutions without context. A credit-card lender, community bank, mortgage-heavy bank, online bank, and custody bank can have very different earning assets and funding models. A higher-margin lender may also be taking more credit risk or serving borrowers with higher expected losses.
Funding quality is equally important. A bank supported by stable, low-cost core deposits has a different margin profile from one relying on brokered deposits, wholesale borrowings, or rate-sensitive customers. Deposit behavior can change quickly when market rates rise.
Margin Versus Earnings
A falling NIM does not always mean falling earnings if earning assets are growing enough to offset the margin decline. A rising NIM does not guarantee better earnings if credit costs, operating expenses, or balance-sheet shrinkage offset the benefit. Investors need both the percentage margin and the dollar net interest income trend.
The Bottom Line
Net interest margin shows how effectively a bank converts earning assets into net interest income. It is essential for bank analysis, but it should be interpreted with credit risk, funding quality, interest-rate sensitivity, and balance-sheet mix.