Levelized Cost of Energy Calculator Formula
Understand the math behind the levelized cost of energy calculator. Each variable explained with a worked example.
Formulas Used
Levelized Cost of Energy
lcoe = total_cost / total_energyLCOE in cents
lcoe_cents = total_cost / total_energy * 100Total Lifetime Cost
total_lifetime_cost = total_costVariables
| Variable | Description | Default |
|---|---|---|
capital_cost | Total Capital Cost(USD) | 50000 |
annual_output_kwh | Annual Energy Output(kWh) | 10000 |
annual_opex | Annual Operating Cost(USD/yr) | 500 |
lifetime_years | Project Lifetime(years) | 25 |
total_cost | Derived value= capital_cost + annual_opex * lifetime_years | calculated |
total_energy | Derived value= annual_output_kwh * lifetime_years | calculated |
How It Works
Levelized Cost of Energy (LCOE)
LCOE is the average cost per unit of energy over the entire lifetime of a generating asset, allowing fair comparison between different energy sources.
Simplified Formula
LCOE = (Capital Cost + Lifetime Operating Costs) / Lifetime Energy Output
A full LCOE includes discounting future costs and energy, but this simplified version gives a useful first approximation. Lower LCOE means cheaper energy.
Worked Example
A $50,000 solar system produces 10,000 kWh/year with $500/year maintenance over 25 years.
capital_cost = 50000annual_output_kwh = 10000annual_opex = 500lifetime_years = 25
- 01Total cost = $50,000 + ($500 x 25) = $62,500
- 02Total energy = 10,000 x 25 = 250,000 kWh
- 03LCOE = $62,500 / 250,000 = $0.25/kWh
- 04That is 25 cents per kWh
Ready to run the numbers?
Open Levelized Cost of Energy Calculator