Lesson 3: Fundamental Analysis for Stock Evaluation
Learn how to evaluate stocks using financial statements, ratios, and valuation metrics.
What is Fundamental Analysis?
Fundamental analysis is the process of evaluating a stock's intrinsic value by examining its financial health, competitive position, and growth prospects. It answers the question: "Is this company worth what the market is currently charging?"
The Three Financial Statements
| Statement | What It Shows | Key Metrics |
|---|---|---|
| Income Statement | Revenue, expenses, and profit over a period | Revenue, Net Income, EPS |
| Balance Sheet | Assets, liabilities, and equity at a point in time | Total Assets, Debt, Equity |
| Cash Flow Statement | Cash generated and used over a period | Operating Cash Flow, Free Cash Flow |
Mental model: Think of financial statements as a company's report card — the income statement shows grades (performance), the balance sheet shows resources (assets vs. liabilities), and the cash flow statement shows actual cash in hand.
Key Financial Ratios
| Ratio | Formula | What It Tells You | Good Benchmark |
|---|---|---|---|
| P/E Ratio | Price per share / EPS | How much you're paying for $1 of earnings | 15-25 for stable companies |
| P/B Ratio | Price per share / Book value per share | How market value compares to net asset value | < 3.0 is generally reasonable |
| Debt-to-Equity | Total Debt / Shareholders' Equity | Financial leverage and risk | < 1.0 is conservative |
| Current Ratio | Current Assets / Current Liabilities | Short-term liquidity | > 1.5 is healthy |
| ROE | Net Income / Shareholders' Equity | How efficiently equity generates profits | > 15% is strong |
| ROA | Net Income / Total Assets | How efficiently assets generate profits | > 5% is good |
How to Read an Income Statement
Revenue → Cost of Goods Sold = Gross Profit Gross Profit → Operating Expenses = Operating Income Operating Income → Interest & Taxes = Net Income
Example: Revenue: $100M COGS: ($40M) Gross Profit: $60M (60% margin) Operating Expenses: ($30M) Operating Income: $30M (30% margin) Interest & Taxes: ($10M) Net Income: $20M (20% net margin)
Valuation Methods
1. Discounted Cash Flow (DCF)
Estimates a company's value based on projected future cash flows, discounted to present value.
Formula: Value = Σ (Cash Flow / (1 + Discount Rate)^Year)
Key insight: A company is worth the sum of all its future cash flows, adjusted for the time value of money.
2. Comparable Company Analysis (Comps)
Compare a company's valuation multiples to similar companies.
Example:
- Company A P/E: 20
- Company B P/E: 25
- Company C P/E: 18
- Industry Average: 21
If Company A trades at P/E 15, it might be undervalued.
3. Price-to-Earnings Growth (PEG) Ratio
Formula: PEG = P/E Ratio / Earnings Growth Rate
| PEG Ratio | Interpretation |
|---|---|
| < 1.0 | Potentially undervalued |
| 1.0 | Fairly valued |
| > 1.0 | Potentially overvalued |
Building a Stock Analysis Framework
Step 1: Quantitative Analysis
- Review financial statements (3-5 years)
- Calculate key ratios
- Compare to industry averages
- Check for consistent growth
Step 2: Qualitative Analysis
- Competitive advantage (moat)
- Management quality
- Industry position
- Growth opportunities
Step 3: Valuation
- Apply 2-3 valuation methods
- Determine intrinsic value range
- Compare to current price
- Calculate margin of safety
Margin of Safety: The difference between intrinsic value and market price. A 20-30% margin of safety provides a cushion against estimation errors.
Common Mistakes to Avoid
- Mistake: Relying on a single metric — Fix: Use multiple ratios and valuation methods.
- Mistake: Ignoring industry context — Fix: Compare ratios to industry peers, not the overall market.
- Mistake: Overcomplicating analysis — Fix: Focus on the 5-6 most important metrics.
- Mistake: Ignoring qualitative factors — Fix: Numbers don't tell the whole story; understand the business.
Professional Tips & Tricks
- Use company filings (10-K, 10-Q) for accurate financial data.
- Look for consistent revenue and earnings growth over 5+ years.
- Check the debt-to-equity ratio — too much debt is risky.
- Calculate owner earnings (net income + depreciation - capital expenditures) for a true cash flow picture.
Key Takeaways
- Fundamental analysis evaluates a stock's intrinsic value through financial statements.
- Key ratios include P/E, P/B, Debt-to-Equity, ROE, and ROA.
- Valuation methods include DCF, comps, and PEG ratio.
- A margin of safety protects against estimation errors.
- Combine quantitative and qualitative analysis for the best results.
Next up: Technical analysis — reading charts and understanding market psychology.
# Stock Analysis Framework
## Financial Ratio Cheat Sheet
### Valuation Ratios
- P/E Ratio: Price ÷ Earnings per share
- P/B Ratio: Price ÷ Book value per share
- P/S Ratio: Price ÷ Sales per share
- PEG Ratio: P/E ÷ Earnings growth rate
### Profitability Ratios
- Gross Margin: (Revenue - COGS) ÷ Revenue
- Operating Margin: Operating Income ÷ Revenue
- Net Margin: Net Income ÷ Revenue
- ROE: Net Income ÷ Shareholders' Equity
- ROA: Net Income ÷ Total Assets
### Financial Health Ratios
- Current Ratio: Current Assets ÷ Current Liabilities
- Quick Ratio: (Current Assets - Inventory) ÷ Current Liabilities
- Debt-to-Equity: Total Debt ÷ Shareholders' Equity
- Interest Coverage: EBIT ÷ Interest Expense
## Example Analysis: Apple (AAPL)
### Income Statement Highlights
- Revenue: $394B (TTM)
- Net Income: $100B
- Net Margin: 25.4%
- EPS: $6.13
### Key Ratios
- P/E Ratio: 28.5 (vs industry avg 22)
- P/B Ratio: 45.2
- ROE: 160%
- Debt-to-Equity: 1.8
### Valuation Assessment
- Current Price: $175
- DCF Intrinsic Value: $195
- Margin of Safety: 10%
- Recommendation: Fairly valued, holdLesson Code (Python)
# Stock Analysis Framework
## Financial Ratio Cheat Sheet
### Valuation Ratios
- P/E Ratio: Price ÷ Earnings per share
- P/B Ratio: Price ÷ Book value per share
- P/S Ratio: Price ÷ Sales per share
- PEG Ratio: P/E ÷ Earnings growth rate
### Profitability Ratios
- Gross Margin: (Revenue - COGS) ÷ Revenue
- Operating Margin: Operating Income ÷ Revenue
- Net Margin: Net Income ÷ Revenue
- ROE: Net Income ÷ Shareholders' Equity
- ROA: Net Income ÷ Total Assets
### Financial Health Ratios
- Current Ratio: Current Assets ÷ Current Liabilities
- Quick Ratio: (Current Assets - Inventory) ÷ Current Liabilities
- Debt-to-Equity: Total Debt ÷ Shareholders' Equity
- Interest Coverage: EBIT ÷ Interest Expense
## Example Analysis: Apple (AAPL)
### Income Statement Highlights
- Revenue: $394B (TTM)
- Net Income: $100B
- Net Margin: 25.4%
- EPS: $6.13
### Key Ratios
- P/E Ratio: 28.5 (vs industry avg 22)
- P/B Ratio: 45.2
- ROE: 160%
- Debt-to-Equity: 1.8
### Valuation Assessment
- Current Price: $175
- DCF Intrinsic Value: $195
- Margin of Safety: 10%
- Recommendation: Fairly valued, holdConsole Output
Stock Analysis Framework
## Financial Ratio Cheat Sheet
### Valuation Ratios
- P/E Ratio: Price ÷ Earnings per share
- P/B Ratio: Price ÷ Book value per share
- P/S Ratio: Price ÷ Sales per share
- PEG Ratio: P/E ÷ Earnings growth rate
### Profitability Ratios
- Gross Margin: (Revenue - COGS) ÷ Revenue
- Operating Margin: Operating Income ÷ Revenue
- Net Margin: Net Income ÷ Revenue
- ROE: Net Income ÷ Shareholders' Equity
- ROA: Net Income ÷ Total Assets
### Financial Health Ratios
- Current Ratio: Current Assets ÷ Current Liabilities
- Quick Ratio: (Current Assets - Inventory) ÷ Current Liabilities
- Debt-to-Equity: Total Debt ÷ Shareholders' Equity
- Interest Coverage: EBIT ÷ Interest Expense
## Example Analysis: Apple (AAPL)
### Income Statement Highlights
- Revenue: $394B (TTM)
- Net Income: $100B
- Net Margin: 25.4%
- EPS: $6.13
### Key Ratios
- P/E Ratio: 28.5 (vs industry avg 22)
- P/B Ratio: 45.2
- ROE: 160%
- Debt-to-Equity: 1.8
### Valuation Assessment
- Current Price: $175
- DCF Intrinsic Value: $195
- Margin of Safety: 10%
- Recommendation: Fairly valued, holdCode Visualization Tips
- Create a financial dashboard with key metrics for easy comparison.
- Draw a waterfall chart showing how revenue flows to net income.
- Use a radar chart to compare a company's ratios to industry averages.
Professional Tips & Tricks
- Always check the footnotes in financial statements — important details are often hidden there.
- Look for companies with consistent revenue growth and expanding margins.
- Compare current ratios to the company's own historical averages, not just industry peers.
Python Code Judge & Practice Arena
LeetCode StyleRun real Python 3.12 WebAssembly code directly in your browser against automated test suites.
Financial Ratio Analysis
Test Your Knowledge
Instant feedbackQuick Check: Fundamental Analysis
Up next · Continue learning
Chart Types & Price Action Fundamentals
Understand candlestick charts, support/resistance levels, and how to read price action like a professional trader.