Stock prices are mostly determined by growth prospects and profitability of the company. Investors look at the P/E ratio while also checking the demand and supply to gauge whether the stock price is justified.