Time horizon
How long you plan to keep money invested before you need to spend it.
A long time horizon gives you years to wait out bad markets, so you can hold more stocks. A short one leaves little time to recover from a drop.
Money you need within about 5 years usually belongs in savings or short-term bonds. Each goal, like a house or retirement, has its own time horizon.