Two hypothetical companies each close the week at $60.00 a share. Northgate Software has earned $2.00 per diluted share over the last four quarters. Harbor Industrial has earned $4.00. Same price, yet the market pays 30 times trailing earnings for the first and 15 times for the second. The price-to-earnings ratio is the number that exposes that gap, and it’s useful only once you can see the operating record that produced it.
Both companies are invented for this lesson. Every figure below is hypothetical and was calculated from the inputs shown, so you can rebuild each step yourself.
How the price-to-earnings ratio is built
The ratio divides the share price by earnings per share. This guide uses trailing twelve-month diluted EPS in the main examples: the sum of the last four reported quarters, divided by the share count that includes options and convertible securities. Diluted EPS is the more conservative figure, and it’s the one most data services quote.
For Northgate the arithmetic is $60.00 divided by $2.00, which gives 30. Read it as a price tag. A buyer at $60.00 is paying $30 for every $1 of profit the business reported over the past year. Flip the fraction and you get the earnings yield: $2.00 on $60.00 is 3.33%, against 6.67% for Harbor.
A common misread is to treat 30 as expensive and 15 as cheap on sight. On its own, the multiple records how much the market is willing to pay for one year of reported earnings, and that willingness depends on what investors expect those earnings to become.
Two $60 stocks, two operating records
Here are the last four quarters for each company, set against the same quarters a year earlier. All values are hypothetical.
| Measure | Northgate Software | Harbor Industrial |
|---|---|---|
| Quarterly diluted EPS, oldest to latest | $0.38, $0.45, $0.53, $0.64 | $0.98, $1.00, $1.00, $1.02 |
| Same quarters a year ago | $0.30, $0.33, $0.36, $0.40 | $0.93, $0.95, $0.96, $0.97 |
| Quarterly EPS growth | 26.7%, 36.4%, 47.2%, 60.0% | 5.4%, 5.3%, 4.2%, 5.2% |
| Quarterly sales growth | 20.0%, 25.0%, 30.7%, 39.1% | 3.0%, 3.2%, 2.9%, 3.2% |
| Trailing twelve-month diluted EPS | $2.00 (from $1.39) | $4.00 (from $3.81) |
| Trailing P/E at $60.00 | 30.0 | 15.0 |
Northgate’s record is the kind that quarterly earnings acceleration describes: each quarter’s growth rate beats the one before it, climbing from 26.7% to 60.0%. Sales follow the same path, from 20.0% to 39.1%, which matters because earnings growth backed by revenue is harder to manufacture with cost cuts or a lower tax rate. The business driver in this example is a logistics-planning subscription that added a second module, so existing customers are paying more while new ones sign up.
Harbor makes industrial valves. Its growth sits near 5% because volumes are steady and price increases roughly track costs. Trailing EPS rose from $3.81 to $4.00, a 5.0% gain, while Northgate’s rose 43.9%.
Put the two records next to each other and the multiples start to look like descriptions. The market pays 30 times for a company whose earnings are compounding quickly, and 15 times for one whose earnings are stable. Neither number is a verdict. A trader looking at the higher multiple might ask whether the acceleration is still running, since a 30 multiple leans on growth continuing. Sales acceleration is often the first place a slowdown shows.
When the P/E rises while the price stays flat
Now hold Northgate’s share price at $60.00 and change only the earnings. Suppose the next quarter brings a restructuring charge large enough to produce a reported loss of $0.12 per diluted share. The trailing window rolls forward: the oldest quarter, $0.38, drops out and the new $0.12 loss comes in.
The new trailing EPS is $0.45 plus $0.53 plus $0.64 minus $0.12, which is $1.50. Divide $60.00 by $1.50 and the trailing P/E is 40.0.
Nothing about the stock moved. The multiple rose 33.3% because the denominator fell 25.0%. This is the mechanical point beginners miss most often: a rising P/E can come entirely from shrinking earnings, with buyers paying not one cent more per share. A screen that flags “P/E expanded from 30 to 40” can’t tell you which side of the fraction changed. You have to look.
The reverse works the same way. Earlier in the year, before Northgate reported its latest $0.64 quarter, trailing EPS was $1.76 (last year’s $0.40 fourth quarter plus $0.38, $0.45 and $0.53). At a $56.80 close that was a trailing P/E of 32.3. After the report the stock was higher, at $60.00, and the multiple was lower, at 30.0. Earnings grew faster than the price, so the stock got cheaper on this measure while it went up.
Reported trailing EPS and estimated forward EPS
Every P/E needs a label, because the denominator can be one of two very different numbers.
- Reported trailing EPS is history. It’s the sum of four quarters the company has already filed. In this guide Northgate’s reported trailing EPS is $2.00 and Harbor’s is $4.00.
- Estimated forward EPS is a forecast, usually an analyst consensus for the next four quarters or the next fiscal year. Suppose the hypothetical estimated forward EPS is $2.60 for Northgate and $4.20 for Harbor.
On those estimates, Northgate’s forward P/E is 23.1 and Harbor’s is 14.3. The gap between the two companies narrows from 30.0 against 15.0 to 23.1 against 14.3 because Northgate’s estimate assumes far more growth. That’s the trap in a quoted forward multiple. It looks lower and calmer, yet it rests on numbers nobody has reported. If Northgate grows more slowly than the estimate, the forward P/E was flattering the stock all along.
The restructuring example shows the other side. The $0.12 reported loss pushes the trailing P/E to 40.0, while an estimate that excludes the one-time charge might barely move. Two articles quoting “Northgate’s P/E” could then show 40 and 23 for the same stock on the same day. Whenever a multiple appears, check whether it’s trailing or forward, reported or adjusted.
Earnings dates on a weekly chart
Valuation numbers change on earnings dates, and so does price. The weekly chart below follows Northgate over 24 hypothetical weeks. The company reported in week 4 and again in week 17. Both releases bring new information into a single bar.

The week-4 report showed the third straight quarter of faster EPS growth, 47.2%. The stock opened that week at $50.10, above the prior close of $48.30, and closed at $52.60, a weekly gain of 8.9%. Two weeks later it set a high of $57.40 in week 6, and that high became the top of the base. Over the next four weeks price slipped to a low of $49.90 in week 10, a correction of 13.1% from the high, and spent weeks 11 to 16 rebuilding the right side.
The relative strength line tells a stronger story than the candles. It divides Northgate’s close by a market index close each week, scaled here to 100 in week 1. From week 6 to week 10 the stock fell 11.0% while the index fell 9.3%, so the line sagged only 2.3%, from 122.9 to a low of 120.1 in week 9.

Then the line moved first. In week 12 it reached 126.0, above its week-6 high of 122.9, while price was still at $53.70, which is $3.70 under the base high. By week 16 the line stood at 131.9, the highest reading on the chart so far, one week before the second earnings release. The week-17 report showed 60.0% EPS growth and 39.1% sales growth. Price opened at $57.20, cleared $57.40 with a high of $59.80, and closed at $59.30.
Keep the chart’s limits in view. The RS line making a new high ahead of price showed that buyers were treating Northgate better than the market during the base, before the report was public. The earnings number itself arrived only with the report, which then supplied the operating evidence. Price closed week 24 at $60.00, the $60.00 that produces the 30 multiple. That multiple was set by a stock that had just reported accelerating results from a base where it held up better than the index.
This combination of current earnings, sales, price leadership and a sound base is the core of the CAN SLIM trading system. In it the P/E is a by-product of the selection, and a low P/E is no part of the entry case. William O’Neil made that point from his studies of past market leaders, where high multiples tended to come with the growth rather than block the move.
Where the comparison stops working
The P/E works best between similar businesses at similar points in their cycles. Outside that range it gets unreliable quickly.
| Situation | What happens to the ratio | Example |
|---|---|---|
| Comparing across industries | Margins, capital needs and cyclicality differ, so a “normal” multiple differs too | Northgate’s 30 against Harbor’s 15 compares a subscription business with a valve maker |
| Temporarily small earnings | A tiny denominator inflates the multiple far beyond what the price implies | A $30.00 stock earning $0.80 trades at 37.5; if one bad year cuts EPS to $0.20 the P/E reads 150.0, and at $0.05 it reads 600.0 |
| Zero or negative EPS | Division by zero is undefined, and a negative multiple ranks nothing | A company losing $0.50 per share at $30.00 gives -60.0, which doesn’t mean it’s cheaper than a stock at 15 |
The small-denominator case is easy to misread. A P/E of 150 on a cyclical company at the bottom of its cycle often means earnings are depressed, and a falling multiple next year may simply mean profits recovered. Many data services show “n/a” or leave the field blank once EPS is zero or negative, and averages of sector P/Es quietly drop those companies. A sector multiple can look reasonable because the companies with losses were left out.
Industry comparisons fail for a quieter reason. Harbor needs factories and inventory to grow, while Northgate’s extra customer costs little to serve. The market capitalises those two profit streams differently, so the same 15 or 30 doesn’t mean the same thing in each industry.
Reading a multiple as a question about growth
A trailing P/E is a reported number divided into a live price, and it only becomes informative once you know which number changed and why. Northgate’s 30 sat on four quarters of accelerating earnings and sales, a base that held up against the market, and an RS line that led price. If the same 30 had come from a restructuring loss or a one-off earnings dip, it would carry very different information. Start with the operating record, then let the multiple tell you how much growth the market is already paying for.
Learn the pattern. Ride the trend. Keep the gains.
Educational content only. Not investment advice. Trading involves risk. You are responsible for your decisions.
Get the free Market Wisdom e-book
Join Trends and Breakouts — historical winners, breakout studies, and risk lessons. No spam, unsubscribe anytime.
