The price of a share of common stock is equal to the present value of all expected future cash flows.
These cash flows typically include dividends that the company is expected to pay to shareholders, as well as any expected proceeds from selling the stock in the future. The present value calculation takes into account the time value of money, meaning that future cash flows are discounted back to their value in today's terms.