Slope of Security Market Line Calculator
Calculate the slope of the Security Market Line, estimate CAPM expected return, compare a security’s actual return with its required return, and visualize the risk-return relationship on a live chart.
Interactive Calculator
Enter the risk-free rate, expected market return, and beta. The calculator computes the market risk premium, which is the slope of the Security Market Line, and then derives the expected return using the CAPM formula.
Results and Chart
The slope of the Security Market Line equals the expected market return minus the risk-free rate. That value is the market risk premium in CAPM.
Enter your assumptions, then click the calculate button to see the slope, required return, and a chart of the Security Market Line.
Quick interpretation guide
- A steeper SML means investors demand more return for taking systematic risk.
- If actual return is above the SML, the asset may appear undervalued relative to CAPM.
- If actual return is below the SML, the asset may appear overvalued relative to CAPM.
- The slope changes whenever the market risk premium changes.
What the slope of the Security Market Line means
The slope of the Security Market Line calculator is designed to answer one of the most important questions in modern asset pricing: how much extra return should investors require for taking on systematic risk? In the Capital Asset Pricing Model, or CAPM, the Security Market Line connects beta on the horizontal axis with expected return on the vertical axis. The line starts at the risk-free rate when beta is zero and rises as beta increases. That upward rise is the slope, and mathematically it equals the expected market return minus the risk-free rate.
In plain language, the slope tells you the reward investors expect for bearing one unit of market risk. If the risk-free rate is 4% and the expected market return is 10%, the slope is 6%. Every additional unit of beta then raises required return by 6 percentage points. An asset with beta 1.2 would have an expected return of 4% + 1.2 × 6% = 11.2%.
This matters because many investment decisions depend on whether an asset’s expected or actual return is high enough for its risk level. A low-beta asset should not be held to the same return standard as a high-beta asset. The Security Market Line gives you a consistent benchmark. If a stock, fund, or project is expected to earn more than its CAPM-required return, it may look attractive. If it is expected to earn less, it may not adequately compensate investors.
Formula used by this calculator
The calculator uses two core CAPM relationships:
- Slope of the Security Market Line = Expected market return – Risk-free rate
- Expected return on the asset = Risk-free rate + Beta × (Expected market return – Risk-free rate)
That second formula is the standard CAPM expected return equation. Once the slope is known, CAPM simply scales it by beta and adds back the risk-free rate. This is why the slope is often called the market risk premium. It is the premium investors demand for holding the market portfolio instead of a risk-free asset.
Key idea: The Security Market Line is not a growth trendline, a price chart pattern, or a statement about guaranteed returns. It is a required return benchmark based on systematic risk and expected market conditions.
How to use the slope of Security Market Line calculator correctly
1. Choose the right risk-free rate
A common input error is picking a risk-free rate that does not match the time horizon of the analysis. For shorter horizon work, analysts may look at Treasury bills. For longer-term valuation, some practitioners prefer a longer maturity Treasury yield. There is not always a single universally correct choice, but the input should be consistent with your valuation period and assumptions.
2. Estimate the expected market return thoughtfully
This is often the hardest assumption. Historical averages can be helpful, but they are not a substitute for forward-looking judgment. Analysts might use long-run equity return estimates, implied equity risk premium methods, or internal capital market assumptions. Since the slope equals market return minus risk-free rate, even a small change in expected market return can materially change the result.
3. Use a beta that fits your purpose
Beta can be historical, adjusted, peer-based, or project-specific. A beta above 1 suggests the asset is more sensitive to market moves than the market itself. A beta below 1 suggests lower sensitivity. Negative beta assets are rare but possible. Because expected return under CAPM scales with beta, choosing the right beta is critical.
4. Compare CAPM return with an actual or forecast return
The calculator lets you compare the required return to an actual or forecast return. If actual return is higher than CAPM return, the asset plots above the Security Market Line. Under CAPM logic, that may indicate undervaluation or positive alpha. If actual return is lower than CAPM return, the asset falls below the line, which may indicate overvaluation or negative alpha.
Worked example
Suppose you enter the following values:
- Risk-free rate: 4.0%
- Expected market return: 9.5%
- Beta: 1.30
- Actual expected asset return: 12.0%
The slope equals 9.5% – 4.0% = 5.5%. That means the market risk premium is 5.5%. CAPM expected return is then 4.0% + 1.30 × 5.5% = 11.15%. If the asset is expected to return 12.0%, it sits above the Security Market Line by 0.85 percentage points. In CAPM terms, that spread can be interpreted as positive alpha or undervaluation relative to required return.
Why the slope changes over time
The slope of the Security Market Line is not constant. It depends on the gap between the risk-free rate and the expected market return. Several factors can move it:
- Interest rate changes: When Treasury yields rise, the risk-free rate rises, which can reduce the slope if expected market return does not rise by the same amount.
- Equity risk sentiment: When investors become more risk averse, they may demand a larger equity risk premium, steepening the line.
- Economic outlook: Growth expectations, inflation, and recession risk all influence expected returns.
- Monetary policy: Central bank actions affect both discount rates and investor appetite for risk.
Because of this, it is useful to recalculate the Security Market Line whenever your macro assumptions change. A project that clears a hurdle rate in one environment may fail to do so in another.
Security Market Line versus Capital Market Line
These two concepts are often confused. The Security Market Line uses beta as the measure of risk and can be applied to individual securities or portfolios. The Capital Market Line uses total risk, usually standard deviation, and describes efficient portfolios that combine the risk-free asset and the market portfolio. If you are evaluating whether a single stock’s return is adequate for its market exposure, the Security Market Line is the relevant framework.
| Feature | Security Market Line | Capital Market Line |
|---|---|---|
| Risk measure | Beta, systematic risk | Standard deviation, total risk |
| Applies to | Individual assets and portfolios | Efficient portfolios only |
| Intercept | Risk-free rate | Risk-free rate |
| Slope | Market risk premium | Sharpe ratio of market portfolio |
| Use case | Required return and valuation check | Efficient portfolio construction |
Real-world benchmark data that shape SML inputs
Although the Security Market Line is a theoretical construct, its inputs are influenced by observable market data. Government bond yields are particularly important because they often serve as the risk-free rate proxy. The table below shows selected annual average U.S. 10-year Treasury yields, a commonly referenced benchmark in long-horizon analysis.
| Year | Average U.S. 10-Year Treasury Yield | Interpretation for SML Users |
|---|---|---|
| 2020 | 0.89% | Very low risk-free benchmark tended to support lower discount rates. |
| 2021 | 1.45% | Rising yields began lifting required returns from pandemic-era lows. |
| 2022 | 2.95% | Sharp upward rate reset significantly affected valuation models. |
| 2023 | 3.96% | Higher base rates increased CAPM required returns for many assets. |
When the risk-free rate climbs from below 1% to near 4%, the intercept of the Security Market Line rises materially. Unless expected market return increases enough to offset that change, the slope and required returns across assets can shift in meaningful ways.
Market return assumptions also vary sharply across time. The table below shows recent S&P 500 total returns, which many analysts review as a rough reference when thinking about equity market behavior, though forward-looking expectations should not simply copy the last calendar year.
| Year | S&P 500 Total Return | Takeaway for Expected Market Return Assumptions |
|---|---|---|
| 2020 | 18.40% | Strong realized returns can push expectations up, but may not be sustainable. |
| 2021 | 28.71% | Exceptional returns can distort investor expectations if used uncritically. |
| 2022 | -18.11% | Negative years remind analysts that risk premiums are compensation, not certainty. |
| 2023 | 26.29% | Rebounds can reprice optimism, but a CAPM input should remain disciplined. |
Common mistakes when using a slope of Security Market Line calculator
- Mixing decimal and percent formats. If you enter 0.05 in percent mode, you are really inputting 0.05%, not 5%.
- Using an inconsistent time horizon. A short-term Treasury rate combined with a long-run market return estimate can create a mismatch.
- Treating beta as fixed forever. Betas can drift as leverage, business mix, and market conditions change.
- Assuming CAPM is perfect. It is a foundational model, but not the only lens for expected return.
- Ignoring practical context. Liquidity, size, taxes, and company-specific risks still matter in real investing.
How professionals apply the SML in practice
Equity valuation
Equity analysts often use CAPM to estimate cost of equity. That cost of equity feeds discounted cash flow models, residual income models, and hurdle rate comparisons. The slope of the SML is central because it determines how much return to add for each unit of beta.
Corporate finance
Finance teams use CAPM-derived costs of equity when estimating weighted average cost of capital. A higher slope increases project hurdle rates for riskier business lines. This can affect capital budgeting, acquisition screening, and strategic planning.
Portfolio review
Portfolio managers compare realized or forecast returns to CAPM-required returns to look for alpha. An asset above the Security Market Line may be delivering more return than its systematic risk would imply. That does not guarantee mispricing, but it can prompt deeper research.
Authoritative resources for deeper study
- U.S. Department of the Treasury for Treasury yield information and government debt market background.
- Board of Governors of the Federal Reserve System for macroeconomic context, interest rates, and financial conditions.
- Investor.gov from the U.S. Securities and Exchange Commission for investor education and market basics.
Final takeaway
A slope of Security Market Line calculator helps translate market assumptions into a required return benchmark. The slope itself is simple: expected market return minus risk-free rate. Yet that simple spread carries a great deal of meaning. It tells you how aggressively the market rewards systematic risk, it shapes CAPM expected returns, and it influences valuation decisions across stocks, portfolios, and corporate projects.
Use the calculator as a disciplined framework, not as a substitute for judgment. Start with a consistent risk-free rate, choose a thoughtful market return assumption, use a beta appropriate to the asset, and compare the result with actual or forecast return. When used properly, the Security Market Line becomes a powerful decision tool that connects macro conditions, market expectations, and asset-level pricing into one coherent model.