When an investor signs a SAFE with a company, they are essentially purchasing the right to obtain equity at a later date. The amount of equity the investor receives is typically determined by the amount invested and the valuation of the company during the next equity financing round. SAFEs can include provisions such as valuation caps and discount rates to protect the investor's interests.