How to do a basic fundamental analysis of a stock

Fundamental analysis is the process of evaluating the real value of a company based on its financial data — not its market price. The goal is to answer three questions: is this company good? Is it cheap or expensive? Does it have a durable competitive advantage? When all three answers are positive, you have the conditions for a strong long-term investment.

  • Start with historical ROE (5–10 years): is the company efficient and consistent?
  • Then P/E: is it expensive relative to current and expected earnings?
  • Check leverage: high ROE with Debt/Equity above 1 may be artificially inflated
  • Identify the moat: what prevents competitors from replicating those results?
  • Calculate a margin of safety: don't pay full price for a great company — buy at a discount
  • Fundamental analysis is for long-term investors; it doesn't predict short-term price movements

Step 1: Get the financial data

The data you need is freely available. On TradingView: search the ticker → "Financials" tab → Ratios. You'll find P/E, P/B, ROE, and Debt/Equity. For historical series (5–10 years), use Macrotrends.net. For official source data, use the annual reports (10-K for US companies) published in the investor relations section of any listed company's website. Having 5–10 years of history is far more valuable than a single year's snapshot.

Step 2: The 4 essential metrics

P/E (valuation): how many years of current earnings are you paying? P/E of 15 means you're paying 15 years of profits at today's price. — ROE (quality): what return does the company generate on shareholders' equity? Sustained ROE above 15% signals competitive advantage. — P/B (book value): at what multiple of net assets does it trade? Most relevant for banks and asset-heavy industries. — Debt/Equity: how leveraged is the balance sheet? High debt can inflate ROE and makes the company fragile in downturns.

Step 3: Compare with sector and history

A P/E of 25 can be cheap for a high-growth tech company and expensive for a mature utility. Always compare metrics with: (a) direct peers in the same sector, (b) the company's own historical range (is it cheap or expensive relative to itself?), and (c) benchmark indices. A company with P/E 20, ROE 18%, P/B 2.5, and Debt/Equity below 0.5 is objectively solid in almost any sector — but sector context is always required.

Step 4: Evaluate the competitive moat

Financial metrics show historical results; the competitive moat explains whether those results are sustainable. A 20% ROE maintained for 10 years in a competitive industry suggests the company has something rivals can't easily replicate: a recognized brand (Coca-Cola, Apple), network effects (Visa, Mastercard, Meta), high customer switching costs (Microsoft, Salesforce), or cost advantages from scale (Amazon, Costco). Without a moat, an exceptional company today can be mediocre tomorrow.

Step 5: Calculate a margin of safety

Even an excellent company can be a bad investment if bought at too high a price. The margin of safety is the gap between your estimated intrinsic value and the current market price. If you estimate the company is worth €50 and it trades at €35, you have a 30% margin of safety. The larger the margin, the lower the risk of permanent capital loss. Simple valuation methods: apply a reasonable sector P/E multiple to next year's estimated EPS, or use a discounted earnings model. Never pay a full-value price for even a great company.

What fundamental analysis does NOT tell you

Fundamental analysis tells you whether a company is good and approximately what it's worth — it doesn't tell you when the stock will rise. An excellent company can take years to be recognized by the market, or can fall 30% in a market panic despite unchanged business fundamentals. Fundamental analysis is a tool for long-term investing (3–10+ years), not for trading. It also has limits: it doesn't detect well-executed accounting fraud, doesn't foresee radical technological disruptions, and doesn't fully capture the value of intangible assets like brand loyalty or proprietary data. Necessary but not sufficient.

Frequently asked questions

What is fundamental analysis?

Studying a business, its financial statements and its value to judge whether its share price is reasonable.

Which metrics are essential?

Revenue and earnings growth, margins, ROE or ROIC, debt, free cash flow and valuation (P/E, P/B).

Where can I find the data?

In annual reports and investor relations pages, regulatory filings and financial data platforms.

What is a margin of safety?

Buying below your estimate of value, so you have a cushion if your assumptions are wrong.

Read further

  • The Intelligent Investor (Benjamin Graham). It gives you: The origin of the margin of safety and of using the market rather than following it.
  • Common Stocks and Uncommon Profits (Philip A. Fisher). It gives you: Teaches you to judge the quality of a business and its management, which ratios do not show.
  • One Up On Wall Street (Peter Lynch). It gives you: The most accessible way into analysing individual companies.