Standard deviation measures the dispersion or variability of a dataset relative to its mean. In investing, it is used to gauge the risk or volatility of a stock or mutual fund.