Relative Valuation Calculator

Enter earnings per share, price per share, book value, and industry average ratios to calculate fair value estimates, margin of safety, and how the stock compares to its peers.
Luis GonzalezCreated by Luis GonzalezLast updated:

How to Use This Calculator

  1. 1

    Enter Earnings Per Share (EPS)

    Input the portion of a company's profit allocated to each outstanding common share. This is a key measure of profitability.

  2. 2

    Specify Price Per Share

    Provide the current market price of one share of the company's stock.

  3. 3

    Input Book Value Per Share

    Enter the value of the company's net assets divided by the number of outstanding shares. This represents the liquidation value per share.

  4. 4

    Enter Industry Average P/E Ratio

    Input the average price-to-earnings ratio of comparable companies within the same industry. This provides a benchmark for comparison.

  5. 5

    Define Industry Average P/B Ratio

    Specify the average price-to-book ratio of comparable companies in the same industry. This is another key valuation multiple.

  6. 6

    Review Your Results

    The calculator displays the average fair value, P/E and P/B based valuations, current P/E and P/B ratios, and margin of safety. The insights panel shows P/E and P/B model assessments and whether the models agree or diverge.

Example Calculation

An investor is analyzing a stock with EPS of $5, a current price of $60, and a book value per share of $40. The industry average P/E is 20x and P/B is 3x.

Earnings Per Share (EPS)

$5

Price Per Share

$60

Book Value Per Share

$40

Industry Average P/E Ratio

20x

Industry Average P/B Ratio

3x

Results

Average Fair Value

$110.00

P/E Based Valuation

$100.00

P/B Based Valuation

$120.00

Current P/E Ratio

12.00x

Current P/B Ratio

1.50x

Margin of Safety

$50.00

Tips

Compare Against Multiple Peers

Always compare your target stock against at least 3-5 direct competitors or industry averages. A single peer comparison can be misleading due to unique company-specific factors.

Adjust for Growth Rates

When using P/E ratios, consider the growth rate of earnings. A company with a higher growth rate might justify a higher P/E. Use the PEG ratio (P/E to Growth) for a more nuanced comparison, aiming for a PEG below 1.

Account for Debt Levels

Relative valuation multiples like P/E and P/B don't always fully account for a company's debt. A highly leveraged company might appear cheap on these metrics but carries higher risk, so always check the debt-to-equity ratio.

Check Model Consensus

The insights panel shows whether the P/E and P/B models agree or diverge. When both models point in the same direction, the signal is stronger. If they diverge significantly, investigate why earnings and book value tell different stories.

Assessing Stock Value with the Relative Valuation Calculator

This Relative Valuation Calculator helps investors compare a stock's fair value against its industry peers using key metrics like the Price-to-Earnings (P/E) and Price-to-Book (P/B) ratios. It instantly calculates a potential margin of safety and upside/downside potential, providing a crucial perspective for fundamental analysis.

This approach is vital for identifying whether a stock is trading at a premium or discount compared to its sector, especially when typical P/E ratios for stable companies might range from 15x to 25x in 2026.

Why Relative Valuation is a Cornerstone of Investment Analysis

Relative valuation is a fundamental approach in investment analysis because it offers a practical and intuitive way to assess whether a stock is fairly priced, undervalued, or overvalued. Instead of relying on complex intrinsic valuation models that require numerous assumptions, relative valuation anchors a company's worth to the market's pricing of similar assets.

This comparative method allows investors to quickly identify discrepancies and potential opportunities by simply asking: "Is this company cheaper or more expensive than its peers, and if so, why?" It helps filter out mispriced securities and forms a critical part of a comprehensive due diligence process.

The Multiples-Based Approach to Stock Valuation

The Relative Valuation Calculator employs a multiples-based approach, using industry average Price-to-Earnings (P/E) and Price-to-Book (P/B) ratios to derive a potential fair value for a stock.

The core calculations are:

P/E Based Valuation = Earnings Per Share (EPS) x Industry Average P/E Ratio
P/B Based Valuation = Book Value Per Share (BVPS) x Industry Average P/B Ratio
Average Fair Value = (P/E Based Valuation + P/B Based Valuation) / 2
Current P/E = Price Per Share / EPS
Current P/B = Price Per Share / BVPS
Margin of Safety = Average Fair Value - Price Per Share

These valuations are then compared against the stock's current price per share to determine its relative attractiveness and calculate the margin of safety.

💡 For a deeper analysis of a stock's intrinsic value using cash flow models instead of peer comparisons, try our Intrinsic Value of Stock Calculator.

Worked Example: Valuing a Growth Stock

An investor is assessing a technology company with the following financials: Earnings Per Share (EPS) of $5, a current Price Per Share of $60, and a Book Value Per Share of $40.

For comparison, the industry average P/E Ratio is 20x, and the Industry Average P/B Ratio is 3x.

Here's a step-by-step valuation:

  1. Calculate P/E Based Valuation: Multiply EPS by the industry average P/E: $5 x 20 = $100.
  2. Calculate P/B Based Valuation: Multiply Book Value Per Share by the industry average P/B: $40 x 3 = $120.
  3. Calculate Average Fair Value: Take the average of the two valuations: ($100 + $120) / 2 = $110.
  4. Determine Current P/E and P/B: Current P/E = $60 / $5 = 12x. Current P/B = $60 / $40 = 1.5x.
  5. Calculate Margin of Safety: Subtract the current price from the average fair value: $110 - $60 = $50.
  6. P/E Discount: ($100 - $60) / $100 x 100 = 40.0% upside implied.
  7. P/B Discount: ($120 - $60) / $120 x 100 = 50.0% upside implied.
  8. Average Discount: ($110 - $60) / $110 x 100 = 45.5% undervalued.

The average fair value for this stock is $110, implying a substantial margin of safety of $50 compared to its current price of $60.

Both the P/E model (40% upside) and P/B model (50% upside) agree that the stock appears undervalued.

💡 To evaluate how a stock's fundamentals compare to broader market performance, our Stock Performance Calculator can track returns over time.

Key Valuation Metrics for Equity Analysis in 2026

In 2026, the Price-to-Earnings (P/E) ratio and Price-to-Book (P/B) ratio remain fundamental for equity analysis, offering quick comparative insights into a company's valuation. P/E ratios are particularly useful for mature, profitable companies, with typical ranges for growth stocks often exceeding 25x-30x, while stable value stocks might trade in the 10x-15x range.

However, these benchmarks vary significantly by sector; for example, high-growth technology companies might command P/E ratios of 40x or more, whereas utilities or financial institutions typically have lower P/Es. The P/B ratio is especially relevant for asset-heavy sectors like banking or real estate, where a P/B of 1x-2x is common.

Typical P/E and P/B Ratios Across Sectors

Industry benchmarks for P/E and P/B ratios vary widely, reflecting the unique characteristics and growth potentials of different sectors. In the technology sector, P/E ratios can range from 30x to 50x or higher for rapidly growing companies. Established financial institutions typically trade at lower P/E ratios (8x-15x) and P/B ratios between 1x and 2x.

Consumer staples companies, known for their stability and consistent earnings, often fall in the 15x-25x P/E range, while cyclical industries like industrials might see more volatile ratios. These benchmarks serve as crucial reference points for investors to gauge whether a specific company is priced reasonably compared to its peers.

Frequently Asked Questions

What is relative valuation in stock analysis?

Relative valuation is a method of valuing a company by comparing its financial metrics, such as price-to-earnings (P/E) or price-to-book (P/B) ratios, to those of similar companies or industry averages. It helps determine if a stock is undervalued or overvalued by assessing how it trades compared to its peers, assuming the market prices comparable assets similarly.

How is the Price-to-Earnings (P/E) ratio used in relative valuation?

The Price-to-Earnings (P/E) ratio compares a company's current share price to its earnings per share, indicating how much investors are willing to pay for each dollar of earnings. In relative valuation, a company's P/E is compared to its industry average. For example, a stock with a P/E of 12x versus an industry average of 20x may be undervalued, implying a P/E based fair value of $100 for a $5 EPS company.

What is the Price-to-Book (P/B) ratio and its role in valuation?

The Price-to-Book (P/B) ratio compares a company's market price per share to its book value per share, assessing how much investors are paying for the company's net assets. It's particularly useful for valuing asset-heavy industries like banking or manufacturing. A P/B ratio below 1 might suggest undervaluation, while a P/B above 3 could indicate overvaluation, depending on the industry.

What is a 'margin of safety' in stock investing?

The margin of safety is a principle in value investing, popularized by Benjamin Graham, that involves buying assets at a significant discount to their intrinsic value. It's the difference between a stock's estimated fair value and its current market price. For example, a stock trading at $60 with an average fair value of $110 has a $50 margin of safety, providing a buffer against errors in judgment or adverse market conditions.

What does the insights panel show?

The insights panel provides three key assessments: a P/E model analysis showing implied upside or downside and how the current P/E compares to the industry average, a P/B model analysis with the same comparison, and a model consensus indicator showing whether both valuation methods agree or tell different stories about the stock's value.