Net Interest Margin (NIM) is the primary profitability metric for banks, credit unions, and other financial institutions that earn revenue by lending money. It measures the difference between the interest income a financial institution earns on its loans and interest-bearing assets, and the interest it pays on deposits and borrowings — expressed as a percentage of its average interest-earning assets.
NIM is the banking sector’s equivalent of gross margin — it reveals how effectively a financial institution is managing the spread between what it charges borrowers and what it pays depositors, which is the fundamental engine of traditional banking profitability.
NIM answers the question:Â “For every dollar of interest-earning assets the bank holds, how much net interest income does it generate after paying for its funding?”
The Formula
NIM = (Interest Income − Interest Expense) ÷ Average Interest-Earning Assets × 100
| Component | Definition | Examples |
|---|---|---|
|
Interest Income
|
Revenue earned from lending and interest-bearing investments
|
Loan interest, mortgage interest, bond coupon income, interbank lending
|
|
Interest Expense
|
Cost paid to fund the asset base
|
Deposit interest, savings account interest, wholesale funding costs, bond coupon payments
|
|
Net Interest Income (NII)
|
Interest Income − Interest Expense
|
The absolute dollar spread between earning and paying
|
|
Average Interest-Earning Assets
|
Mean balance of assets that generate interest income
|
Loans, mortgages, government bonds, interbank placements — excludes non-earning assets
|
Worked Example
A regional bank reports the following for fiscal year 2025:
| Item | Value |
|---|---|
|
Total Interest Income
|
$420 million
|
|
Total Interest Expense
|
$180 million
|
|
Net Interest Income (NII)
|
$240 million
|
|
Average Interest-Earning Assets
|
$6,000 million
|
NIM = $240M ÷ $6,000M × 100 = 4.0%
For every $100 of interest-earning assets on the bank’s balance sheet, it generates $4.00 of net interest income after funding costs.
Components of NIM — The Spread Decomposition
NIM can be further decomposed into its two constituent rates to understand the dynamics driving the overall margin:
Gross Yield on Earning Assets = Interest Income ÷ Average Earning Assets Cost of Funds = Interest Expense ÷ Average Interest-Bearing Liabilities Interest Rate Spread = Gross Yield − Cost of Funds
| Metric | Example Value | Meaning |
|---|---|---|
|
Gross Yield on Earning Assets
|
7.0%
|
Average rate earned across loan and investment portfolio
|
|
Cost of Funds
|
3.2%
|
Average rate paid on deposits and borrowings
|
|
Interest Rate Spread
|
3.8%
|
Raw spread between earning and paying rates
|
|
NIM
|
4.0%
|
Slightly higher than spread — reflects non-interest-bearing deposits funding part of the asset base
|
The difference between NIM and the interest rate spread arises because some of a bank’s liabilities — particularly demand deposits and current accounts — carry zero or near-zero interest cost, effectively providing “free funding” that widens the margin above the simple rate spread.
What Drives NIM
NIM is influenced by a complex interplay of macroeconomic, competitive, and balance sheet factors:
1. Interest Rate Environment
The single most powerful driver of NIM across the banking industry. The relationship between interest rates and NIM is nuanced and depends on the bank’s asset sensitivity vs. liability sensitivity:
| Rate Environment | Asset-Sensitive Bank | Liability-Sensitive Bank |
|---|---|---|
|
Rising rates
|
NIM expands — loans reprice faster than deposits
|
NIM contracts — deposit costs rise faster than loan yields
|
|
Falling rates
|
NIM contracts — loan yields fall faster than funding costs
|
NIM expands — funding costs fall faster than loan yields
|
|
Flat / stable rates
|
NIM stable — repricing dynamics in equilibrium
|
NIM stable
|
Asset-sensitive banks hold more variable-rate loans and short-duration assets — their asset yields reprice quickly when rates move. Liability-sensitive banks have more fixed-rate loans and variable-rate funding — their funding costs reprice faster than their earning assets.
Most banks actively manage their interest rate sensitivity gap — the mismatch between asset and liability repricing timelines — to position themselves favorably across rate cycles.
2. Loan Mix and Credit Quality
The composition of the loan portfolio significantly affects NIM:
| Loan Type | Typical Yield | NIM Contribution |
|---|---|---|
|
Credit cards / Consumer lending
|
15% – 25%
|
High yield — significantly accretive to NIM
|
|
Small business loans
|
6% – 12%
|
Moderate-high yield
|
|
Commercial & industrial loans
|
5% – 9%
|
Moderate yield
|
|
Residential mortgages
|
4% – 7%
|
Lower yield; large volume
|
|
Government / Investment-grade bonds
|
3% – 6%
|
Low yield; low risk
|
|
Interbank placements
|
Near policy rate
|
Low yield; high liquidity
|
Banks that shift toward higher-yielding consumer and small business lending typically report higher NIM — but at the cost of higher credit risk and potential loan loss provisions.
3. Funding Mix — The Deposit Franchise Value
The composition of a bank’s funding base is as important as its asset yield in determining NIM:
| Funding Source | Typical Cost | NIM Impact |
|---|---|---|
|
Non-interest-bearing deposits (NIBD)
|
0%
|
Most valuable — free funding
|
|
Savings / transaction accounts
|
0.1% – 1.5%
|
Low cost — core retail franchise
|
|
Term deposits / CDs
|
3% – 5%
|
|
|
Wholesale funding / Bonds
|
4% – 6%
|
Most expensive — fully market-priced
|
|
Interbank borrowing
|
Near policy rate
|
Banks with large, stable retail deposit franchises — particularly those with high proportions of non-interest-bearing current and checking accounts — enjoy a structural NIM advantage over banks reliant on wholesale funding. This deposit franchise is one of the most valuable and durable competitive advantages in banking.
The concept of deposit beta measures how much of a central bank rate increase is passed through to deposit customers:
- Low deposit beta (e.g., 20%) — bank passes only 20% of rate increases to depositors; NIM expands in rising rate environments
- High deposit beta (e.g., 80%) — bank passes most increases to depositors; NIM expansion is limited
4. Competition
In competitive banking markets, pressure to offer higher deposit rates and lower loan rates compresses spreads and narrows NIM. Conversely, banks with dominant market positions or differentiated customer relationships can maintain wider spreads.
5. Central Bank Policy Rate
The base policy rate set by central banks (Federal Reserve, Reserve Bank of Australia, European Central Bank) establishes the floor for risk-free lending rates and the reference point for most variable-rate instruments. Rapid policy rate changes — as seen globally in 2022–2023 — can dramatically shift NIM across the entire banking system.
NIM Benchmarks by Bank Type
NIM varies significantly across different types of financial institutions:
| Institution Type | Typical NIM Range | Reason |
|---|---|---|
|
US Large-Cap Banks (e.g., JPMorgan, Bank of America)
|
2.5% – 3.5%
|
Diversified funding; mix of wholesale and retail
|
|
US Regional / Community Banks
|
3.0% – 4.5%
|
Higher reliance on local deposit franchises; more consumer lending
|
|
Australian Major Banks (Big 4)
|
1.7% – 2.2%
|
Competitive mortgage market; high deposit competition
|
|
European Banks
|
1.0% – 2.0%
|
Low rate environment historically; competitive markets
|
|
Emerging Market Banks
|
4.0% – 8.0%+
|
Higher lending rates; less developed capital markets
|
|
Credit Unions / Mutuals
|
2.5% – 4.0%
|
Member-focused; competitive deposit and loan rates
|
|
Microfinance Institutions
|
10%+
|
High-risk unsecured lending; expensive funding
|
NIM vs. Related Banking KPIs
NIM is one of several interconnected profitability and efficiency metrics used to assess bank performance:
| Metric | Formula | What It Measures |
|---|---|---|
|
NIM
|
Net Interest Income ÷ Average Earning Assets
|
Core lending spread profitability
|
|
Net Interest Income (NII)
|
Interest Income − Interest Expense
|
Absolute dollar spread — size matters alongside margin
|
|
Non-Interest Income Ratio
|
Non-Interest Income ÷ Total Revenue
|
Fee, trading, and wealth management revenue contribution
|
|
Cost-to-Income Ratio (CIR)
|
Operating Expenses ÷ Total Operating Income
|
Operational efficiency — lower is better
|
|
Return on Equity (ROE)
|
Net Income ÷ Shareholders’ Equity
|
Shareholder return — primary bank profitability benchmark
|
|
Return on Assets (ROA)
|
Net Income ÷ Average Total Assets
|
Asset-level profitability — typically 0.8%–1.5% for healthy banks
|
|
Net Profit Margin
|
Net Income ÷ Total Revenue
|
Bottom-line profitability
|
|
NPL Ratio
|
Non-Performing Loans ÷ Total Loans
|
Credit quality — rising NPLs signal future NIM pressure from provisions
|
NIM and the Interest Rate Cycle — Recent History
The period from 2022 to 2024 provided a dramatic real-world demonstration of NIM dynamics across global banking:
2020–2021 — Near-Zero Rate Environment: Central banks globally cut rates to near zero in response to COVID-19. Bank NIMs compressed significantly — with US bank NIMs falling to multi-decade lows in many cases — as loan yields fell faster than deposit costs could be reduced, given many deposits already carried near-zero rates.
2022–2023 — Aggressive Rate Hiking Cycle: The US Federal Reserve raised rates from near 0% to over 5% in one of the fastest tightening cycles in history. Asset-sensitive banks experienced significant NIM expansion — particularly US regional banks — as variable-rate loan portfolios repriced rapidly while retail deposit costs initially moved slowly (low deposit beta).
2023–2024 — Deposit Repricing Lag Closes: As rates remained elevated, depositors increasingly moved funds from low-yielding savings accounts to higher-yielding term deposits and money market funds — forcing banks to raise deposit rates, compressing the initial NIM expansion. The deposit repricing lag — the delay between asset yield expansion and funding cost increases — is a critical dynamic in NIM management.
NIM in Bank Valuation
NIM is a central input into bank financial modelling and valuation:
Revenue Forecasting: NIM × Projected Average Earning Assets = Projected Net Interest Income — the primary revenue line for most banks.
Sensitivity Analysis: Bank models routinely include NIM sensitivity tables — showing how a +/−25 basis point move in interest rates affects NII and net income, helping investors assess the interest rate risk embedded in the balance sheet.
Peer Comparison: NIM is the first metric used when comparing bank profitability across peers — identifying which institutions have superior deposit franchises, more favorable loan mix, or better interest rate positioning.
Price-to-Book Valuation: Banks with sustainably higher NIM typically justify higher Price-to-Book multiples — because superior spread economics translate into higher ROE and greater book value accretion over time.
NIM vs. EBITDA Margin — Why Banks Are Different
A key principle in financial analysis is that standard corporate profitability metrics — including EBITDA Margin — are not applicable to banks and financial institutions. This is because:
- Banks’ “revenue” is fundamentally different — it is the spread on financial intermediation, not the sale of goods or services
- Banks’ “costs” include interest expense — which is a core operating cost of the business model, not a financing cost
- Banks’ balance sheets are dominated by financial assets and liabilities — not productive capital assets subject to depreciation
- Capital adequacy (CET1 ratio) and liquidity (LCR, NSFR) are more relevant than leverage ratios for assessing bank financial health
NIM is therefore the banking-specific equivalent of gross margin — the foundational profitability spread from which all other income statement items cascade.
Limitations of NIM
| Limitation | Description |
|---|---|
|
Excludes non-interest income
|
Fee income, trading revenue, and wealth management are not captured — a bank with low NIM but high fee income may be more profitable overall
|
|
Does not reflect credit losses
|
A high NIM achieved through high-risk lending may be eroded by elevated loan loss provisions — net of provisions, profitability may be lower
|
|
Asset mix sensitivity
|
Shifting the asset portfolio to higher-yielding but riskier loans inflates NIM without improving risk-adjusted returns
|
|
Balance sheet size not captured
|
NIM is a rate — not a dollar amount; a bank with low NIM on a very large asset base may generate more NII than a small bank with high NIM
|
|
Not comparable across balance sheet structures
|
Banks with different mixes of earning and non-earning assets are not directly comparable on NIM alone
|
Related Financial Terms
- Net Interest Income (NII) — The absolute dollar value of interest income minus interest expense; the revenue line NIM is derived from
- Interest Rate Spread — The difference between the gross yield on earning assets and the cost of funds; slightly different from NIM
- Cost of Funds — The average interest rate paid on deposits and borrowings
- Deposit Beta — The proportion of a central bank rate change passed through to deposit customers
- Non-Performing Loan (NPL) Ratio — Credit quality metric; rising NPLs reduce interest income and increase provisions, compressing effective NIM
- Asset Sensitivity — A bank’s balance sheet positioning where assets reprice faster than liabilities — benefits from rising rates
- Liability Sensitivity — A bank’s balance sheet positioning where liabilities reprice faster than assets — benefits from falling rates
- CET1 Ratio — Common Equity Tier 1 capital ratio; primary bank capital adequacy metric
- Cost-to-Income Ratio (CIR) — Operational efficiency metric for banks; complements NIM in assessing overall profitability
- Net Interest Rate Sensitivity Gap — Mismatch between asset and liability repricing timelines; determines NIM directional response to rate changes
In Summary
Net Interest Margin is the heartbeat metric of traditional banking — the single number that most directly captures the profitability of the core financial intermediation activity that defines the banking business model. It reflects the accumulated effect of every strategic and operational decision a bank makes about where to lend, how to fund itself, what rates to charge and pay, and how to position its balance sheet across the interest rate cycle. A bank with a structurally wide and stable NIM — supported by a deep retail deposit franchise, disciplined loan pricing, and sound credit quality — possesses one of the most durable and defensible business model advantages in the entire financial sector. Understood in its full context — alongside credit quality, cost efficiency, capital adequacy, and non-interest income — NIM remains the indispensable starting point for any serious analysis of bank financial performance.