What Risk Means
Risk is the uncertainty around what you will actually earn. An investment with an expected return of 8% per year might return anywhere from -20% to +40% in any given year. That range of possible outcomes is what we mean by risk.
This is an important distinction. Risk is not simply the probability of losing money, though that is one component. Risk encompasses all the ways the outcome can differ from expectations — including unexpectedly large gains, though investors tend to be more concerned with the downside.
Formal measures of risk include standard deviation (how widely returns are dispersed around the average), maximum drawdown (the worst peak-to-trough loss), and value at risk (the loss that would not be exceeded in a given percentage of scenarios). Each captures a different aspect of uncertainty.