This WACC calculator finds a company's weighted average cost of capital from its equity, debt and optional preferred stock. Enter the cost of equity directly or build it with CAPM, add the pre-tax cost of debt and the tax rate, and it shows the weights, the after-tax cost of debt and every step to the final rate.
Below the tool are the formula, three problems worked by hand with the same numbers the calculator returns, a table of where each input comes from, and the mistakes that cost students points on corporate finance homework.
How to Use the WACC Calculator
- Enter the market value of equity (E). For a public company this is share price times shares outstanding. A 30-dollar stock with 20 million shares gives E = 600 million.
- Enter the value of debt (D). Use the market value of the bonds and loans if your problem gives it. Many textbook problems give book debt only, and that is acceptable when market value isn't available.
- Add preferred stock (P) if the company has it. Once P is above zero, a field for the cost of preferred stock appears. Leave P blank otherwise, and the calculator drops that term.
- Choose how to set the cost of equity. Type it directly, or switch to CAPM and enter the risk-free rate and beta, followed by either the market risk premium or the expected market return, whichever your problem gives.
- Enter the pre-tax cost of debt and the tax rate. The WACC calculator applies the tax shield for you, so don't reduce the cost of debt yourself first.
- Read the step table. The WACC calculator lists each weight, each component cost and its contribution to WACC, which is the working most instructors want to see.
Type rates as percentages, so 7 means 7%. Units for E, D and P don't matter as long as all three use the same one, whether dollars, thousands or millions. WACC is shown to two decimal places.
The WACC Formula and What Each Variable Means
WACC, the weighted average cost of capital, is the average return a firm must pay all of its investors, with each source of money weighted by its share of total financing. In the notation of OpenStax Principles of Finance, section 17.3:
WACC = (E/V) × Re + (P/V) × Rp + (D/V) × Rd × (1 − T)
| Symbol | Meaning | Typical Source in a Problem |
|---|---|---|
| E | Market value of common equity | Share price × shares outstanding |
| P | Market value of preferred stock | Preferred price × preferred shares |
| D | Market value of debt | Bond price × number of bonds, or book debt if that is all you have |
| V | Total capital, E + P + D | Sum of the three |
| Re | Cost of equity | CAPM or the dividend growth model |
| Rp | Cost of preferred stock | Preferred dividend ÷ preferred price |
| Rd | Pre-tax cost of debt | Yield to maturity on the firm's existing bonds |
| T | Corporate tax rate | Given in the problem; the US federal rate has been a flat 21% since 2018 |
Only debt gets the (1 − T) factor. Interest is deductible for the company, so each dollar of interest costs it less than a dollar after tax. Dividends on common and preferred stock are paid from after-tax profit, so the cost of equity and the cost of preferred stock enter at full value.
Cost of Equity with CAPM
When the cost of equity isn't given, most courses estimate it with the capital asset pricing model: Re = rf + β × MRP. Here rf is the risk-free rate (usually a Treasury yield), β is the stock's beta, and MRP is the market risk premium, the expected market return minus the risk-free rate. If your problem gives the expected market return instead of the premium, subtract rf first.
Cost of Debt and Cost of Preferred Stock
The cost of debt is what lenders demand today, which is the yield to maturity on the company's bonds, not the coupon printed on them. OpenStax prices Bluebonnet Industries' 6% coupon bonds at 97% of face and gets a YTM of 6.312%, which becomes 4.986% after a 21% tax rate. If you need to find a YTM from a bond price, the bond price calculator solves it. The cost of preferred stock is simpler: the annual preferred dividend divided by the preferred share price, so a 4-dollar dividend on a 50-dollar share costs 8%.
Three WACC Problems Worked by Hand
Example 1: Market Values, No Preferred Stock
A firm has 20 million shares trading at 30 dollars and bonds with a market value of 400 million. Its cost of equity is 12%, its bonds yield 7%, and the tax rate is 25%.
- E = 20 million × 30 = 600 million. V = 600 + 400 = 1,000 million.
- Weights: E/V = 0.60 and D/V = 0.40.
- After-tax cost of debt: 7% × (1 − 0.25) = 5.25%.
- WACC = 0.60 × 12% + 0.40 × 5.25% = 7.20% + 2.10% = 9.30%.
Enter E = 600, D = 400, a 12% cost of equity, a 7% cost of debt and a 25% tax rate, and the WACC calculator returns the same 9.30%.
Example 2: Cost of Equity from CAPM
The risk-free rate is 4%, beta is 1.2 and the market risk premium is 6%. The capital structure is 70% equity and 30% debt, the pre-tax cost of debt is 6%, and the tax rate is 21%.
- Cost of equity: 4% + 1.2 × 6% = 4% + 7.2% = 11.2%.
- After-tax cost of debt: 6% × (1 − 0.21) = 4.74%.
- Equity contribution: 0.70 × 11.2% = 7.84%. Debt contribution: 0.30 × 4.74% = 1.422%.
- WACC = 7.84% + 1.422% = 9.262%, or 9.26% to two decimals.
Example 3: Adding Preferred Stock
Equity is worth 500 million, preferred stock 100 million and debt 400 million. The costs are 13% for equity, 8% for preferred and 6.5% pre-tax for debt, with a 25% tax rate.
| Source | Value | Weight | Cost Used | Contribution |
|---|---|---|---|---|
| Common equity | 500 | 0.50 | 13% | 6.50% |
| Preferred stock | 100 | 0.10 | 8% | 0.80% |
| Debt (after tax) | 400 | 0.40 | 6.5% × 0.75 = 4.875% | 1.95% |
| Total | 1,000 | 1.00 | 9.25% |
With preferred stock in the mix, WACC still lands between the cheapest source (after-tax debt at 4.875%) and the most expensive (equity at 13%). The step table in the calculator follows this same layout, so you can copy it straight into your answer.
What Your WACC Result Tells You
WACC is the minimum return a project of average risk must earn to satisfy every investor, which is why textbooks call it the firm's hurdle rate. In capital budgeting it becomes the discount rate: put 9.30% from Example 1 into the NPV calculator as the rate, and any project with a positive NPV at that rate adds value.
- A lower WACC means cheaper financing, so more projects clear the bar and the firm's value is higher for the same cash flows.
- A higher WACC raises the bar and usually reflects riskier operations, a higher beta, or lenders demanding more.
- Risk differs by project. The company-wide WACC fits projects that look like the existing business. A riskier expansion needs a higher rate than the firm's WACC.
OpenStax also warns that any WACC is an estimate. Bluebonnet's WACC comes out at 11.33% with a CAPM cost of equity and 11.97% with the dividend growth model, from the same balance sheet. Show your assumptions and your grader can follow how you reached your WACC.
Why Your Answer Can Differ in the Last Digit
The calculator never rounds the weights before multiplying. Many textbooks do. OpenStax rounds Bluebonnet's debt weight from 24.4% to 24% in its final line and prints 11.33%; with the 24.4% weight carried through, the same inputs give about 11.35%. If you are off by a hundredth of a percent, compare how many decimals you kept in each weight.
Why More Debt Doesn't Keep Lowering WACC
Because debt is the cheapest source after tax, it is tempting to think a firm should borrow as much as possible to cut its weighted average cost of capital. In practice, more debt makes the remaining equity riskier, so beta and the cost of equity rise, and past some point lenders charge more as well. That trade-off is the capital structure question covered in OpenStax chapter 17.
Common WACC Mistakes on Homework
- Using book values when market values are given. With book equity of 200 instead of market equity of 600 in Example 1, the weights flip to one-third equity and two-thirds debt, and WACC drops to 7.50% instead of 9.30%.
- Forgetting the tax shield. Using the full 7% cost of debt in Example 1 gives a WACC of 10.00%, an error of 0.70 percentage points.
- Using the coupon rate as the cost of debt. The coupon was set when the bond was issued. Use the current yield to maturity, or your WACC reflects old borrowing costs.
- Plugging the market return into CAPM as if it were the premium. With rf = 4%, β = 1.2 and a 10% expected market return, the correct cost of equity is 4% + 1.2 × 6% = 11.2%. Writing 4% + 1.2 × 10% gives 16%. In the calculator, pick the expected market return option when that is the number you were given, and it subtracts rf for you.
- Taxing preferred dividends. The (1 − T) factor belongs to debt only.
- Weights that don't add to one. If E, P and D are entered correctly, the weights always sum to 1. When you work by hand, check this before multiplying.
- Mixing decimals and percents. Write 0.07 or 7% consistently. The calculator expects percentages.
WACC in Excel and on a Financial Calculator
Excel has no WACC function, so you build the weighted average cost of capital from its parts. Put E, D and P in cells, compute each weight as a cell divided by their sum, and finish with a SUMPRODUCT of the weights and the after-tax costs. On a BA II Plus or similar calculator there is no WACC worksheet either, so you work through the same weights and contributions as in the examples above. Either way, run the same inputs through the WACC calculator to check your spreadsheet before you submit, since a wrong cell reference shows up at once as a different WACC.
If a full cost of capital assignment has you stuck, from estimating beta to defending a capital structure, you can post it for finance homework help and work through it with a tutor. Problems that start from balance sheet figures, such as finding interest-bearing debt or book equity, sit closer to accounting homework help.