Tested tool guide
Tested browser tools
Checked August 16, 2026
What P/E Ratio Calculator does, with a checked example
Enter a stock's current price alongside its trailing EPS, and optionally a forward EPS estimate and an expected earnings growth rate, and the calculator returns three figures: trailing P/E, forward P/E, and PEG. Each is a plain division, not a modeled valuation. The number people misread most often is PEG: it only comes out right when the growth rate is entered as a whole number like 15 (for 15%), not 0.15, and a low PEG on a company with a one-time earnings spike says nothing about sustainable value.
Worked example
A concrete input and expected output from the current implementation.
Input
Stock price: $150.00, Trailing EPS: $6.00, Forward EPS: $7.50, Expected EPS growth rate: 15
->
Expected output
Trailing P/E: 25.0, Forward P/E: 20.0, PEG ratio: 1.67
150 / 6 = 25.0 for trailing P/E, 150 / 7.5 = 20.0 for forward P/E, and 25.0 / 15 = 1.67 for PEG, since the growth rate is entered as a plain number rather than a decimal.