How to calculate share price of a company

How is the share price of a company generally calculated?

Share price is usually the current market price, but for book value, divide total equity by total shares. For market price, check the latest price on the stock exchange.