Portfolio P/E Ratio Calculator

Calculate the P/E ratio of your entire stock portfolio using each holding’s share price, earnings per share and number of shares held. The calculator combines the market value and earnings contribution of your holdings to produce a portfolio-level P/E ratio, giving you a quick overview of how the market values the earnings behind your investments.

Portfolio valuation

Portfolio P/E Ratio Calculator

Add your holdings to calculate the portfolio’s aggregate price-to-earnings ratio.

Portfolio P/E ratio
Total market value
Portfolio earnings
Holdings included0

Enter at least one holding to see your result.

How is the portfolio P/E calculated?

The calculator divides the combined market value of your holdings by their combined earnings contribution:

Portfolio P/E = Σ (share price × shares held) ÷ Σ (EPS × shares held)

Use share price and EPS in the same currency. A result may not be meaningful when the portfolio has zero or negative aggregate earnings.

How the Portfolio P/E Ratio Calculator Works

Start by entering the name of each holding, its current share price, earnings per share (EPS) and the number of shares you own. You can add as many holdings as needed or remove rows that you do not use.

The calculator first determines the market value of each position by multiplying the share price by the number of shares held. It also calculates each company’s earnings contribution by multiplying EPS by the number of shares held. The portfolio P/E ratio is then calculated using the following formula:

Portfolio P/E = Total market value ÷ Total portfolio earnings

This method accounts for the size of each position. A large holding therefore has a greater effect on the result than a much smaller holding.

What Can You Use the Result For?

The calculator provides a quick indication of how highly the market values the combined earnings of your portfolio. For example, a portfolio P/E of 15 means that its total market value is 15 times the annual earnings attributable to your shares, based on the EPS figures entered.

You can use the result to compare your portfolio with a stock market index, another portfolio or your portfolio at an earlier date. It can also help you see how buying or selling a particular stock could affect the portfolio’s overall valuation.

A relatively high P/E ratio may indicate that investors expect strong future growth. A lower ratio may suggest more modest expectations, greater perceived risk or a potentially inexpensive valuation. However, neither a high nor a low P/E ratio is automatically good or bad.

Important Factors to Consider

Always use share price and EPS figures stated in the same currency. You should also use EPS figures covering comparable periods, such as trailing twelve-month earnings for every company. Mixing historical EPS with forward earnings estimates can produce a misleading result.

Companies with negative earnings require particular attention. Their individual P/E ratios are generally considered not meaningful. Negative earnings also reduce the portfolio’s aggregate earnings and may make the portfolio P/E unusually high or impossible to interpret. The calculator displays N/M, meaning “not meaningful,” when total portfolio earnings are zero or negative.

One-off gains, write-downs and cyclical fluctuations can also distort reported EPS. In such cases, normalized earnings may provide a more representative picture, although normalization involves additional judgment.

General Tips for Portfolios and P/E Ratios

Do not evaluate a portfolio using its P/E ratio alone. Consider earnings growth, debt, cash flow, profitability, dividend sustainability and the quality of the underlying businesses. It is also useful to compare companies with similar business models, since typical valuation levels vary considerably between industries.

Finally, remember that diversification is about more than the number of stocks you own. Several holdings may still expose you to the same sector, country or economic risk. Use the portfolio P/E ratio as one helpful valuation measure alongside a broader review of allocation, risk and long-term investment goals.