What the P/E ratio is telling you
The P/E ratio measures how many times earnings the market price represents. A P/E of 20 means investors are paying 20 units of price for each 1 unit of annual earnings per share. That makes the ratio convenient for comparing how richly or cheaply the market is valuing one earnings stream relative to another.
This calculator supports both trailing and forward variants because the label matters. Trailing P/E uses reported historical EPS, while forward P/E uses an expected future EPS figure. The formula is the same, but the interpretation changes because one is based on reported results and the other on assumptions or forecasts.