How to calculate share price of a company

How is the share price of a company generally calculated?