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.

  • Copper Near Record Highs: Why U.S. Tariff Uncertainty Is Distorting the Global Market

    Educational research only — not investment advice. The copper price today is being driven by more than normal supply and demand. Copper has recently traded near record levels as uncertainty over possible U.S. tariffs encourages traders to move huge amounts of metal into America. The result is unusual: the world may have enough copper overall,…

  • Bank Stress Tests Are Changing: Could Lower Capital Volatility Help U.S. Bank Stocks?

    Educational research only — not investment advice. Bank stocks could benefit from major changes coming to the Federal Reserve’s annual stress tests. The Fed plans to make the process more transparent and reduce large year-to-year swings in the capital banks are required to hold. The idea is simple: more predictable stress tests → more predictable…

  • Tokenized Stocks Are Coming: Could Blockchain Change How U.S. Equities Trade?

    Educational research only — not investment advice. Tokenized stocks just moved much closer to the U.S. mainstream. The SEC has introduced a five-year conditional exemption allowing certain platforms to trade blockchain-based versions of U.S.-listed stocks. It could eventually change how investors trade, settle and hold shares. What Is a Tokenized Stock? A tokenized stock is…

  • Oracle’s $18 Billion AI Data-Center Debt: Is the AI Buildout Becoming Too Leveraged?

    Educational research only — not investment advice. Oracle stock is becoming a major test of whether the AI infrastructure boom is taking on too much debt. Around $18 billion of loans linked to Oracle’s planned Project Jupiter data center in New Mexico are now trading below their original value. The problem is simple: AI demand…

  • Berkshire After Warren Buffett: What Changes Under Howard Buffett and Greg Abel?

    Educational research only — not investment advice. Berkshire Hathaway stock has officially entered the post-Warren Buffett era. On September 18, Warren Buffett stepped down as chairman after more than six decades leading Berkshire. He remains a director and becomes chairman emeritus. His son Howard Buffett is now non-executive chairman, while Greg Abel remains CEO. The…

  • Euro Holds Up Despite Oil and Rate Shocks: Why EUR/USD Has Been More Resilient Than Expected

    Educational research only — not investment advice. The euro dollar today story is unusual. EUR/USD has weakened in 2026, but the euro has held up better than many investors might expect considering: EUR/USD recently tested the $1.1450 area but has so far avoided a decisive breakdown. Why Is the Dollar Strong? The Federal Reserve recently…

  • Tesla Semi Comes to Europe: Can Electric Trucks Disrupt the Continent’s Freight Market?

    Educational research only — not investment advice. Tesla Semi Europe is becoming a reality as Tesla prepares to enter one of the world’s biggest commercial-truck markets. The European Semi is expected to offer up to roughly 550 km of range while operating at a 40-ton gross weight. Tesla says high-power charging could restore about 60%…

  • European LNG Risk: What Qatar Supply Disruptions Mean for Italy and Edison

    Educational research only — not investment advice. Europe LNG prices are becoming a major macro risk again. Qatar is one of the world’s most important LNG exporters, and disruptions to its supply are creating problems across Europe—especially for countries such as Italy that depend heavily on imported gas. The basic problem is simple: less Qatar…

  • Italy’s Energy Security Push: Why Rome Is Accelerating Domestic Oil and Gas Projects

    Educational research only — not investment advice. The Italy energy crisis is pushing Rome to rethink how quickly domestic oil and gas projects should be developed. Italy has moved to accelerate drilling approvals as geopolitical tensions expose Europe’s continued dependence on imported energy. The logic is simple: more domestic supply → fewer imports → lower…