Calculate cost of equity using the Capital Asset Pricing Model (CAPM)
Usually the yield on 10-year US Treasury Bonds.
A measure of the stock's volatility relative to the market (1.0 is market average).
The average historical return of the stock market (S&P 500).
Calculation Result
The Required Rate of Return is:
0.00%
function calculateCAPM() {
// 1. Get input values
var rfInput = document.getElementById('rf_rate');
var betaInput = document.getElementById('beta_val');
var rmInput = document.getElementById('mkt_return');
var resultDiv = document.getElementById('result_display');
var finalValueDiv = document.getElementById('final_rrr');
var breakdownDiv = document.getElementById('calc_breakdown');
// 2. Parse values
var rf = parseFloat(rfInput.value);
var beta = parseFloat(betaInput.value);
var rm = parseFloat(rmInput.value);
// 3. Validation
if (isNaN(rf) || isNaN(beta) || isNaN(rm)) {
alert("Please enter valid numbers for all fields.");
resultDiv.style.display = 'none';
return;
}
// 4. CAPM Formula: Re = Rf + Beta * (Rm – Rf)
// Note: Inputs are percentages (e.g., 5 for 5%), so we calculate in whole numbers then append %.
var riskPremium = rm – rf;
var equityRiskPremium = beta * riskPremium;
var requiredReturn = rf + equityRiskPremium;
// 5. Display Result
resultDiv.style.display = 'block';
finalValueDiv.innerHTML = requiredReturn.toFixed(2) + "%";
// 6. Detailed Breakdown
var breakdownHTML = "Formula Breakdown:";
breakdownHTML += "Risk-Free Rate: " + rf.toFixed(2) + "%";
breakdownHTML += "Market Risk Premium (Rm – Rf): " + riskPremium.toFixed(2) + "%";
breakdownHTML += "Beta Adjusted Premium: " + equityRiskPremium.toFixed(2) + "%";
breakdownHTML += "Calculation: " + rf.toFixed(2) + " + (" + beta.toFixed(2) + " × " + riskPremium.toFixed(2) + ") = " + requiredReturn.toFixed(2) + "";
breakdownDiv.innerHTML = breakdownHTML;
}
How to Calculate Required Rate of Return with Beta
Investors often face the challenge of determining whether a specific stock or investment is worth the risk. The Required Rate of Return (RRR) helps answer this question by estimating the minimum return an investor should expect for taking on the risk associated with a specific asset. One of the most common methods to calculate this is using the Capital Asset Pricing Model (CAPM).
Understanding the CAPM Formula
The CAPM formula calculates the required rate of return based on the asset's sensitivity to non-diversifiable risk (systematic risk). The formula is:
Re = Rf + β (Rm – Rf)
Where:
Re (Required Return): The return expected by the investor.
Rf (Risk-Free Rate): The return of a theoretical risk-free investment, typically the yield on a 10-year U.S. Treasury Bond.
β (Beta): A measure of how much a stock's price moves compared to the overall market.
Rm (Expected Market Return): The average return of the market (often represented by the S&P 500).
(Rm – Rf): This is known as the Market Risk Premium.
Analyzing the Inputs
1. The Risk-Free Rate (Rf)
This is the baseline return you would get if you took zero risk. In financial modeling, we usually use the current yield of long-term government bonds because the government is extremely unlikely to default. If the current 10-year Treasury yield is 3.5%, then 3.5% is your risk-free rate.
2. Beta (β)
Beta measures volatility. It tells you how risky a specific stock is compared to the general market.
Beta = 1.0: The stock moves exactly in sync with the market.
Beta > 1.0: The stock is more volatile than the market (higher risk, higher potential return). Aggressive growth stocks often have betas above 1.5.
Beta < 1.0: The stock is less volatile than the market (lower risk). Utility companies often have betas around 0.5 to 0.8.
3. Expected Market Return (Rm)
This is the historical average return of the stock market. While this fluctuates year to year, financial analysts typically use a long-term average ranging between 8% and 10% for the S&P 500.
Example Calculation
Let's say you are analyzing a technology stock. You want to know the minimum return required to justify the risk of buying it.
Risk-Free Rate: 4% (Current bond yield)
Beta: 1.5 (High volatility)
Market Return: 10% (Historical average)
Using the calculator above, or doing the math manually:
Re = 4 + 1.5 * (10 – 4) Re = 4 + 1.5 * (6) Re = 4 + 9 Re = 13%
In this scenario, you should require at least a 13% return on your investment. If your analysis of the company suggests it will only grow at 8%, the stock is likely overvalued or too risky for the potential reward.
Why is Required Rate of Return Important?
Calculating the RRR is crucial for corporate finance and individual valuation. It serves as the discount rate in Discounted Cash Flow (DCF) analysis. By discounting future cash flows back to the present value using the RRR, investors can determine the fair intrinsic value of a stock.