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.

  • European Bank Mega-Mergers: Can EU Banks Finally Compete With JPMorgan and Wall Street?

    Educational research only — not investment advice. European bank stocks could enter a new phase as EU officials push for larger cross-border lenders. European policymakers increasingly argue that the region’s banks need more scale if they want to compete with U.S. giants such as JPMorgan, Goldman Sachs and Bank of America. The idea is simple:…

  • UK Gilt Market Explained: Why the Bank of England Just Stopped Selling Long-Term Bonds

    Educational research only — not investment advice. UK gilt yields fell after the Bank of England changed the way it plans to shrink its huge government-bond portfolio. The BoE paused active gilt sales until April and said it would stop selling long-dated gilts entirely. The move came after 30-year borrowing costs recently reached their highest…

  • UK Inflation Above 4%? Why the Bank of England May Have to Raise Rates Again

    Educational research only — not investment advice. UK interest rates could rise again as inflation becomes harder to control. The Bank of England kept its policy rate at 3.75% in September, but warned that inflation could move above 4% in early 2027. That creates a difficult choice: raise rates again and weaken growth or leave…

  • ECB Rate Hikes Are Back: Can Europe Fight Inflation Without Breaking Growth?

    Educational research only — not investment advice. ECB interest rates are rising again as Europe struggles with another inflation problem. The European Central Bank raised its deposit rate to 2.50% in September, its second hike of 2026, after euro-area inflation climbed to 3.3%. But the ECB faces a difficult trade-off: raise rates too little →…

  • Europe’s Gas Storage Problem: Could a Cold Winter Trigger Another Energy Shock?

    Educational research only — not investment advice. Europe gas prices could become one of the biggest macro risks this winter. European gas storage is only around 67% full, below the EU’s target of 80% by December. At the same time, LNG supply from the Middle East has been disrupted by conflict and problems around the…

  • Volkswagen’s €10 Billion Shock: Is Europe’s Auto Industry Entering a Deeper Crisis?

    Educational research only — not investment advice. Volkswagen stock fell sharply after the company announced around €10 billion in one-off costs and cut its 2026 profit outlook. Volkswagen now expects a profit margin of no more than 1%, down from earlier guidance of 4%–5.5%. The problem is bigger than one bad quarter. Volkswagen is dealing…

  • France Bond Crisis? Why the French-German Yield Spread Just Hit a 2012 High

    France Bond Crisis? Why the French-German Yield Spread Just Hit a 2012 High Educational research only — not investment advice. France bond yields are becoming one of Europe’s biggest macro stories. The extra yield investors demand to hold French 10-year government bonds instead of German Bunds has risen above 1 percentage point, or 100 basis…

  • U.S. Manufacturing Falls Again: Can AI and Defense Spending Offset High Oil and Interest Rates?

    Educational research only — not investment advice. U.S. manufacturing weakened in August after seven straight months of growth. Factory production fell 0.3%, with declines in areas such as motor vehicles and computer equipment. Manufacturing represents about 9.4% of the U.S. economy. The slowdown raises a simple question: Can AI and defense investment keep factories growing…

  • China’s AI Boom Has a Demand Problem: Can Technology Fix Weak Consumer Spending?

    Educational research only — not investment advice. The China economy has an unusual problem. Its factories are becoming more productive, AI investment is rising and advanced manufacturing remains strong. But Chinese consumers are still spending cautiously. That creates a difficult imbalance: strong supply + weak demand And AI could make that gap even larger. China’s…