FreeByte

P/E ratio calculator

Price against earnings.

Built and reviewed by Dovanic, Founder and editor, FreeByteLast reviewed: 2026-08-18
$
$

P/E ratio

20.0

Earnings yield

5.00%

With these inputs, p/E ratio comes to 20.0. Earnings yield works out to 5.00%.

What moves the number · P/E ratio

Input−10%Now+10%
Share price18.020.022.0
Earnings per share22.220.018.2

Solve for an input

Whatmakesequal

Compare scenarios

Save this set of inputs, change something, then save again to compare the outcomes side by side.

Price against earnings.

A worked example

Starting figures

Share price
$120
Earnings per share
$6

What it returns

P/E ratio
20.0
Earnings yield
5.00%

How to read the results

With the defaults above, p/e ratio works out at 20.0.

Related calculators