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.

  • Venezuela’s Inflation and Currency Crisis: Can Oil Investment Stabilize the Economy?

    Venezuela has one of the world’s largest oil resource bases — yet its economy continues to struggle with extreme inflation, currency weakness and years of underinvestment. That creates an important question: Can renewed oil investment finally help stabilize Venezuela’s economy? Venezuela’s Inflation Problem Inflation remains the biggest obstacle. The IMF projected average consumer-price inflation of…

  • Panama Canal Drought Explained: How Shipping Delays Can Raise Global Inflation

    The Panama Canal drought is more than a local weather problem. When water levels fall, fewer ships can pass through one of the world’s most important trade routes. That can increase shipping delays, freight costs and ultimately prices paid by businesses and consumers. In 2026, below-expected rainfall again forced the Panama Canal Authority to temporarily…

  • Copper’s New Strategic Era: Why Chile and Peru Matter More to the U.S. and China Than Ever

    Copper is no longer just an industrial metal. It sits at the center of power grids, electric vehicles, data centers, renewable energy, defense systems and global electrification. That is turning the world’s biggest copper-producing countries into increasingly important geopolitical players. Two countries matter especially: Chile and Peru. Chile and Peru Control a Huge Share of…

  • Peru’s Gold Boom Has a Dark Side: How Illegal Mining Can Distort an Economy

    Peru is benefiting from a powerful gold boom. During the first five months of 2026, Peruvian gold exports reached roughly $11.8 billion, up more than 65% from the same period a year earlier. Higher gold and copper prices helped push total Peruvian goods exports above $45 billion. For a major mining economy, that sounds overwhelmingly…

  • Peru Inflation Returns: Why the Central Bank Is Hesitating to Raise Rates

    Inflation is rising again in Peru. Annual Peru inflation reached about 4.5% in September, above the central bank’s 1%–3% target range. Yet the BCRP has kept its policy rate at: 4.25% Why not raise rates immediately? Because not all inflation is created equal. Why Inflation Is Rising Recent price pressure has been driven partly by:…

  • Colombia’s Peso Carry Trade Explained: Why High Interest Rates Attract Global Investors

    Colombia offers something global investors often search for: high interest rates. With the policy rate at 12.25%, Colombian assets can offer much higher yields than many developed markets. That makes the Colombian peso attractive for a strategy known as the carry trade. But high yield never comes without risk. What Is a Carry Trade? A…

  • Colombia’s IMF Problem: Why a Huge Fiscal Deficit Could Force Spending Cuts

    Colombia has a serious fiscal problem. Its government expects the budget deficit to reach a record 9.4% of GDP in 2027. At the same time, Colombia is exploring financial support from the IMF. That creates a difficult question: Can Colombia stabilize its finances without damaging economic growth? Why the Deficit Matters A fiscal deficit means:…

  • Argentina Sovereign Debt Explained: Why Growth Matters So Much for Bond Investors

    Argentina has made progress on inflation and fiscal discipline. But bond investors still care about one bigger question: Can the economy generate enough dollars to repay its debt? That is why Argentina bonds are closely tied to economic growth. The basic relationship is: stronger growth → more tax revenue + more exports + stronger reserves…

  • Argentina’s Recovery Test: Why Falling Inflation Does Not Automatically Mean the Crisis Is Over

    Argentina has made major progress on inflation. Monthly inflation has fallen sharply from the extreme levels seen when President Javier Milei took office. That is a real improvement. But lower Argentina inflation does not automatically mean the economic crisis is over. The key question is: Can lower inflation turn into stronger growth, jobs and financial…