How this NPV & IRR calculator works
Most “energy ROI” calculators stop at a simple payback. Investors and banks look at something else: the cash flows year by year after opex, tax and debt, and three numbers derived from them: net present value, internal rate of return and the debt service coverage ratio. This calculator is a compact version of the project-finance models used for solar parks, wind farms and thermal plants.
You describe the plant (capacity, capacity factor, degradation, life), the economics (capex, fixed and variable opex with escalation, electricity price with escalation, residual value) and the financing (gearing, interest rate, tenor, tax rate, depreciation period, cost of equity and WACC). The model then builds a full cash-flow statement and solves for:
- Equity IRR and equity NPV at your cost of equity, i.e. what the sponsor earns;
- Project IRR and project NPV at the WACC, which measures the asset itself before financing;
- Minimum and average DSCR, which tell you whether the debt is bankable;
- Equity payback and LCOE.
The formulas
Worked example: a 20 MW solar park
The defaults model a 20 MW solar park at a 15% capacity factor (26,280 MWh in year 1) costing 13 million (650,000 per MW), with 260,000 per year opex escalating 2.5%, selling at 65 per MWh escalating 1.5% a year. Financing is 70% debt at 6% over 15 years, 20% corporate tax and 20-year straight-line depreciation.
- Year-1 revenue 1.71 million, EBITDA 1.45 million (85% margin)
- Debt of 9.1 million → annual debt service of about 937,000; minimum DSCR 1.49
- Project IRR ≈ 9.2%, project NPV at 6.5% WACC ≈ +3.5 million
- Equity IRR ≈ 14.1% on 3.9 million of equity, equity NPV at 10% ≈ +1.75 million
- Equity payback ≈ 8.3 years; LCOE ≈ 55 per MWh
The verdict calls it bankable: the equity return beats the 10% hurdle and DSCR stays well above the 1.20–1.35 that lenders ask for. Drop the price to 55 per MWh and the minimum DSCR falls to 1.25 while the equity IRR slides to about 9.3%. That is below the hurdle, so the equity NPV turns negative even though the project NPV is still positive.
How to read the results
- Equity IRR vs your cost of equity: if the IRR is higher, the equity NPV is positive and the project creates value for shareholders.
- Project IRR vs WACC: shows whether the asset is good on its own merits. A high equity IRR built on a weak project IRR is fragile.
- DSCR below 1.2 in any year signals that a lender would cut the debt amount or lengthen the tenor.
- The cash-flow chart stacks where each year’s revenue goes: opex, tax, lender and shareholders.
Typical financing assumptions
| Parameter | Contracted renewables (EU/US) | Merchant / emerging markets |
|---|---|---|
| Gearing | 65–80% | 40–60% |
| Debt tenor | 15–20 years | 7–12 years |
| Interest rate (all-in) | 4–7% | 7–12% |
| Minimum DSCR | 1.20–1.30 | 1.40–1.75 |
| Cost of equity | 7–10% | 12–20% |
| Corporate tax | 15–30% | 15–35% |
Tips
- Test the downside. Run a P90 energy case (−5 to −10% capacity factor) and a lower price; lenders size debt on these.
- Match tenor to contract length. Debt that outlives the PPA is exposed to merchant prices.
- Use the right capex. Include grid connection, development costs and contingency. Overruns hit equity first.
- Mind the tax shield. Accelerated depreciation (where allowed) raises equity IRR; set a shorter depreciation period to model it.
- Cross-check with LCOE. If the price you assume is below the LCOE at your WACC, the project NPV will be negative.
Limitations
This is a yearly model with an annuity loan, no construction period, no debt sizing or sculpting, no reserve accounts, VAT or working capital, and a single price curve. Real financial models run semi-annually, sculpt debt to a target DSCR and include P50/P90 cases, curtailment and balancing costs. Use it for screening and education; commission a full model before committing capital.
Method & assumptions
For each year: energy = MW × 8,760 × capacity factor × (1 − degradation)t−1; revenue = energy × price escalating yearly; EBITDA = revenue − fixed opex (escalating) − variable opex. Interest is charged on the outstanding loan balance; the annuity payment repays principal over the tenor. Taxable income = EBITDA − depreciation − interest (losses carried forward). Cash to equity = EBITDA − tax − debt service.
NPV = Σ CFt ÷ (1 + r)t; IRR is the r at which NPV = 0 (found by bisection). LCOE = PV(capex + opex) ÷ PV(energy) at the WACC.
Frequently asked questions
What is the difference between project IRR and equity IRR?
What is a good IRR for a solar or wind project?
What is DSCR and what value do banks require?
How do I calculate NPV for an energy project?
Should I use real or nominal rates?
Why is the equity cash flow jumping after the loan is repaid?
Sources & references
- IRENA (2024). Renewable Power Generation Costs in 2023 — cost of capital and financing assumptions
- NREL — System Advisor Model (SAM): financial models documentation
- IEA (2024). Cost of Capital Observatory
- Yescombe, E.R. & Farquharson, E. (2018). Principles of Project Finance, 2nd ed. Academic Press
Embed this calculator
Free for blogs, installers, schools and NGOs. Copy the code below; it updates itself automatically.