Equity Rate Calculator

Equity Rate Calculator (Cost of Equity – CAPM) :root { –primary-color: #2c3e50; –accent-color: #3498db; –bg-color: #f8f9fa; –text-color: #333; –border-radius: 8px; –white: #ffffff; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: var(–text-color); background-color: var(–bg-color); margin: 0; padding: 20px; } .container { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; } @media (max-width: 768px) { .container { grid-template-columns: 1fr; } } /* Calculator Styles */ .calculator-card { background: var(–white); padding: 30px; border-radius: var(–border-radius); box-shadow: 0 4px 15px rgba(0,0,0,0.1); position: sticky; top: 20px; height: fit-content; } .calc-header { margin-bottom: 25px; border-bottom: 2px solid #eee; padding-bottom: 10px; } .calc-header h2 { margin: 0; color: var(–primary-color); font-size: 1.5rem; } .input-group { margin-bottom: 20px; } .input-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.95rem; color: var(–primary-color); } .input-wrapper { position: relative; display: flex; align-items: center; } .input-wrapper input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: var(–border-radius); font-size: 1rem; transition: border-color 0.3s; } .input-wrapper input:focus { outline: none; border-color: var(–accent-color); box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2); } .suffix { position: absolute; right: 12px; color: #7f8c8d; font-weight: 500; } .btn-calculate { width: 100%; padding: 14px; background-color: var(–accent-color); color: white; border: none; border-radius: var(–border-radius); font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: background-color 0.2s; margin-top: 10px; } .btn-calculate:hover { background-color: #2980b9; } .result-box { margin-top: 25px; padding: 20px; background-color: #e8f4fc; border-radius: var(–border-radius); border-left: 5px solid var(–accent-color); display: none; } .result-box.visible { display: block; animation: fadeIn 0.5s ease; } .result-label { font-size: 0.9rem; color: #555; text-transform: uppercase; letter-spacing: 0.5px; } .result-value { font-size: 2.5rem; font-weight: 800; color: var(–primary-color); line-height: 1.2; } .result-breakdown { margin-top: 15px; padding-top: 15px; border-top: 1px solid #d1e3f0; font-size: 0.9rem; } .error-msg { color: #c0392b; font-size: 0.9rem; margin-top: 5px; display: none; } /* Content Styles */ .content-section { background: var(–white); padding: 30px; border-radius: var(–border-radius); box-shadow: 0 2px 10px rgba(0,0,0,0.05); } .content-section h1 { color: var(–primary-color); font-size: 2rem; margin-top: 0; } .content-section h3 { color: var(–accent-color); margin-top: 1.5em; } .formula-box { background: #f1f2f6; padding: 15px; border-radius: 4px; font-family: 'Courier New', monospace; font-weight: bold; text-align: center; margin: 20px 0; border: 1px solid #ddd; } table { width: 100%; border-collapse: collapse; margin: 20px 0; } th, td { border: 1px solid #ddd; padding: 12px; text-align: left; } th { background-color: #f1f2f6; } @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

Cost of Equity (Ke) Calculator

Based on the Capital Asset Pricing Model (CAPM)

%
Typically the 10-year Treasury yield.
Volatility relative to the market (>1 is volatile).
%
Historical average return of the index (e.g. S&P 500).
Please enter valid numerical values for all fields.
Required Rate of Return (Ke)
0.00%
Calculation Breakdown:
Risk Premium: 0.00%
Baseline Rate: 0.00%

Equity Rate Calculator: Understanding Cost of Equity

This Equity Rate Calculator determines the Cost of Equity (Ke) using the standard Capital Asset Pricing Model (CAPM). Unlike loan calculators that focus on debt service, this tool focuses on the required rate of return that equity investors demand based on the risk profile of an asset or company.

What is the Cost of Equity?

The Cost of Equity is the theoretical rate of return an investment must generate to be attractive to shareholders. If a company cannot generate a return greater than this rate, the stock price may decline as investors move their capital to better opportunities.

It represents the opportunity cost of investing in one specific equity over another with a similar risk profile.

The CAPM Formula

The calculator uses the Capital Asset Pricing Model formula, which mathematically links risk and expected return:

Ke = Rf + β × (Rm – Rf)

Where:

  • Ke: Cost of Equity (The result).
  • Rf (Risk-Free Rate): The return of a theoretical zero-risk investment, typically government treasury bonds (e.g., 3% to 4%).
  • β (Beta): A measure of a stock's volatility in relation to the overall market.
    • Beta = 1.0: Moves exactly with the market.
    • Beta > 1.0: More volatile/risky than the market.
    • Beta < 1.0: Less volatile/safer than the market.
  • Rm (Expected Market Return): The average historical return of the stock market (typically 8% to 10%).
  • (Rm – Rf): This is known as the Market Risk Premium.

Example Calculation

Imagine you are valuing a tech startup. The current 10-year Treasury bond yields 3.5% (Risk-Free Rate). The company is highly volatile with a Beta of 1.5. You expect the general market to return 10% annually.

Component Value
Risk-Free Rate (Rf) 3.5%
Beta (β) 1.5
Market Return (Rm) 10.0%
Equity Rate (Ke) 13.25%

Calculation: 3.5 + 1.5 * (10 – 3.5) = 13.25%

Why is this important?

For corporate finance professionals and investors, the Equity Rate is used to discount future cash flows to their present value. A higher Beta (higher risk) results in a higher Cost of Equity, which lowers the present value of the company, reflecting the "discount" investors demand for taking on extra risk.

function calculateEquityRate() { // 1. Get DOM elements var rfInput = document.getElementById("riskFreeRate"); var betaInput = document.getElementById("betaValue"); var rmInput = document.getElementById("marketReturn"); var errorDiv = document.getElementById("errorDisplay"); var resultBox = document.getElementById("resultBox"); var resultDisplay = document.getElementById("finalResult"); var premiumDisplay = document.getElementById("riskPremium"); var baselineDisplay = document.getElementById("baselineRate"); // 2. Parse values var rf = parseFloat(rfInput.value); var beta = parseFloat(betaInput.value); var rm = parseFloat(rmInput.value); // 3. Validation Logic if (isNaN(rf) || isNaN(beta) || isNaN(rm)) { errorDiv.style.display = "block"; resultBox.classList.remove("visible"); return; } else { errorDiv.style.display = "none"; } // 4. Calculate Market Risk Premium (Rm – Rf) var marketRiskPremium = rm – rf; // 5. Calculate Cost of Equity (Ke = Rf + Beta * Premium) // Order of operations: Multiply Beta by Premium first, then add Risk Free Rate var costOfEquity = rf + (beta * marketRiskPremium); // 6. Calculate sub-metrics for breakdown var riskPremiumTotal = beta * marketRiskPremium; // 7. Update DOM with results // Formatting to 2 decimal places resultDisplay.innerHTML = costOfEquity.toFixed(2) + "%"; premiumDisplay.innerHTML = riskPremiumTotal.toFixed(2) + "%"; baselineDisplay.innerHTML = rf.toFixed(2) + "%"; // 8. Show result box resultBox.classList.add("visible"); }

Leave a Comment