what is P.E ratio in stock market

The price to Earning ratio is used for valuing the company.

it measures its current share price relative to its per-share earnings.

Formula = share price/Earning per share