Net Interest Margin (Banking)
Net Interest Margin (NIM) is the difference between the interest income a bank earns on loans and investments and the interest it pays on deposits and borrowings, expressed as a percentage of average earning assets, measuring the core spread-based profitability of the banking business.
Net Interest Margin is the foundational profitability metric for commercial banks and other deposit-taking financial institutions. Banking is fundamentally the business of borrowing money at one rate and lending it at a higher rate — the spread between those rates, adjusted for the volume of earning assets, is NIM. Almost everything else in bank analysis builds on this core margin.
The formula divides net interest income — interest earned on loans, investment securities, and other earning assets minus interest paid on deposits, borrowings, and other funding — by average total earning assets. A bank that earns $6 billion in interest income, pays $2 billion in interest expense, and holds $200 billion in average earning assets has a NIM of 2% ($4 billion net interest income divided by $200 billion).
JPMorgan Chase, the largest US bank by assets, reports NIM as a component of its net interest income analysis. The bank's NIM is shaped by the mix of its earning assets — loans typically yield more than investment securities — the duration and repricing characteristics of those assets, the composition and cost of its funding base, and the prevailing interest rate environment. When the Federal Reserve raises short-term interest rates rapidly, as it did from 2022 to 2023, banks with variable-rate loans benefit quickly on the asset side while deposit repricing may lag, temporarily widening NIM.
The liability side of NIM — deposit costs — is particularly important and often underappreciated. Retail deposits historically repriced slowly even as market interest rates rose, giving banks a cost-of-funds advantage. However, as the 2022-2023 rate cycle accelerated and as high-yield savings accounts became more accessible through online banks and fintech competitors, deposit betas — the sensitivity of deposit costs to rate changes — rose, eroding the NIM benefit that banks had initially captured.
NIM varies significantly by business model. Community banks focused on commercial real estate lending may operate at NIMs of 3.5% to 4%, reflecting higher loan yields and a simpler, lower-cost deposit franchise. Large universal banks with significant capital markets, wealth management, and transaction banking revenue operate at lower NIMs — often 2% to 2.5% — but generate substantial non-interest income that supplements the spread-based business.
Investors track NIM alongside loan growth, credit quality metrics (non-performing loan ratio, net charge-off rate), and capital adequacy ratios to form a comprehensive view of bank financial health. NIM compression in a declining rate environment, combined with rising credit costs and sluggish loan demand, is the classic recipe for earnings pressure at rate-sensitive banks.