Net Interest Margin Explained: How Banks Make Money From the Yield Curve

Banks make money by charging borrowers more interest than they pay for funding.

The size of that difference is closely related to net interest margin, or NIM.

For investors, net interest margin is one of the simplest ways to understand whether a bank’s core lending business is becoming more—or less—profitable.

The basic idea is:

interest earned on loans and securities − funding costs = net interest income

But interest rates and the yield curve can change that equation quickly.

What Is Net Interest Margin?

A bank receives interest from assets such as:

  • mortgages
  • business loans
  • credit cards
  • government bonds

It also pays interest on funding such as:

  • customer deposits
  • savings accounts
  • certificates of deposit
  • wholesale borrowing

Net interest margin compares the bank’s net interest income with its interest-earning assets.

Higher NIM generally means the bank is earning a wider spread.

A Simple Example

Imagine a bank has $100 billion of interest-earning assets.

Those assets earn an average:

5% = $5 billion of interest

The bank’s funding costs:

2% = $2 billion

Simplified net interest income:

$5 billion − $2 billion = $3 billion

That represents roughly a:

3% interest spread

If lending yields increase while funding costs remain stable, profitability can rise.

But if deposit costs increase faster, margins can shrink.

Why the Yield Curve Matters

The yield curve compares interest rates across different maturities.

Normally:

short-term rates < long-term rates

That can help banks because some funding is short-term while many loans have longer maturities.

For example:

Deposits cost 2%

Long-term loans earn 5%

The spread is attractive.

But if the yield curve becomes flat or inverted:

short-term funding costs can approach—or exceed—long-term yields

That can put pressure on net interest margin.

Banks Do Not Simply “Borrow Short and Lend Long”

That phrase is useful, but reality is more complicated.

Banks hold many different assets and funding sources.

Some loans have floating rates.

Some deposits pay almost no interest.

Other deposits reprice quickly.

A bank’s profitability therefore depends on how fast its assets and liabilities respond to changing interest rates.

This is called interest-rate sensitivity.

Why Rising Rates Can Help—or Hurt

Imagine lending rates rise:

4% → 6%

But deposit costs rise only:

1% → 2%

The bank’s spread expands.

That can be positive for earnings.

Now imagine deposits become highly competitive:

Loan yield: 6%

Deposit cost: 4.5%

The spread becomes much smaller.

So rising rates alone do not tell investors whether banks are becoming more profitable.

The key is:

Which side reprices faster?

Why an Inverted Yield Curve Matters

An inverted yield curve occurs when short-term rates are above longer-term rates.

That can create problems because:

funding becomes expensive while long-term lending yields may not rise enough

It can also signal expectations of slower economic growth.

For banks, that creates two potential risks:

lower margins + weaker loan demand

If the economy deteriorates, credit losses may also rise.

Expected Return vs Risk

Strong net interest margins can support higher bank earnings.

But investors should never examine NIM alone.

Positive SignalRisk
Rising loan yieldsHigher deposit costs
Cheap depositsDeposit outflows
Steeper yield curveEconomic slowdown
Loan growthHigher defaults
Expanding NIMCredit deterioration

A bank can have excellent margins today but still face problems if borrowers begin defaulting.

That is why expected return must be balanced against funding, credit and interest-rate risk.

What Investors Should Watch

When analysing bank stocks, look at:

Net interest margin — Is it expanding or shrinking?

Deposit costs — Are customers demanding higher rates?

Loan growth — Is the bank finding profitable lending opportunities?

Yield curve — Are long-term yields sufficiently above short-term rates?

Credit losses — Are borrowers still performing?

Together, these numbers reveal far more than interest rates alone.

The Bottom Line

Net interest margin explains the economics at the heart of banking.

The simplest framework is:

asset yield − funding cost = banking spread

A favorable yield curve and cheap deposits can strengthen profitability.

But rising funding costs, an inverted yield curve or worsening credit quality can quickly reduce the benefit.

For investors, the question is therefore not simply:

“Are interest rates high?”

It is:

“How much is the bank earning after paying for the money it uses?”

For more banking analysis, macro research and model-driven market tools, sign up to TradingSimuLab and explore the Macro Model alongside the wider five-model research framework.

Continue exploring TradingSimuLab.

  • Asia’s AI Winners: Why Malaysia and Thailand Are Becoming Critical to the Global Chip Boom

    The AI boom is spreading beyond Nvidia, Taiwan and South Korea. Malaysia and Thailand are becoming increasingly important parts of the global technology supply chain. That makes Asia AI investment a much broader story than just advanced chip manufacturing. The opportunity now includes: data centers + packaging + power + semiconductor manufacturing Why Malaysia Matters…

  • Weak Yen, Expensive Oil: Why Japan Faces a New Imported-Inflation Problem

    Japan faces an uncomfortable combination: a weak yen + expensive oil Japan imports much of its energy. So when oil prices rise while the Japanese yen falls, the country effectively gets hit twice. The basic chain is: weak yen + high oil → higher import costs → higher inflation Why the Yen Matters Oil is…

  • Bank of Japan Rate Hikes Explained: Why Japan May Finally Leave Ultra-Low Rates Behind

    Japan spent decades with extremely low interest rates. That era is changing. The Bank of Japan interest rate has now reached 1.25%, its highest level in 31 years. The key question is no longer whether Japan will normalize policy. It is: How far will rates ultimately rise? Why Japan Kept Rates So Low Japan struggled…

  • India’s UPI Fee Explained: What Ending Free Digital Payments Could Mean for Fintech Stocks

    India’s UPI transformed payments by making instant bank transfers incredibly cheap and easy. Now the economics are changing. India plans to introduce fees on some larger UPI payments, creating a major question for fintech investors: Can UPI become profitable without slowing its extraordinary growth? Why UPI Became So Successful UPI allowed consumers to pay merchants…

  • India’s IT Stocks vs AI: Can Strong Earnings Beat the Automation Threat?

    Artificial intelligence creates a strange problem for Indian IT companies. AI can help them work faster. But it can also reduce the number of employees and billable hours clients need. That is why India IT stocks face both an opportunity and a threat. The key question is: Will AI create more revenue than it destroys?…

  • India Inflation Is Rising Again: Why Expensive Oil Could Force the RBI to Stay Hawkish

    India’s inflation problem is returning. September consumer inflation reached 5.54%, moving closer to the RBI’s 6% upper tolerance limit. The concern is simple: high oil + rising food prices + weaker rupee = more inflation pressure That could keep Indian interest rates higher for longer. Why Oil Matters So Much India imports most of the…

  • India’s Rupee Defense Explained: How the RBI Is Fighting a Strong Dollar and $100 Oil

    The Indian rupee is under pressure from two major forces: a strong U.S. dollar + expensive oil That combination is particularly difficult for India because the country imports large amounts of energy. The Reserve Bank of India is now trying to stabilize the Indian rupee without creating unnecessary stress elsewhere in the economy. Why Oil…

  • China’s Next Bull Market? Why $25 Trillion in Household Savings Could Flow Into Stocks

    Chinese households hold more than $25 trillion in savings. Most of that money is not invested in stocks. But with property struggling and deposit returns less attractive, even a small shift toward equities could become a powerful force for the China stock market. The key question is: Where does Chinese household money go next? Why…

  • China Stimulus Explained: Can Another Fiscal Push Finally Revive Domestic Demand?

    China is increasing fiscal support again. Beijing has allocated hundreds of billions of yuan to local governments and infrastructure projects. But the key question is not simply: “How large is the China stimulus?” It is: “Will it actually make households and businesses spend more?” Why China Needs Stimulus China still faces several weak spots: Exports…