The price-to-earnings (P/E) ratio compares a company’s share price with its earnings per share (EPS). This page’s calculator works out P/E when you enter a share price and EPS, and returns the ratio as a multiple; it also calculates the implied price from a P/E and EPS.
Formula
The P/E ratio is share price divided by earnings per share:
P/E = P ÷ EPS
- P is the price of one share, in dollars.
- EPS is the company’s earnings allocated to each share, in dollars per share, over a stated period—usually a year.
- P/E is a ratio expressed as a multiple, such as 10x. The currency units cancel because both the numerator and denominator are dollars per share.
The calculator’s second output reverses the relationship: implied share price = P/E × EPS. It uses the P/E calculated from the inputs, so it returns the entered share price apart from rounding. For a separate valuation calculation, substitute a chosen comparison P/E and an EPS figure into that relationship. This arithmetic does not establish what a share should be worth.
Worked Example
Using the calculator’s defaults, the share price is $50 and EPS is $5 per share.
- Divide share price by EPS: $50 ÷ $5 = 10.
- Report the P/E as 10x, meaning investors pay $10 in share price for each $1 of annual earnings represented by the EPS figure.
- Calculate the reverse output: 10 × $5 = $50.00 implied share price.
The displayed result is 10.00x because the calculator rounds to two decimal places. The ratio itself is conventionally written as “10 times” or “10x,” not as a dollar amount.
Assumptions
- The share price and EPS are quoted in the same currency and on a comparable per-share basis.
- EPS is positive and relates to a clearly identified reporting period. This calculator does not determine whether it is trailing or forecast earnings.
- The result is a simple arithmetic ratio. It does not adjust for share classes, changes in shares outstanding, exceptional items, debt, cash, growth, or accounting differences.
- The implied price output is a mathematical rearrangement, not a forecast or a target price.
What P/E Means and Where It Comes From
“P/E ratio” is a standard finance abbreviation for “price-to-earnings ratio.” It is not slang or an informal expression. The name describes the two quantities being compared: the market price of a share and the earnings attributable to that share. The abbreviation is used in company analysis, market reporting, investment research, and ordinary financial discussion.
For example, a sentence might read: “The company’s P/E is 18x based on its earnings over the past year.” In that sentence, the figure is meaningful only if the earnings period and calculation are understood. Analysts may use the term with “multiple,” as in “an 18-times P/E,” or simply “P/E.” The ratio is an indicator for comparison, not a direct measure of business quality or a guaranteed return.
At the company level, P/E can also be calculated by dividing total market capitalization by total net income attributable to common shareholders, provided the share and earnings measures are aligned. The per-share version is usually more convenient for individual stocks. In either form, it is important not to mix incompatible figures—for example, a share price from one class of stock with earnings per share calculated for another.
Trailing and Forward P/E
A quoted P/E depends on which earnings figure is used. Two common labels distinguish the period:
- Trailing P/E uses earnings already reported, often the latest four quarters. It is based on historical results, although reported earnings may later be restated.
- Forward P/E uses projected earnings for a future period. It depends on estimates, which can differ by source and may not match what the company ultimately earns.
There is no single universal convention for every data provider’s period cut-off or adjustment policy. When comparing ratios, check whether both use trailing or forward EPS, whether the same accounting basis is used, and whether the data date is comparable. A forward P/E is not simply a more accurate version of trailing P/E: it exchanges reliance on past reported results for uncertainty in forecasts.
How to Interpret and Compare a P/E
A P/E of 10x means the share price is ten times the earnings per share used in the calculation. It does not mean an investor is guaranteed to recover the purchase price in ten years. Earnings can rise or fall, may not be paid out as dividends, and are not the same thing as cash returned to shareholders.
Comparison can be informative when the companies have reasonably comparable businesses, accounting, earnings periods, and growth and risk profiles. A company with a higher P/E may have earnings that investors expect to grow faster, but a high ratio alone does not prove that expectation will be met. A low P/E can reflect weak prospects, uncertainty, cyclically high current earnings, or other concerns; it is not automatically a bargain.
Industry structure matters. Businesses with different growth patterns, capital needs, or exposure to economic cycles may have very different P/E ranges. Even within one industry, differences in leverage, one-off gains or losses, and accounting treatment can make a simple comparison misleading. Consider the underlying financial statements and the reason for the earnings figure rather than treating one multiple as a universal benchmark.
Limitations and Common Misreadings
P/E is difficult to interpret when earnings are zero or negative. Dividing by zero is undefined, and a negative result generally does not function as a useful conventional valuation multiple. In those cases, providers may show “N/M” (not meaningful) or omit the ratio. This calculator requires positive EPS and therefore does not return a P/E for losses.
Other limitations include earnings that are unusually high or low, one-time items, and differences between reported and adjusted earnings. “Adjusted” EPS is not a single standardized figure across all sources, so the adjustments should be checked. The ratio also leaves out balance-sheet information: two companies with the same P/E may have different debt, cash, or business risks. P/E alone does not measure cash flow, dividends, or the price paid for the company’s assets.
One common misconception is that a lower P/E is always preferable. The ratio describes a relationship; it does not explain why the market price or earnings are at that level. Another is that P/E is a measure of the company’s total value. It is a per-share price relative to per-share earnings, not a complete valuation of the enterprise.
Frequently Asked Questions
What does a P/E ratio of 10 mean?
It means the share price is ten times the EPS figure used. If EPS is $5 and the share price is $50, the P/E is 10x. It does not promise a ten-year payback.
Is a high P/E ratio good or bad?
Neither conclusion follows from the number alone. A higher P/E may reflect expectations or risks that differ from those of another company. The earnings basis, business context, and comparison group matter.
Can a P/E ratio be negative?
A company with negative EPS may produce a negative arithmetic quotient, but that figure is generally not useful as a conventional P/E comparison. Sources often label it not meaningful or leave it blank.
What is the difference between trailing and forward P/E?
Trailing P/E uses past reported earnings; forward P/E uses estimated future earnings. The latter depends on forecasts, while the former can be affected by unusual results or changes since the reporting period.
How do you calculate a P/E ratio?
Divide the share price by EPS for the same share and a clearly stated earnings period. For instance, $50 divided by $5 per share equals 10x.
Does P/E tell me whether a stock is undervalued?
No. It is one comparison measure and cannot establish value by itself. Earnings quality, growth assumptions, financial position, business risks, and the comparison being made all affect interpretation.
The calculator is for educational arithmetic, not financial advice; its result is an estimate, and it does not account for source-specific EPS adjustments or forecast uncertainty.
Related
Formula used
in price | Share price | $ | 50 | 0.01 | 100000000 in eps | Earnings per share (EPS) | $ | 5 | 0.01 | 100000000 out pe | P/E ratio | x | price / eps | 2 out implied | Implied share price | $ | pe * eps | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard loan formula for this calculation, fixed rate and monthly compounding unless stated, rounded as each result states. Not financial advice; no lender, rate or product is recommended. See formulas and assumptions, the disclaimer or report an error.
More in this section
- Senior Lien Balance: Meaning and Calculation$16,611.17
- Auto Loan-to-Value Ratio Calculator: How It Works80.00 %
- Line Balance Rate Formula and Calculator
- New Jersey Notice of Unpaid Balance and Lien Rights
- Line Balance Process: Steps, Methods and Examples
- Line Balance Rate Calculator and Formula