Framework · February 2026
Stock Analysis Template: The Complete Framework for Evaluating Any Stock
Professional investors do not wing it. They follow a repeatable, structured process every time they evaluate a stock. This guide gives you the exact stock analysis template used by equity research analysts -- covering DCF valuation, comparable company analysis, financial ratio analysis, and competitive moat scoring. Whether you build your own stock analysis spreadsheet from scratch or use a ready-made fundamental analysis template, the framework below will transform how you research investments.
What This Guide Covers
- What a Stock Analysis Template Actually Is
- Why You Need a Structured Framework
- The Six Core Components of a Professional Stock Analysis Template
- Building a DCF Model Template from Scratch
- Comparable Company Analysis (Comps)
- Financial Ratio Analysis Framework
- Competitive Moat Scoring System
- Risk Assessment Matrix
- Technical Confirmation Layer
- How to Build Your Own Stock Analysis Spreadsheet
- Common Mistakes That Ruin Stock Analysis
- Putting the Complete Framework Together
What a Stock Analysis Template Actually Is
A stock analysis template is a standardized document or spreadsheet that walks you through every critical dimension of evaluating a company before investing. Think of it as a pre-flight checklist for your money. Instead of relying on gut feelings, headlines, or social media hype, you systematically evaluate the business, its financials, its competitive position, and its valuation.
A good fundamental analysis template typically includes sections for business overview, financial statement analysis, valuation models (like a DCF model template), competitive positioning, and risk assessment. The best templates are opinionated -- they force you to answer hard questions and assign scores so you can compare opportunities objectively.
Whether you are a value investor hunting for underpriced assets, a growth investor evaluating SaaS metrics, or a dividend investor assessing payout sustainability, the underlying framework is remarkably similar. The specific ratios and thresholds change, but the structure stays the same.
Why You Need a Structured Framework
Most retail investors skip stock analysis entirely. They read a bullish Reddit post, check if the stock price has been going up, and buy. This is not investing -- it is gambling with extra steps. A stock analysis spreadsheet solves three critical problems:
- Eliminates emotional bias. When you follow a template, you evaluate every stock with the same rigor. You cannot skip the risk section just because you are excited about a company.
- Creates comparability. After analyzing ten stocks with the same framework, you can objectively compare them. Which one scores highest on moat? Which has the best FCF yield? Which has the widest margin of safety in the DCF?
- Builds institutional memory. Your completed analysis templates become a library. When a stock drops 30% and everyone panics, you can revisit your original analysis and determine whether the thesis has actually changed or if the market is just being emotional.
- Speeds up the process. A blank page is intimidating. A fundamental analysis template with pre-defined sections, formulas, and prompts lets you evaluate a stock in 30 to 60 minutes instead of hours.
The Six Core Components of a Professional Stock Analysis Template
Every serious equity research process covers six areas. Miss any one of them and you have a blind spot that can cost you money. The sections below break down each component in detail, with the formulas and frameworks you need to build your own stock analysis spreadsheet.
Component 1: Business Overview
Before touching a single number, understand what the company actually does. This sounds obvious, but a shocking number of investors cannot explain the revenue model of the companies in their portfolio. Your stock analysis template should start with these questions:
- What products or services does the company sell? Who buys them?
- How does the company make money? Subscriptions, one-time sales, advertising, licensing, transaction fees?
- What is the revenue breakdown by segment and geography?
- What stage is the company in? Hyper-growth, mature, turnaround, or declining?
- Who are the top three competitors and what differentiates this company?
- What is management's track record? Insiders buying or selling?
The best primary source is the company's most recent 10-K filing, specifically Section 1 (Business) and the Management's Discussion and Analysis (MD&A). Earnings call transcripts fill in the nuance. If you cannot explain the business model in two sentences after reading these, the company may be too complex for your circle of competence.
Component 2: Building a DCF Model Template
A Discounted Cash Flow (DCF) model is the gold standard of intrinsic valuation. It estimates what a stock is worth based on the present value of its future free cash flows. Every serious fundamental analysis template includes a DCF section. Here is how to build one:
Step 1: Project Free Cash Flows
Start with the company's current free cash flow (operating cash flow minus capital expenditures). Project it forward 5 to 10 years based on revenue growth assumptions and expected margin trends. The key inputs in your DCF model template:
- Revenue growth rate for each year (declining over time as the company matures)
- Operating margin assumptions (expanding, stable, or contracting?)
- Capital expenditure as a percentage of revenue
- Working capital changes
- Tax rate
Step 2: Select a Discount Rate
The discount rate reflects the required rate of return and the riskiness of the cash flows. Most analysts use the Weighted Average Cost of Capital (WACC). For a quick stock analysis spreadsheet, use 8-10% for large-cap stable businesses and 10-15% for smaller or riskier companies.
Step 3: Calculate Terminal Value
After your projection period ends, you need a terminal value to capture all future cash flows beyond year 10. The perpetuity growth method is the most common:
Terminal Value = Final Year FCF x (1 + g) / (WACC - g) Where: g = long-term growth rate (typically 2-3%, roughly GDP growth) WACC = your discount rate Example: Final Year FCF = $5 billion g = 2.5% WACC = 9% Terminal Value = $5B x 1.025 / (0.09 - 0.025) = $78.8 billion
Step 4: Discount to Present Value
Discount each projected FCF and the terminal value back to today using the discount rate. Sum them up, subtract net debt, and divide by shares outstanding. That is your intrinsic value per share.
The Critical Step Most People Skip: Scenario Analysis
A single-scenario DCF is just a guess dressed up in math. Your DCF model template must include at least three scenarios:
- Bear case: Revenue growth disappoints, margins compress, discount rate is higher.
- Base case: Management guidance is roughly met, margins stable.
- Bull case: Growth accelerates, margins expand, optionality plays out.
If the current stock price is below your bear case, you have a significant margin of safety. If it is above your bull case, the market is pricing in perfection.
The Stock Analysis Toolkit ($19) includes a fully built DCF model template with three-scenario analysis, sensitivity tables for discount rate and growth assumptions, and automatic intrinsic value calculation. It handles the math so you can focus on getting the assumptions right -- which is where all the real analytical work lives.
Component 3: Comparable Company Analysis (Comps)
A DCF tells you what a stock should be worth in theory. Comparable company analysis tells you what the market is currently willing to pay for similar businesses. Together, they give you a much more robust valuation picture. Your stock analysis spreadsheet should include a comps table with these columns:
| Multiple | Formula | Best For |
|---|---|---|
| P/E | Price / Earnings per Share | Profitable, mature companies |
| EV/EBITDA | Enterprise Value / EBITDA | Capital-intensive businesses; ignores capital structure |
| EV/Revenue | Enterprise Value / Revenue | High-growth, pre-profit companies (SaaS) |
| P/FCF | Price / Free Cash Flow per Share | Cash-generative businesses |
| PEG | P/E / Earnings Growth Rate | Comparing growth companies fairly |
The process: identify 4-6 companies in the same industry with similar business models. Calculate each multiple for every company. Find the median. Then compare your target company's multiples to the peer group median. If your stock trades at 15x EV/EBITDA while peers average 20x, either the market is undervaluing it or the company deserves a discount for a good reason.
A common mistake is comparing across sectors. A 30x P/E is expensive for a bank but potentially cheap for a high-growth SaaS company. Always compare within the same industry.
Component 4: Financial Ratio Analysis Framework
Ratios turn raw financial statements into actionable insights. Your fundamental analysis template should track these across at least three to five years, because the trend matters far more than any single data point.
Profitability Ratios
| Ratio | Formula | What It Reveals |
|---|---|---|
| Gross Margin | Gross Profit / Revenue | Pricing power and cost of goods |
| Operating Margin | Operating Income / Revenue | Operational efficiency after overhead |
| Net Margin | Net Income / Revenue | Bottom-line profitability after everything |
| ROE | Net Income / Shareholder Equity | Returns generated on owner capital |
| ROIC | NOPAT / Invested Capital | Returns on all capital deployed (the best single metric) |
Balance Sheet Health Ratios
| Ratio | Formula | What It Reveals |
|---|---|---|
| Debt/Equity | Total Debt / Total Equity | Financial leverage and bankruptcy risk |
| Current Ratio | Current Assets / Current Liabilities | Short-term liquidity (above 1.5 is healthy) |
| Interest Coverage | EBIT / Interest Expense | Ability to service debt (below 3x is a red flag) |
| FCF Yield | Free Cash Flow / Market Cap | Cash generation relative to what you pay |
The power of ratio analysis is in the trend. A company with a 15% operating margin that has expanded from 10% over three years is a very different proposition than one at 15% that has compressed from 20%. Your stock analysis spreadsheet should chart these ratios over time, not just show the latest number.
Component 5: Competitive Moat Scoring System
Warren Buffett popularized the concept of economic moats -- durable competitive advantages that protect a company's profits from erosion. A strong moat means the company can sustain above-average returns on capital for years or decades. Without one, profits will get competed away. Your fundamental analysis template should score each of the five moat types on a 1 to 5 scale:
MOAT SCORECARD ═══════════════════════════════════════════ Moat Type | Score (1-5) | Evidence ═══════════════════════════════════════════ Network Effects | /5 | Switching Costs | /5 | Cost Advantages | /5 | Intangible Assets | /5 | Efficient Scale | /5 | ═══════════════════════════════════════════ Total Moat Score | /25 | ═══════════════════════════════════════════ Scoring Guide: 20-25: Wide moat (exceptional competitive position) 14-19: Narrow moat (some protection, but not bulletproof) Below 14: No moat (profits vulnerable to competition)
Network effects: The product becomes more valuable as more people use it. Visa, Meta, and Airbnb are classic examples. Score high if the product fundamentally improves with each additional user.
Switching costs: It is expensive, time-consuming, or risky for customers to switch to a competitor. Salesforce, Adobe, and enterprise software companies score well here because migration costs are enormous.
Cost advantages: The company produces goods or services at a structurally lower cost than competitors due to scale, proprietary processes, or resource access. Costco, TSMC, and Amazon fulfillment are examples.
Intangible assets: Patents, brands, regulatory licenses, or proprietary data that competitors cannot easily replicate. Pfizer's drug patents, Disney's IP library, and S&P Global's credit rating designation all qualify.
Efficient scale: The addressable market is only large enough to support a limited number of profitable competitors. Railroads, utilities, and certain defense contractors operate in efficient-scale markets.
If your total moat score falls below 14, the company likely has no durable competitive advantage. That does not mean it is a bad investment, but you should demand a significantly cheaper valuation to compensate for the higher risk of margin erosion.
Component 6: Risk Assessment Matrix
Every stock analysis template must include a section that forces you to articulate risks before buying. Investors are naturally optimistic about their picks -- the risk section is the antidote. Categorize risks into three buckets and rate each on likelihood and impact:
- Company-specific risks: Management turnover, key customer concentration, product pipeline failures, debt maturity schedule, accounting red flags, insider selling patterns.
- Industry risks: Regulatory changes, technological disruption (AI replacing the core product), new entrant threats, cyclicality, supply chain fragility.
- Macro risks: Interest rate sensitivity, recession impact on demand, currency exposure, geopolitical factors, commodity price dependence.
For each identified risk, write one sentence answering: "If this risk materializes, what happens to my investment thesis?" This simple exercise frequently reveals that a seemingly cheap stock is cheap for a reason.
Bonus Layer: Technical Confirmation
Fundamental analysis tells you what to buy. Technical analysis helps with when to buy. After completing your stock analysis template, check the technical picture before entering a position:
- Is the stock trading above or below its 50-day and 200-day moving averages?
- What does the RSI say? Buying into overbought conditions (RSI above 70) often leads to immediate drawdowns.
- Are there MACD bullish crossovers or Bollinger Band squeezes suggesting a move is coming?
- Is there a support level nearby that offers a natural stop-loss point?
The MarginLab automates this step. While the API is primarily focused on crypto, you can submit any asset's OHLCV data via the POST endpoint and get full indicator analysis (RSI, MACD, Bollinger Bands, moving averages, composite signal) in seconds. For a deeper dive into technical analysis with AI, see our guide on AI-powered crypto technical analysis.
How to Build Your Own Stock Analysis Spreadsheet
If you prefer to build your own stock analysis spreadsheet from scratch, here is the recommended tab structure:
- Overview tab: Company name, ticker, sector, market cap, current price, your thesis in two sentences. This is your dashboard.
- Financial statements tab: Income statement, balance sheet, and cash flow statement for the last 5 years. Pull from SEC filings or a data provider.
- Ratio analysis tab: Auto-calculated ratios from the financial statements. Chart each ratio over time. Highlight any that are trending in the wrong direction.
- DCF model tab: Your DCF model template with three scenarios, sensitivity tables, and automatic intrinsic value per share output.
- Comps tab: 4-6 peer companies with valuation multiples side by side. Include median row and premium/discount calculation for your target.
- Moat scorecard tab: The five moat types with scores, evidence, and total.
- Risk matrix tab: All identified risks categorized, rated, and with thesis impact notes.
- Decision tab: Final verdict -- buy, hold, or pass. Target price, stop-loss level, position size, and review date.
Building this from scratch typically takes 10-15 hours to get the formulas, formatting, and structure right. If you want to skip straight to analyzing stocks instead of building spreadsheets, the Stock Analysis Toolkit includes all of this pre-built with formulas, conditional formatting, and example analyses you can reference.
Common Mistakes That Ruin Stock Analysis
Even with a great stock analysis template, these pitfalls can destroy your returns:
- Anchoring to the stock price instead of intrinsic value. A stock that dropped from $200 to $100 is not automatically "cheap." It is only cheap if your DCF model template outputs an intrinsic value significantly above $100. Price and value are different things.
- Using trailing data for a forward-looking decision. A trailing P/E of 10x looks cheap until you realize earnings are about to collapse. Always think about what the company will earn going forward, not just what it earned last year.
- Ignoring the balance sheet. Revenue and earnings get all the attention, but the balance sheet tells you whether the company can survive a downturn. Companies with 5x debt-to-equity and thin interest coverage can go to zero even if the underlying business is decent.
- Skipping the moat analysis. High current margins without a moat are a trap. Competitors will enter, prices will fall, and margins will revert to the industry average. The moat is what separates a value trap from a value opportunity.
- Confirmation bias in research. If you start your analysis already wanting to buy, you will subconsciously dismiss risks and inflate growth assumptions. Assign a devil's advocate role: after completing your bullish analysis, write the bear case as if you were short the stock.
- Over-engineering the DCF. A DCF model with 50 input variables is not more accurate than one with 10. The output is only as good as the assumptions, and beyond a handful of key drivers, additional complexity adds false precision without improving accuracy.
- Forgetting to set a review date. Your analysis has a shelf life. Earnings reports, management changes, and macro shifts can invalidate your thesis. Set a calendar reminder to re-evaluate every quarter.
Putting the Complete Framework Together
Here is the complete stock analysis workflow from start to finish:
- Understand the business model, revenue drivers, and competitive landscape.
- Analyze 3-5 years of financial ratios for health, profitability, and trend direction.
- Score the competitive moat across all five dimensions.
- Build a DCF model with bear, base, and bull scenarios to determine intrinsic value.
- Run comparable company analysis to see how the market prices similar businesses.
- Catalog and rate all material risks across company, industry, and macro categories.
- Check the technical picture for entry timing.
- Make a decision: buy, hold, or pass. Record your target price, stop-loss, and position size.
- Set a quarterly review date to reassess the thesis.
This process takes discipline, but after using this stock analysis template for a few months, you will notice something powerful: your conviction in positions is higher, your impulse trades drop to nearly zero, and you start seeing opportunities that others miss because they never did the work.
If you want to accelerate the process further, the AI Trading Prompts Pack includes prompt templates specifically designed for fundamental stock research. Feed a company's financials into any major LLM with these prompts and get structured analysis output covering each step of the framework above. It pairs well with the Stock Analysis Toolkit for a hybrid human-plus-AI research workflow.
For traders who also want to automate the technical side, check out our guide on building a Python trading bot and explore the full range of tools in the MarginLab Store.
Get the Complete Stock Analysis Toolkit
Stop building spreadsheets from scratch. The Stock Analysis Toolkit includes everything covered in this guide -- pre-built and ready to use:
- DCF model template with three-scenario analysis and sensitivity tables
- Financial ratio dashboard with 5-year trend tracking
- Comparable company analysis worksheet
- Moat scorecard with scoring guide
- Risk assessment matrix
- Sector comparison tools and earnings tracker
One-time purchase. Instant download. Lifetime updates. $19.
Related Guides
Disclaimer: This content is for informational and educational purposes only. It is not financial advice. Investing in stocks involves risk of loss. Always do your own due diligence and consult a licensed financial advisor before making investment decisions. Past performance does not guarantee future results.