In the Capital Asset Pricing Model (CAPM), the risk-free rate represents the return expected from an investment with no risk of loss. It is used as a baseline to measure the return on risky assets. CAPM calculates the expected return on an asset by adding a risk premium to the risk-free rate. This model helps investors assess whether the additional risk associated with an investment is justified by the expected return compared to the risk-free rate.