How do I compare two stocks?
Line them up on the same handful of measures: what you pay (P/E, price to sales), how profitable they are (net margin, return on equity), how fast they grow and what they pay out. Then ask why the numbers differ. In the captured provider snapshot, JPMorgan Chase has a P/E of 14.08 and Visa 34.72. JPMorgan’s net margin is 34.59% and Visa’s is 50.78% in this snapshot. The two firms have different business models; these ratios alone do not explain their price differences. Numbers start the comparison. The business explains them.
Key points
- Four questions. Cost, profit, growth, payout.
- P/E. Price ÷ earnings per share.
- Net margin. Net income ÷ revenue.
- Context. Compare within the same industry.
- Why. A cheap number is a question, not an answer.
- Real data. Use the company’s 10-K.
2 minute lesson, optionalWhich is cheaper, really ?Guess first, see the answer, then try it yourself. Five quick steps. You can skip it any time. Play the lessonClose the lessonOpen
Your path
Do today’s challenge, then tap Up next.
Stock comparison tool
Step 1 of 5
Which is cheaper relative to its earnings?
Tap a guess. Wrong guesses cost nothing.
Free · No signup · 2 minutes · Revision review pending · Updated
Step 2 of 5
Next: try it yourself.
Step 3 of 5
Your turn
Step 4 of 5
What if you changed one thing?
Tap a change to see what it does to .
Step 5 of 5
Tap an answer. You see why either way.
Lesson complete
More
Learn it in 4 short parts
Each part answers one question. Open any part. Tap Got it when you are done.
What each row meansWhat does each row in a stock comparison measure?
Cost, profit, growth, payout. Compare companies on all four, not one.
Six numbers cover four questions: what does it cost, how profitable is it, how fast is it growing, and what does it pay out.
The six measures
| Measure | How it is calculated | What it tells you |
|---|---|---|
| P/E ratio | Share price ÷ earnings per share | Dollars paid for each dollar of yearly profit |
| Price to sales | Market value ÷ yearly revenue | Useful when profits are small or uneven |
| Return on equity | Net income ÷ shareholders’ equity | Profit made on the owners’ money |
| Net margin | Net income ÷ revenue | Cents of profit from each dollar of sales |
| Revenue growth | Change in yearly sales | How fast the business is getting bigger |
| Dividend yield | Yearly dividend ÷ share price | Cash returned to shareholders |
Why can return on equity look extreme?
Companies that buy back a lot of stock can shrink their equity on paper, which pushes return on equity very high. Apple’s captured provider figure is 148.75%. That reflects its balance sheet as much as its profitability, so read it alongside net margin.
Why does P/E stop working for some companies?
P/E divides the share price by earnings per share. When earnings are tiny, the ratio balloons; when the company loses money, it turns negative and means nothing. A stock at $50 earning $2.50 a share has a P/E of 20. If earnings slip to $0.50, the same $50 price gives a P/E of 100, even though nothing about the price changed.
That is why the table also shows price to sales. Revenue is rarely negative, so the ratio still works for young or struggling companies. A company worth $20 billion with $5 billion of yearly sales trades at 4 times sales. The tradeoff: sales are not profit. A business can sell a lot and keep very little, so pair price to sales with net margin.
One more trap. P/E uses one year of earnings, and a single unusual year can make a company look cheap or expensive. Before reading much into it, check whether earnings in that year were normal for the business.
Cost, profit, growth, payout. Compare companies on all four, not one.
Marks part 1 of 4 done and opens the next one.
Reading a comparisonHow do I read a stock comparison table?
A cheap number is a question, not an answer. Find out why it is cheap.
The goal is not to find the lowest or highest number. It is to understand why the numbers differ.
A worked comparison
| Measure | Nvidia | Tesla |
|---|---|---|
| P/E ratio | 28.07 | 357.99 |
| Net margin | 63.66% | 3.67% |
| Revenue growth | 83.38% | Not available (period mismatch) |
| Dividend yield | 0.45% | Not available |
In this snapshot Tesla’s P/E is much higher while its net margin is lower. That numerical difference does not establish which is a better investment. Tesla’s growth value is withheld because the provider pages reflect different earnings updates; open the linked sources and align the periods before drawing a conclusion.
What questions should I ask?
- Are these companies in the same industry? Banks and software firms normally have very different numbers.
- Which differences are big, and what explains them?
- Are the numbers improving or getting worse over several years?
- What would have to go right, or wrong, for each company?
How do I know if a number is high for its industry?
Compare it with the industry, not with the whole market. In Aswath Damodaran’s January 2026 data, the total U.S. market had a net margin of about 9.74%, while regional banks averaged 27.49% and system and application software firms 25.49%.5 A grocer with a 3% margin is not failing, and a software company with 10% might be lagging its peers.
Return on equity works the same way. The same data put the total market at about 17.21%.6 A figure far above that, like the 148.75% in Apple’s captured snapshot, usually tells you something about the balance sheet, such as large buybacks shrinking equity, as much as about the business.
So the order of work is: compare a company with its own past, then with close peers, and only then with companies in other industries. A bank whose margin slipped from 30% to 22% over three years tells you more than the fact that it still beats the market average. Direction often matters as much as level.
A cheap number is a question, not an answer. Find out why it is cheap.
Marks part 2 of 4 done and opens the next one.
Before you trust itWhat should I know before trusting the numbers?
Practice the method here. Use current filings for real decisions.
This tool stores a real-company snapshot captured October 22, 2026. It does not refresh market data when you press Compare. Company reporting periods and provider update times differ.
What are the limits?
- Fixed snapshot values. No live data is fetched. Real figures change every quarter.
- Ten companies only. The tool covers ten well known U.S. companies.
- Labels are arithmetic. Lowest and highest marks compare numbers, not investment quality.
- One period. A single year can mislead. Look at trends in the company’s annual reports.
Get the current picture. The AI fundamental analysis assistant walks through a real company’s latest revenue, margins, debt and cash flow.
Open the fundamentals assistantHow do I work out these numbers myself?
Every row comes from two places: the company’s annual report and today’s share price. Search the company on EDGAR, open the latest Form 10-K, and go to the income statement and balance sheet.4 The SEC’s guide points out that these statements are audited, so start there rather than with a summary on a website.3
- Net margin: net income $12 billion ÷ revenue $80 billion = 15%.
- Return on equity: net income $12 billion ÷ shareholders’ equity $60 billion = 20%.
- Revenue growth: $80 billion this year against $72 billion last year is about 11.1%.
- P/E: a $90 share price ÷ $4.50 earnings per share = 20.
Do the same for the prior two or three years, which the 10-K also reports, and you have a trend instead of a snapshot. If your result differs from a website’s, the usual reasons are a different period, such as the last four quarters instead of the fiscal year, or adjusted earnings in place of reported ones.
Practice the method here. Use current filings for real decisions.
Marks part 3 of 4 done and opens the next one.
Watch outThree mistakes to avoid, and what to do instead
Common slips and what to do instead.
- Crowning a winner on one metric The highest dividend yield can signal a falling share price. Read yield, growth, margin and debt together.
- Comparing across industries A bank and a software company have different normal ratios. Compare a company with its own peers.
- Treating the examples as live The figures here are fixed teaching numbers. Use the screener or the filings for current data.
Marks part 4 of 4 done.
Compare Stocks Side by Side FAQ
Tap a question to open the answer.
What does the stock comparison tool do, and is it free?
Compare stocks side by side on key numbers. You choose two to five of the ten listed tickers. You get p/E, margins and growth in one table. It is free to use with no signup. Keep in mind: stored October 22, 2026 snapshot; not live data.
How do you compare two stocks?
Put them on the same measures and ask why they differ. Start with cost (P/E and price to sales), then profitability (net margin and return on equity), growth (revenue growth) and payout (dividend yield). A gap is a question, not a verdict. In the captured provider snapshot, Visa’s P/E is 34.72 and JPMorgan’s is 14.08; their net margins are 50.78% and 34.59%, respectively. These firms have different business models, and the ratios alone do not explain their price differences. Compare within the same industry first, because normal numbers vary a lot between sectors.
What is a good P/E ratio?
No single P/E is good for every stock. The ratio shows how many dollars investors pay for one dollar of yearly profit, so it depends mainly on how fast profits are expected to grow and how reliable they are. A steady utility and a fast growing software firm deserve different multiples. Compare a company’s P/E with its own history and with close peers. A P/E of 15 means paying $15 for each $1 of earnings; whether that is cheap rests on what those earnings do next.
Is a lower P/E always better?
No, and that is a common mistake. A low P/E can mean the market expects profits to shrink, or that the latest year’s earnings were unusually high and unlikely to repeat. A high P/E can be justified when earnings grow fast for many years. Treat a low number as a reason to look closer. Check whether revenue and margins are falling, whether debt is rising, and whether the earnings in the ratio include one time gains.
What is the difference between net margin and return on equity?
Net margin compares profit with sales; return on equity compares profit with the owners’ money in the business. A company with $100 of sales and $10 of profit has a 10% net margin. If shareholders’ equity is $50, its return on equity is 20%. Return on equity can look very high when a company carries a lot of debt or has bought back many shares, since both shrink equity. Read the two together.
Show 4 more questionsShow fewer questions
Is this tool live market data?
No. The tool stores a real-company snapshot captured October 22, 2026; the provider statistics pages were marked October 21. It does not fetch prices or new company results. Reporting periods and update times vary. N/A means unavailable, and META/TSLA growth is withheld where source periods differ. Real ratios change every time a company reports and every time the share price moves. Use the tool to practice reading a comparison, then pull current numbers from the company’s Form 10-K on EDGAR or from your broker before making any decision.
Which companies can I compare in the tool?
The tool covers ten well known U.S. companies: Apple, Microsoft, Alphabet, Amazon, Meta, Nvidia, Tesla, Berkshire Hathaway, JPMorgan Chase and Visa. You can pick between two and five at once. The labels Lowest snapshot and Highest snapshot mark the extreme number in each row among the companies you chose. They are arithmetic, not ratings, so a highest label on P/E simply means investors pay the most per dollar of profit in that group.
Can you compare a bank with a tech company?
You can, but the numbers mean different things. Banks earn a spread on borrowed money and carry far more debt than most businesses, which shapes their return on equity and P/E. Software firms have high margins and little physical equipment. Comparing them on the same row mainly shows that the business models differ. A fairer test puts a bank against other banks and a software company against other software companies, then looks at trends over several years.
Where can I find real financial figures for a company?
In the company’s annual report on Form 10-K and its quarterly reports on Form 10-Q, both free on the SEC’s EDGAR database. Search by company name or ticker, open the latest filing and go to the income statement for revenue and net income and the balance sheet for shareholders’ equity. Dividends per share usually appear in the stock market section. Divide by the current share price, which your broker shows, for P/E and dividend yield.
What should I do next?
Pick the step that fits what you just did.
Who checks this page, and the sources
Real people check the numbers and the wording. Every source is listed.
- Updated
- Sources listed below
- Education, not advice
- Review of this update in progress
Sources and methodEvery source used on this page, how the tool works and the page history.
- FINRA: Evaluating stocks. Common ratios including P/E, and how to use them.
- U.S. Securities and Exchange Commission: Beginners’ guide to financial statements. Where revenue, net income and equity come from.
- U.S. Securities and Exchange Commission: How to read a 10-K. Where the annual figures behind every ratio are reported, and why audited numbers come first.
- SEC: EDGAR full text search. Free search of company filings by name or ticker, for checking current figures.
- Aswath Damodaran, NYU Stern: Operating and net margins by sector (US). Industry net margins as of January 2026, used to show how normal margins differ by industry.
- Aswath Damodaran, NYU Stern: Return on equity by sector (US). Industry and total market return on equity as of January 2026.
How the tool works: it compares two to five of ten real companies using dated snapshot values stored in the tool; no live data is fetched. In each row it labels the lowest or highest available value among the companies chosen. The company snapshot was captured October 22, 2026; provider statistics were marked October 21. N/A values are excluded from lowest/highest labels. META and TSLA growth is withheld because source periods differed. Each result column links its statistics and revenue sources.
Page history. November 27, 2026: page simplified into numbered sections, missing tables restored and the questions reordered. The tool itself has not changed. October 21, 2026: content expanded, sources added and the page reviewed by Associate Professor Charles Lo, CPA, PhD. The tool itself has not changed.
StockEducation provides general education, not personal financial, tax or legal advice. Results are illustrations based on the assumptions you enter, not forecasts or promises of any return. Investing involves risk, including the loss of money you invest.
