How the price of share is determined

What is the formula or market rule for share pricing?