2.7.6Economic Moats & Macro

Learn about GDP, inflation, and CPI - WPI

3,136 words14 min readdifficulty · medium

Overview

Gross Domestic Product (GDP), inflation, and price indices (CPI/WPI) are the fundamental macroeconomic indicators that drive stock market valuations, central bank policy, and sector rotation. Understanding these isn't optional—every earnings call, monetary policy decision, and valuation multiple depends on them.

Figure — Learn about GDP, inflation, and CPI - WPI

GDP: The Economy's Report Card

Why GDP Matters to Investors

THREE critical transmission channels:

  1. Corporate Earnings Growth: GDP growth ≈ revenue growth for most companies. If the economy grows5%, aggregate corporate revenues typically grow 4-6%.
  2. Interest Rates: Central banks raise rates when GDP grows too fast (overheating risk), which reduces stock valuations (higher discount rates). They cut rates when GDP slows, boosting stocks.
  3. Sector Rotation: High GDP growth → cyclicals outperform (autos, banks, real estate). Low GDP growth → defensives outperform (pharma, FMCG, utilities).

The Three Ways to Calculate GDP

WHERE:

  • CC = Consumption (household spending: 55-60% of India's GDP)
  • II = Investment (business capex + residential construction: ~30%)
  • GG = Government spending (infrastructure, salaries: ~12%)
  • XMX - M = Net exports (exports minus imports: often negative for India)

WHY this formula? Because GDP measures total spending on final goods. Every product sold is bought by one of these four groups.

Calculate nominal GDP:

GDP=150+70+30+(5060)=150+70+3010=240 trillion\text{GDP} = 150 + 70 + 30 + (50 - 60) = 150 + 70 + 30 - 10 = ₹240 \text{ trillion}

Why this step? We add all domestic spending, then subtract imports because imports are foreign production (they're in C,I,GC, I, G but shouldn't count in our GDP).

Nominal vs Real GDP

Real GDP=Nominal GDPGDP Deflator×100\text{Real GDP} = \frac{\text{Nominal GDP}}{\text{GDP Deflator}} \times 100

WHY the distinction matters: If nominal GDP grows 10% but inflation is 8%, the economy only really grew 2%. Stock investors care about real growth because only real growth increases actual production capacity and long-term earnings power.

Real GDP in Year 2:

Real GDP2=220108×100=203.7 trillion\text{Real GDP}_2 = \frac{220}{108} \times 100 = 203.7 \text{ trillion}

Real GDP growth rate:

Growth=203.7200200×100%=1.85%\text{Growth} = \frac{203.7 - 200}{200} \times 100\% = 1.85\%

Why this step? Dividing by the deflator removes price increases, leaving only quantity increases. The economy grew 10% nominally but only 1.85% in real terms—inflation ate8.15%.


Inflation: The Silent Wealth Destroyer

Why Inflation Destroys AND Creates

Two faces of inflation for investors:

  1. Earnings Impact: Moderate inflation (3-5%) lets companies raise prices → higher nominal earnings → stocks rise. But high inflation (>7%) increases input costs faster than pricing power allows → margin compression.
  2. Valuation Impact: Inflation forces central banks to raise interest rates → higher discount for future cash flows → lower P/E multiples. The formula: Stock Value = Earnings / (Discount Rate). If discount rate ↑, value ↓.

The Inflation-Interest Rate-Stock Valuation Chain

Simplified (for small rates): Nominal RateReal Rate+Inflation Rate\text{Nominal Rate} \approx \text{Real Rate} + \text{Inflation Rate}

WHY this matters: If inflation is 6% and you need a 3% real return, you demand 9% nominal return. When inflation rises, required returns rise → stock prices fall (present value drops).

Stock valuation impact (simplified): A stock earning ₹10/year, valued at:

  • Year 1: ₹10 / 0.05 = ₹200
  • Year 2: ₹10 / 0.10 = ₹100

Why this step? Higher discount rate divides earnings by a bigger number → lower present value. This is why stocks crash when inflation surges unexpectedly.


## CPI: The Consumer's Inflation Gauge

### How CPI is Constructed

STEP-BY-STEP:

  1. Select a basket: Survey thousands of households to find what they buy (e.g., rice, rent, fuel, clothes).

  2. Assign weights: Food might be 45% of spending, housing 15%, transport 10%, etc.

  3. Collect prices: Every month, surveyors record prices at thousands of retail locations.

  4. Calculate index: Base year = 100. If prices rise 5%, index = 105.

CPI=(Current Pricei×Quantityi)(Base Pricei×Quantityi)×100\text{CPI} = \frac{\sum (\text{Current Price}_i \times \text{Quantity}_i)}{\sum (\text{Base Price}_i \times \text{Quantity}_i)} \times 100

Inflation rate: \text{Inflation} = \frac{\text{CPI}_{\text{current}} - \text{CPI}_{\text{previous}}}{\text{CPI}_{\text{previous}} \times 100\%

WHY this formula? It's a Laspeyres index—quantities fixed at base-year levels, so only price changes matter. This isolates pure inflation from consumption shifts.

Base year cost: 10×40+2×200+1×100=400+400+100=90010 \times 40 + 2 \times 200 + 1 \times 100 = 400 + 400 + 100 = ₹900

Current year cost: 10×45+2×250+1×110=450+500+110=106010 \times 45 + 2 \times 250 + 1 \times 110 = 450 + 500 + 110 = ₹1060

CPI (base = 100): CPI=1060900×100=117.8\text{CPI} = \frac{1060}{900} \times 100 = 117.8

Inflation: Inflation=117.8100100×100%=17.8%\text{Inflation} = \frac{117.8 - 100}{100} \times 100\% = 17.8\%

Why this step? We compare the cost of the same basket at different times. If the basket costs 17.8% more, that's the inflation rate consumers experience.

CPI vs Core CPI

Example: If overall CPI = 6% but core CPI = 3%, the RBI knows 3% is from oil shocks (temporary) and won't hike rates agressively.


WPI: The Wholesale Inflation Signal

WPI vs CPI: Key Differences

Aspect WPI CPI
Level Wholesale (factory gate) Retail (consumer)
Coverage Manufacturing, mining, primary goods Consumer goods + services
Services Not included Included (50%+ weight)
Use case Producer inflation, B2B contracts Household inflation, wage indexing
Policy Less used by RBI now Primary inflation target

WHY WPI matters: If WPI rises sharply, companies face input cost pressure → either margins shrink (bad for stocks) or they raise prices (CPI rises → RBI hikes rates → stocks fall). WPI is a canary in the coal mine.

Why this lag? Wholesale costs → production costs → retail prices. Smart investors watch WPI trends to forecast CPI moves before the market reacts.


The Macro-to-Micro Investing Playbook

SCENARIO 1: High GDP Growth (7%+), Low Inflation (3-4%)

  • What happens: Strong earnings growth, no rate hike pressure
  • Winners: Cyclicals (banks, autos, capital goods, real estate)
  • Losers: Defensives underperform (boring but stable)

SCENARIO 2: High GDP Growth (7%+), High Inflation (6%+)

  • What happens: RBI hikes rates → borrowing costs rise → valuations compress
  • Winners: Companies with pricing power (FMCG brands, pharma)
  • Losers: Highly leveraged sectors (real estate, NBFCs)

SCENARIO 3: Low GDP Growth (3-4%), High Inflation (stagflation)

  • What happens: Worst case—earnings fall, rates stay high
  • Winners: Gold, defensives (utilities, pharma)
  • Losers: Almost everything; cash is king

SCENARIO 4: Low GDP Growth (3-4%), Low Inflation (2-3%)

  • What happens: Rate cuts likely, slow recovery
  • Winners: Interest-ratesensitive (IT exports benefit from weak rupee, banks on rate cuts)
  • Losers: Commodity producers

Why it's wrong: If GDP grows 10% but inflation is 9%, real growth is only 1%—markets will fall because high inflation forces rate hikes, which crush valuations. Also, if GDP growth is entirely from government spending (not productive investment), corporate profits may not rise.

The fix: Check real GDP growth and the composition (consumption-led? investment-led?). Investment-led growth is more sustainable for stocks.


Why it's wrong: For businesses, WPI matters more for input costs. A steel companyares about iron ore WPI, not food CPI. Also, asset inflation (real estate, stocks) isn't in CPI but affects wealth and spending.

The fix: Track WPI for cost pressures, CPI for demand and policy, and asset prices for wealth effects. Use all three.


Recall Feynman Technique: Explain to a 12-Year-Old

Imagine you and your friends run a lemonade stand economy. GDP is like counting all the lemonade you sold this month—₹500 total. That's your "economic size." If next month you sell ₹550, your economy grew 10%—yay!

But wait—sugar prices doubled! So even though you earned ₹550, you can only buy half the sugar you could before. Your real growth is way less than 10% because inflation (sugar getting expensive) ate your gains.

CPI is like tracking the price of YOUR favorite snacks (chips, candy, lemonade) every week. If they all cost 5% more, your pocket money buys 5% less—that's inflation for you.

WPI is like tracking the price youremonade stand pays for sugar and lemons (wholesale). If those go up, you either make less profit or raise your lemonade price, which makes CPI go up later!

So: GDP = size of economy. Inflation = how fast prices rise. CPI = what you pay at the store. WPI = what businesses pay before stuff reaches stores.


For inflation winners: "Price Power Protects Profits" → Companies with pricing power survive inflation.


Connections

  • Understanding Economic Cycles and Sector Rotation – GDP/inflation define cycle phases
  • Central Bank Monetary Policy and Interest Rates – RBI uses CPI target (4% ±2%) to set rates
  • Discounted Cash Flow (DCF) Valuation – Inflation affects discount rates → stock valuations
  • FMCG Stocks and Pricing Power – High CPI inflation tests brand pricing power
  • Real vs Nominal Returns – Always deflate by CPI to find real gains
  • Bond Yields and Inflation Expectations – 10Y bond yield = real rate + inflation expectations
  • Currency and Exports – High inflation → currency depreciates → export competitiveness rises

#flashcards/stock-market

What does GDP measure? :: The total market value of all final goods and services produced within a country's borders in a specific time period.

Write the GDP expenditure formula :: GDP = C + I + G + (X - M), where C = Consumption, I = Investment, G = Government spending, X = Exports, M = Imports

Why do we subtract imports in GDP?
Imports are foreign production already counted in C, I, or G but shouldn't be in our GDP since they weren't produced domestically.
What is Real GDP?
Nominal GDP adjusted for inflation to show true volume growth; Real GDP = (Nominal GDP / GDP Deflator) × 100
If nominal GDP grows 10% and inflation is 7%, what is approximate real growth?
~3% (10% - 7%, using the approximation for small rates)
What is inflation?
The rate of increase in the general price level of goods and services over time, eroding purchasing power.
Write the simplified Fisher equation
Nominal Rate ≈ Real Rate + Inflation Rate
Why do stock valuations fall when inflation rises?
Higher inflation → central banks raise interest rates → higher discount rate for future cash flows → lower present value of earnings
What is CPI?
Consumer Price Index; a weighted average of prices of a basket of consumer goods and services, tracking household inflation.
How is inflation calculated from CPI?
Inflation = [(CPI_current - CPI_previous) / CPI_previous] × 100%
What is Core CPI and why does it matter?
CPI excluding food and energy prices; central banks use it because it filters out volatile components and shows persistent inflation trends.
What is WPI?
Wholesale Price Index; tracks prices at the producer/wholesale level before goods reach consumers.
What are two key differences between WPI and CPI?
(1) WPI measures wholesale/producer prices, CPI measures retail/consumer prices; (2) WPI excludes services, CPI includes them (50%+ weight)
Why is WPI a leading indicator for CPI?
Wholesale cost increases eventually get passed to consumers as retail price increases, so WPI inflation today often becomes CPI inflation tomorrow.
What stocks outperform in high GDP growth + low inflation?
Cyclicals: banks, autos, capital goods, real estate—they benefit from strong earnings growth without rate hike pressure.
What stocks outperform in high inflation regardless of growth?
Companies with strong pricing power: FMCG brands, pharma—they can pass costs to consumers without losing demand.
What is the worst macro scenario for stocks?
Stagflation: low GDP growth + high inflation; earnings fall while rates stay high, crushing valuations.
What is the policy inflation target range for RBI?
4% ±2% (i.e., 2-6% range), focusing on CPI inflation.
Why might high nominal GDP growth not translate to stock gains?
If most growth is from inflation (not real growth), or if growth is government-spending-driven (not productive investment), corporate profits may not rise sustainably.
What are the three transmission channels from GDP to stocks?
(1) Corporate earnings growth, (2) Interest rate policy changes, (3) Sector rotation (cyclicals vs defensives).

Concept Map

drives

too fast triggers

growth level guides

higher discount rate

supports

high growth

low growth

calculates

adjusted by

gives

measured by

separates from

informs

GDP total output

Corporate Earnings

Central Bank Rate Hikes

Sector Rotation

Stock Valuations

Cyclicals Outperform

Defensives Outperform

GDP = C + I + G + X-M

GDP Deflator

Real GDP

Inflation

CPI and WPI

Hinglish (regional understanding)

Intuition Hinglish mein samjho

GDP, inflation, aur CPI/WPI: Yeh teen chezein stock market ki asliyat hain. Jab bhi koi company ka result ata hai ya RBI interest rate change karta hai, toh background mein yeh teen hi cheezon ka khel chal raha hota hai.

GDP ko samjho aise: Agar India Inc. ek bada business hai, toh GDP uska total sales figure hai. Jitna zyada GDP growth, utna zyada companies ke pas customers aur demand. High GDP growth matlab cyclical stocks (banks, autos, real estate) ka time—kyunki log kharcha kar rahe hain, loan le rahe hain, ghar krid rahe hain. Paragar GDP slow ho toh defensive stocks (pharma, FMCG) better perform karte hain kyunki woh recession-proof hote hain.

Inflation ki kahani thodi tricky hai. Moderate inflation (3-5%) acha hota hai—companies prices badha sakti hain, earnings grow hoti hain. Par jab inflation 7-8% cross karta hai, toh RBI interest rates badhata hai cost cutting ke liye, aur higher rates se stock valuations gir jati hain (future cash flows ka present value kam ho jata hai). CPI consumer level inflation bata hai—apke ghar ke kche kitne badh gaye. WPI wholesale level inflation dikhata hai—companies ko raw material kitna mehenga pad raha hai. WPI usually CPI se pehle badhta hai, toh agar aap WPI trends dekh rahe ho, toh ap future CPI aur rate hikes predict kar sakte ho.

Investing ka funda: High GDP + Low inflation = cyclicals ka time. High inflation = pricing power wale stocks (FMCG brands). Low GDP + High inflation (stagflation) = sabse bura, bas gold aur cash rakho. Yeh macro dashboard har investor ko apni ungliyon par hona chahiye, kyunki yahi decide karta hai ki apka portfolio next quarter mein rocket bane ya pani mein dube.

Test yourself — Economic Moats & Macro

Connections