dividends are what people historically bought stocks for, not speculation. If you want your stocks to pay dividends, earnings per share is a much more useful metric.
Then you want Earnings per Price. i.e. How much Earnings for STOCK*STOCK_PRICE.
(Earning / Price) is not a typical metric, (Price / Earnings) (i.e. PE Ratio) is the more typical metric. These metrics are meant for casual/institutional investors not lay people[1].
Meanwhile, if you still want (Earning / Price), you can do (1 / PE Ratio).
[1] If you aren't able to find the number of STOCK units you own or will purchase, then you are not a casual/institutional investor.