How to Analyze a Stock
Reading the financial statements, computing the ratios that matter, judging moats, sketching a valuation, and spotting red flags. Plus the honest truth about why even professionals who do all of this usually underperform an index fund.
The three financial statements
Every public company files three core statements, and each answers a different question. Learning to read them together is the single highest value skill in stock analysis, because each statement can be misleading on its own.
1. The income statement: is the business profitable?
The income statement covers a period of time, usually a quarter or a year. It starts with revenue at the top and subtracts costs on the way down, which is why "top line" means revenue and "bottom line" means net income. The main waterfall looks like this:
- Revenue (sales): money earned from customers.
- Cost of goods sold (COGS): direct costs of producing what was sold. Revenue minus COGS is gross profit.
- Operating expenses: sales and marketing, research and development, general and administrative. Gross profit minus these is operating income (roughly EBIT, earnings before interest and taxes).
- Interest and taxes: subtract these and you reach net income, the accounting profit attributable to shareholders.
The critical caveat: the income statement uses accrual accounting. Revenue is recorded when it is earned, not when cash arrives. A company can report growing profits while cash drains out the door, and vice versa. That is why you never stop at the income statement.
2. The balance sheet: what does the business own and owe?
The balance sheet is a snapshot at a single date. It obeys one identity: assets equal liabilities plus shareholders' equity. Assets are what the company controls (cash, inventory, receivables, factories, acquired goodwill). Liabilities are what it owes (payables, debt, deferred revenue). Equity is the residual claim left for owners.
Things to check: how much cash versus how much debt, whether inventory or receivables are growing faster than sales (a classic warning), and how much of the asset side is goodwill from past acquisitions, which is an accounting artifact rather than something you could sell.
3. The cash flow statement: where did the cash actually go?
The cash flow statement reconciles accrual profits back to actual cash movement in three buckets: operating activities (cash generated by the core business), investing activities (capital expenditures, acquisitions), and financing activities (debt raised or repaid, shares issued or bought back, dividends paid).
The number many analysts care about most is free cash flow (FCF): operating cash flow minus capital expenditures. It approximates the cash the business generates that could, in principle, be returned to owners. Over long periods, net income and free cash flow should roughly track each other. When reported earnings persistently run far ahead of cash flow, be suspicious.
A worked mini example: Riverbend Coffee Co.
Riverbend Coffee Co. is a fictional company invented for this guide. Suppose its latest annual figures look like this:
| Item | Amount ($ millions) |
|---|---|
| Revenue | 1,000 |
| Cost of goods sold | 400 |
| Gross profit | 600 (60% gross margin) |
| Operating expenses | 420 |
| Operating income | 180 (18% operating margin) |
| Interest expense | 20 |
| Taxes (21% on pretax income of 160) | 34 |
| Net income | 126 (12.6% net margin) |
| Operating cash flow | 170 |
| Capital expenditures | 60 |
| Free cash flow | 110 |
| Total debt | 400 |
| Cash | 150 |
| Shareholders' equity | 700 |
| Shares outstanding | 100 million |
| Share price | $31.50 |
From these raw numbers you can compute almost everything that matters:
- Earnings per share (EPS): 126 / 100 = $1.26.
- P/E: 31.50 / 1.26 = 25.0. The market is paying 25 dollars for each dollar of current annual earnings.
- Market capitalization: 100 million shares x $31.50 = $3,150 million.
- Enterprise value (EV): market cap plus debt minus cash = 3,150 + 400 minus 150 = $3,400 million.
- EBITDA (say depreciation is 70): operating income 180 + 70 = 250, so EV/EBITDA = 3,400 / 250 = 13.6.
- Return on equity (ROE): 126 / 700 = 18%.
- FCF yield: 110 / 3,150 = 3.5%.
Notice that net income (126) exceeds free cash flow (110). A modest gap like this is normal for a growing business investing in stores and equipment. A gap that widens year after year would deserve a hard look at how Riverbend recognizes revenue.
The key ratios table
No ratio means anything in isolation. Each is a shortcut for a question, and each has a well known failure mode. Compare ratios across time for the same company and across close competitors, not across unrelated industries.
| Ratio | Formula | Question it answers | Failure mode |
|---|---|---|---|
| P/E | Price / EPS | What am I paying per dollar of earnings? | Meaningless with negative or artificially depressed earnings; cyclical companies look "cheap" at peak earnings. |
| PEG | P/E / expected growth rate | Is the P/E justified by growth? | Growth forecasts are guesses; a PEG near 1 is a rule of thumb, not a law. |
| P/S | Market cap / revenue | Value per dollar of sales, useful pre-profit | Ignores margins entirely; a 10% margin business and a 40% margin business are not comparable at the same P/S. |
| P/B | Price / book value of equity | Price versus accounting net worth | Book value understates brands and software firms; works better for banks and asset-heavy businesses. |
| EV/EBITDA | Enterprise value / EBITDA | Value of the whole business relative to pre-financing operating earnings | EBITDA ignores capex; capital-hungry businesses look cheaper than they are. |
| ROE | Net income / equity | How productively does the firm use shareholder capital? | Leverage inflates it; a mediocre business with heavy debt can show a high ROE. |
| ROIC | After-tax operating profit / invested capital | Returns on all capital, debt and equity | Definitions of invested capital vary; check consistency before comparing. |
| Gross / operating / net margin | Each profit line / revenue | Pricing power and cost discipline at each stage | One year tells you little; the trend over 5 to 10 years tells you a lot. |
| Debt/EBITDA | Total debt / EBITDA | How many years of earnings to repay debt | EBITDA collapses in recessions exactly when debt matters most. |
| Interest coverage | Operating income / interest expense | Cushion before debt payments become a problem | Floating-rate debt can change the denominator fast. |
Growth versus profitability
Companies live on a spectrum. At one end sit fast growers that burn cash: they spend heavily on marketing and product because they believe each dollar spent today buys durable future profits. At the other end sit mature cash machines: slow revenue growth, fat margins, big buybacks and dividends.
Neither profile is inherently better. The question is always the same: what is the market already pricing in? A company growing revenue 40% per year trading at 15 times sales needs to sustain extraordinary growth for years just to justify its current price. A company growing 3% at 12 times earnings needs very little to go right. Most large investment mistakes are not about picking bad businesses; they are about paying a price that assumed perfection from a good business.
For unprofitable growers, look at unit economics: does each individual customer or transaction make money before corporate overhead? A business losing money because it is acquiring profitable customers faster than accounting can catch up is very different from a business whose core transaction loses money at any scale.
Moats: durable competitive advantage
High returns on capital attract competitors, and competition erodes those returns. A moat is whatever stops that from happening. The commonly cited categories:
- Network effects: the product improves as more people use it (marketplaces, payment networks, social platforms).
- Switching costs: leaving is painful (enterprise software woven into workflows, bank accounts with dozens of linked payments).
- Intangible assets: brands that command pricing power, patents, regulatory licenses.
- Cost advantages: structural scale or process advantages that let a firm profitably price below rivals.
- Efficient scale: markets that only support one or two rational players (railroads, some utilities, airports).
The test of a moat is not the story, it is the numbers: a real moat shows up as high and stable ROIC and gross margins over a decade, plus stable or growing market share despite competitors trying. Be skeptical of moat narratives attached to companies whose returns have never been demonstrated. Also remember that moats erode: technology shifts, patents expire, brands fade. A moat assessment is a judgment about the next ten years, not the last ten.
Valuation: multiples and DCF intuition
Multiples: fast, comparative, shallow
Multiples-based valuation asks: what are similar businesses selling for? If comparable coffee chains trade at 20 to 24 times earnings and Riverbend trades at 25, it is priced at the top of its peer range, and you would want a reason (faster growth, better margins, stronger balance sheet) to justify that. Multiples are quick and grounded in real market prices, but they inherit whatever mispricing exists across the whole peer group. In a bubble, everything looks reasonable relative to everything else.
DCF: the logic underneath every valuation
A discounted cash flow model says a business is worth the sum of all the cash it will ever generate for owners, discounted back to today because future cash is worth less than present cash. You will rarely build a full DCF as an individual investor, but the intuition disciplines your thinking. A rough sketch for Riverbend:
| Assumption | Value |
|---|---|
| Current free cash flow | $110M |
| FCF growth, years 1 to 10 | 8% per year |
| Growth after year 10 (terminal) | 2.5% forever |
| Discount rate | 9% |
Discounting ten years of growing cash flows at 9% gives a present value of roughly $950M. The terminal value (year 10 FCF of about $237M, grown at 2.5% and capitalized at 9% minus 2.5% = 6.5%, then discounted back ten years) contributes roughly $1,580M. Total: about $2.5 billion of enterprise value. Subtract net debt of $250M and you get an equity value near $2.28 billion, or about $22.80 per share against a market price of $31.50.
Does that mean Riverbend is 28% overvalued? No. It means that at $31.50 the market is assuming something better than 8% growth at a 9% discount rate. Nudge growth to 12% and the model roughly justifies the price. That sensitivity is the real lesson of DCF: small changes in assumptions swing the answer enormously, so the output is not a precise target, it is a map of what beliefs the current price requires. Ask "what would have to be true?" rather than "what is it worth?"
Red flags in filings
Most red flags are not fraud. They are signs that reported numbers flatter reality. A partial checklist:
- Cash flow persistently lagging net income: profits that never turn into cash.
- Receivables or inventory growing much faster than revenue: channel stuffing, weakening customers, or products piling up unsold.
- Serial "one-time" charges: restructuring costs that appear every single year are not one-time, they are the business.
- Heavy reliance on adjusted or non-GAAP earnings: some adjustments are reasonable, but a wide, growing gap between GAAP and adjusted numbers deserves scrutiny, especially when stock compensation is the excluded item.
- Frequent auditor changes, delayed filings, or material weakness disclosures: the plumbing is broken.
- Aggressive revenue recognition: long-term contracts booked upfront, bill-and-hold arrangements, related-party sales.
- Executive churn, especially CFOs departing abruptly.
- Rising debt funding buybacks or dividends the business cannot afford from cash flow.
- Complexity with no obvious purpose: layered subsidiaries, off-balance-sheet entities, opaque segment reporting. Complexity is sometimes necessary; it is also where problems hide.
Which 10-K sections to actually read
A 10-K (the annual report filed with the SEC) can run hundreds of pages, and much of it is boilerplate. Prioritize:
- Business (Item 1): how the company actually makes money, segments, customers, competition. Read this first for any company you do not know well.
- Risk Factors (Item 1A): mostly legal boilerplate, but the company-specific risks near the top, and any risk newly added versus last year, are signal.
- Management's Discussion and Analysis (Item 7): management's own explanation of why the numbers moved. Compare their explanation to what the numbers say.
- Financial statements and notes (Item 8): the notes are where the bodies are buried: revenue recognition policy, debt maturities, lease obligations, litigation, segment detail, stock compensation.
- The proxy statement (filed separately, DEF 14A): executive pay structure tells you what management is actually incentivized to do, which often explains behavior better than any strategy slide.
A useful habit: read this year's 10-K side by side with the one from three or four years ago. Promises made then versus results delivered now is one of the best cheap tests of management credibility.
Earnings calls
Quarterly earnings calls have two halves. Prepared remarks are scripted and lightly informative. The Q&A is where you learn things: which questions management answers directly, which they deflect, and whether their tone matches their numbers. Over several quarters, patterns emerge. Managements that consistently guide conservatively and beat are behaving differently from managements that stretch every quarter to hit a number.
Transcripts are freely available and faster than audio. But keep quarterly information in its place: a business's value comes from decades of cash flows, and a single quarter almost never changes that materially, even though prices react as if it does. The gap between how much prices move on earnings and how little long-term value changed is where patient investors either profit or panic.
Why most pros underperform indexes
Here is the uncomfortable ending to a guide about stock picking. Long-running scorecards, such as the SPIVA reports comparing active funds to their benchmarks, consistently find that a large majority of professional stock pickers underperform their index over 10 to 15 year periods, commonly in the range of 80 to 90% of funds depending on category and period. These are full-time professionals with teams, data, and management access, doing everything in this guide and more.
Why is it so hard?
- The market is a hard opponent. The current price already reflects the aggregated analysis of thousands of smart, informed participants. To outperform, you must not just be right, you must be right about something the market has wrong, and you rarely get told which it is.
- Costs compound against you. Fees, trading costs, and taxes are certain; outperformance is not. A 1% annual fee consumes roughly a quarter of your final wealth over 30 years.
- Returns are concentrated. Research on long-run US stock returns (notably work by Hendrik Bessembinder) finds that a small percentage of all stocks account for essentially all net wealth creation above Treasury bills. Miss those few, and a diversified picker underperforms even with decent average judgment. An index holds them by construction.
- Behavior. Even skilled analysts buy high in euphoria and sell low in panic. The next guides in this series cover exactly that.
None of this means analysis is worthless. Understanding businesses makes you a better and calmer investor even if your money sits mostly in index funds, and some investors do choose to run a small satellite of individual positions around an indexed core, treating it honestly as an expensive education. What the evidence does say is this: assume by default that you will not beat the market, and make sure your financial plan works even if that turns out to be true.
Everything on this page is education, not investment advice, and the companies and numbers in the examples are invented for illustration. Nothing here is a recommendation to buy or sell any security.