---
slug: pe-ratio-calculator
title: "P/E Ratio Calculator"
category: finance
updated: 2026-11-17
canonical: https://calcseed.com/c/finance/pe-ratio-calculator/
html: /c/finance/pe-ratio-calculator/
---

# P/E Ratio Calculator

Calculate the price-to-earnings ratio of a stock from its share price and earnings per share, plus the earnings yield.

## Quick answer

**Quick answer:** with the default inputs ($150, $7.5), the p/e ratio is **20**. At these inputs: earnings yield = **5**. Change any input to update the result.

## Default calculation

Values computed by this calculator at exactly the default inputs listed below.

### Inputs (defaults)

| Input | Value | Unit |
| --- | --- | --- |
| Share price | 150 | $ |
| Earnings per share (EPS) | 7.5 | $ |

### Outputs at these defaults

| Output | Value | Unit |
| --- | --- | --- |
| P/E ratio | 20 |  |
| Earnings yield | 5 |  |

## Formula

```text
P/E = share price ÷ earnings per share
```

## Inputs

| Variable | Type | Unit | Default |
| --- | --- | --- | --- |
| Share price | number | $ | 150 |
| Earnings per share (EPS) | number | $ | 7.5 |

## Outputs

| Result | Format |
| --- | --- |
| P/E ratio | primary |
| Earnings yield | percent |

## How it works

### What the P/E ratio measures

The price-to-earnings ratio is the number of dollars you pay for one dollar of annual profit. A P/E of 20 means the market values each $1 of current earnings at $20, and at the defaults — a **$150** share price against **$7.50** of earnings per share — that is exactly the result. The same two numbers read upside down give an **earnings yield of 5.00%**.

Both inputs must use the same share count and time window. Pairing a diluted EPS with a market cap built on basic shares understates the ratio by the dilution percentage, which for an acquisitive company can be several points of P/E. Earnings per share is net income divided by shares outstanding, so the ratio embeds two different things: how profitable the business is, and how much the market trusts those profits to persist. A P/E of 20 on stable utility earnings and a P/E of 20 on a cyclical steel maker describe completely different risks despite the identical number.

### What the earnings yield adds

Divide EPS by price and you get the earnings yield, the inverse of P/E as a percentage. At $7.50 on $150 the yield is 5.00%, meaning the company generates $5 of profit a year for every $100 invested at today&rsquo;s price. This framing compares directly against interest rates and bond yields without mental arithmetic.

| P/E ratio | Earnings yield | Years of earnings to repay the price |
| --- | --- | --- |
| 10 | 10.0% | 10.0 |
| 15 | 6.7% | 15.0 |
| 20 | 5.0% | 20.0 |
| 25 | 4.0% | 25.0 |
| 30 | 3.3% | 30.0 |
| 40 | 2.5% | 40.0 |
| 50 | 2.0% | 50.0 |

With long-dated Treasury yields having spent recent years in roughly the 3.5%–5% band, a 5.00% earnings yield is no longer a compelling premium over a government bond on its own. The case for owning the stock at that price has to rest on earnings growth, because the static yield alone sits near the risk-free alternative without offering its certainty.

### Worked example at the defaults

Start with the share price of $150 and earnings per share of $7.50. Dividing gives 20.00, which is the P/E. Inverting the same numbers gives 7.5 ÷ 150 = 0.05, or 5.00%, which is the earnings yield. A useful cross-check: 20 × 5.00% = 100%, so the two outputs are exact reciprocals and never disagree.

Now ask what price would produce a different multiple without touching earnings. At a P/E of 15 the share would trade at 15 × $7.50 = **$112.50**; at 25 it would trade at **$187.50**; at 40, **$300.00**. Every point of P/E is worth $7.50 of share price here, which is why a de-rating from 20 to 15 destroys $37.50, or 25%, of the position with no change in the underlying business.

The reverse calculation matters just as much. To hold a P/E of 20 while the share price stays at $150, EPS must stay at $7.50. If earnings fall 10% to $6.75, the multiple mechanically rises to 22.2 even though the stock has not moved — a trap that makes a deteriorating company look more expensive, not less.

### Typical P/E ranges by industry

| Sector | Indicative trailing P/E, 2026 | Why |
| --- | --- | --- |
| Regional banks | 9 – 14 | Earnings tied to credit cycles and rate spreads |
| Energy majors | 10 – 16 | Commodity price exposure caps the multiple |
| Utilities | 15 – 20 | Regulated, stable cash flow, bond-like |
| Consumer staples | 18 – 24 | Slow volume growth but durable demand |
| Industrials | 17 – 25 | Cyclical with mid-single-digit growth |
| Large-cap technology | 28 – 40 | Growth and margin expansion expected |
| Profitable small biotech | 25 – 50 | Pipeline value sits outside current earnings |

These are indicative ranges, not rules: medians drift with the rate environment, and a sector&rsquo;s multiple can compress by a third in a single year without any company-specific news. Compare a stock only against its own history and its closest peers, never against an index average that mixes a 12 P/E bank with a 40 P/E software company.

### Reading the answer

- A P/E under 15 often signals either genuine cheapness or a market expectation that earnings will fall; the earnings yield above 6.7% tells you which risk the price is pricing.
- A P/E of 15 to 25 is the range where most mature, profitable companies have historically traded, and 20 sits in the middle of it.
- A P/E of 25 to 40 requires earnings growth to justify the price; at 30 you need roughly 8% annual EPS growth for five years to grow into the multiple.
- Above 40, the price depends on earnings that do not exist yet, and small disappointments produce outsized drawdowns.
- A P/E below 8 usually means the market doubts the earnings are sustainable, not that it has overlooked a bargain.

### Variants that change the number

#### Trailing versus forward

Trailing P/E uses the last twelve reported months; forward P/E uses the next twelve estimated months. For a company growing earnings 15% a year, a trailing P/E of 23 becomes a forward P/E of about 20, which is why growth investors quote the forward figure. The forward number is only as good as the estimate behind it, and consensus estimates for cyclical companies have historically missed by 20%–30% at turning points.

#### PEG and the growth adjustment

The PEG ratio divides P/E by the expected earnings growth rate. A P/E of 20 against 10% growth gives a PEG of 2.0, which reads as expensive; the same 20 against 20% growth gives 1.0, which many growth investors treat as fair. The measure is crude because it assumes a linear relationship between growth and value, but it stops you from rejecting every high multiple without asking what growth is already priced in.

### Where P/E misleads

- Negative or near-zero earnings. A company earning $0.02 per share at $40 shows a P/E of 2,000, which is arithmetically correct and analytically useless.
- One-off items. A litigation settlement or asset sale can halve or double reported EPS for a year; the P/E moves 100% with no change in earning power.
- Buybacks. Repurchasing shares raises EPS without raising profit, which lowers the P/E and can make a stagnant business look cheaper than it is.
- Cyclical peaks. A commodity producer at record earnings shows a single-digit P/E right before the cycle turns, which is usually the most expensive moment to buy.
- Accounting differences. Capitalisation policy, depreciation schedules and pension assumptions all shift EPS between two otherwise identical companies.

### Using the ratio without being fooled

Treat the P/E as a question rather than an answer. A P/E of 20 asks whether $7.50 of earnings will still be $7.50 in three years, and whether the 5.00% earnings yield will grow. Answer that with the cash flow statement, the debt load and the reinvestment rate, and the multiple becomes a starting point for analysis instead of a verdict.

Two habits keep the number honest. Compute it on normalized earnings — average margins across a full cycle rather than the latest quarter — and pair it with free cash flow yield, because earnings that never convert to cash eventually show up as a lower multiple. None of this is investment advice; it is arithmetic behind a widely quoted ratio.

## FAQ

### How is the P/E ratio calculated?

Divide the share price by earnings per share. A $150 stock earning $7.50 per share has a P/E of 20.00 and an earnings yield of 5.00%, which is simply the inverse of the same two numbers.

### What is a good P/E ratio?

There is no universal figure. A P/E of 15 to 25 covers most mature US companies, banks often trade at 9 to 14, and large-cap technology at 28 to 40. The right level depends on growth, margins and rates.

### What is the earnings yield?

The inverse of P/E, expressed as a percentage and equal to EPS divided by share price. At the defaults it is $7.50 ÷ $150 = 5.00%, meaning the company earns $5 a year per $100 of stock price.

### What does a negative P/E mean?

The company is losing money, so the ratio is not meaningful. With EPS of −$1.20 and a $30 price the arithmetic gives −25, but no investor is paying 25 times a loss; evaluate loss-makers on revenue growth, cash burn and path to profitability instead.

### What P/E does a 5% earnings yield imply?

Exactly 20. The earnings yield falls as P/E rises: 10% at a P/E of 10, 6.7% at 15, 5.0% at 20, 4.0% at 25, and 2.5% at 40.

### Is a low P/E always a bargain?

No. A P/E of 6 often reflects earnings the market expects to fall, as with a homebuilder near a cycle peak. Low multiples signal a need to check whether current earnings are sustainable.

### How does a stock buyback affect the P/E?

It raises EPS by reducing the share count while profit stays the same, so the P/E falls without any improvement in the business. A company earning $75 million on 10 million shares has EPS of $7.50 and a P/E of 20 at $150; buying back 1 million shares lifts EPS to $8.33 and drops the P/E to 18.

### What is the difference between trailing and forward P/E?

Trailing uses the last twelve reported months of earnings; forward uses the next twelve estimated months. For a company growing 15% a year, a trailing 23 becomes a forward 20, which is why the two figures often differ by several points.

## Method and sources

Methodology: Calculations follow standard financial mathematics (amortization, compound interest and time-value formulas) and reference 2026 U.S. federal parameters, such as IRS mileage and contribution rates, where applicable.

Last updated: 2026-11-17.
- Standard price-to-earnings ratio definition: price divided by earnings per share.
