Two stocks, one honest question: which costs less per dollar of profit? Enter the share price and earnings per share for each and compare P/E ratios and earnings yields side by side — the way analysts actually use the ratio.
Answer first: a P/E ratio only becomes useful when it's compared with something. This P/E comparison calculator computes price ÷ earnings-per-share for two stocks at once, flips each into an earnings yield, and states plainly which company trades cheaper per dollar of current profit — the comparison that a single P/E, floating alone, can't give you.
P/E = Price ÷ EPS · Earnings yield = EPS ÷ Price × 100
Example: Stock A at $60 with $4 EPS → P/E 15, earnings yield 6.7%. Stock B at $200 with $8 EPS → P/E 25, yield 4.0%. Per dollar of profit, A is the cheaper claim — B's buyers are paying up, presumably for faster growth.
The share price alone tells you nothing: a $200 stock can be "cheaper" than a $60 one. P/E fixes the units by pricing a dollar of annual earnings. At P/E 15 you pay $15 for each $1 of yearly profit; at P/E 25 you pay $25 for the same dollar. Side by side, the comparison instantly reframes the decision from "which price is lower?" to "which earnings stream is on sale — and is the discount deserved?"
Inverting the ratio turns valuation into an interest rate. P/E 15 = 6.7% earnings yield; P/E 25 = 4.0%. Now stocks can be compared against each other and against the 10-year Treasury or a savings account — one reason value investors (and the "Fed model" crowd) love this form. Remember the difference from a dividend yield though: earnings belong to the company, and only a slice may be paid out to you — check the payout ratio for that slice.
First, stay inside the industry. Software habitually trades at double the market's P/E while banks trade below it; comparing a chipmaker to a supermarket tells you about their industries, not their value. Second, match the earnings basis — trailing-twelve-month EPS for both, or forward estimates for both, never mixed; also watch for one-off gains and write-offs distorting a single year. Third, account for growth: a P/E of 25 growing earnings 20% a year can be far cheaper, properly viewed, than a P/E of 12 that's shrinking. That adjustment has its own tool — the PEG ratio calculator divides P/E by growth to level that field.
Negative EPS makes P/E meaningless (this calculator says so rather than printing a nonsense negative ratio); cyclical earnings at a peak make a low P/E deceptively comforting — steel and airline stocks look "cheapest" right before profits collapse. And a persistent, dramatic P/E discount to peers is as often a warning as a bargain: the market may know something about debt, lawsuits or dying demand. Treat "cheaper" as the beginning of research — the question is always why it's cheaper.
Reality check: P/E comparisons use accounting earnings, ignore growth, debt and quality differences, and say nothing about what a business is intrinsically worth. Educational calculator only, not financial advice. Verify EPS in official filings via the SEC's EDGAR at sec.gov.
Go deeper with the single-stock P/E ratio calculator, the growth-adjusted PEG ratio, the concept explainer what is the P/E ratio?, the EPS calculator for the denominator, and growth vs value investing for the philosophy behind the numbers.
Last updated July 2, 2026 · Written by Mustafa Bilgic. Educational only — not financial advice.
Compute each stock's P/E (share price ÷ earnings per share) and put them side by side: the lower P/E costs less per dollar of current profit. A $60 stock earning $4 (P/E 15) is cheaper per earnings dollar than a $200 stock earning $8 (P/E 25) — even though its share price is lower in absolute terms too.
Earnings yield is the P/E flipped upside down: EPS ÷ price × 100. A P/E of 15 equals an earnings yield of 6.7% — the company earns 6.7 cents per year for every dollar of share price. It reads like an interest rate, which makes comparing stocks against bonds intuitive.
No. A lower P/E means cheaper per dollar of CURRENT earnings, but the market may be pricing slower growth, higher risk or fading profits. Fast growers often deserve higher P/Es; a cheap-looking stock can be a value trap. Use the comparison as a starting question, not a verdict.
P/E is meaningless with negative EPS — the calculator reports it as not meaningful rather than showing a negative ratio. For loss-making companies, analysts use price-to-sales, price-to-book or forward earnings estimates instead.