LCOE Is the Only Number That Matters for Energy Investing (Here's How to Calculate It)

The One Number That Rules Energy Investing

There's one number that matters for energy investing: LCOE.

Levelized Cost of Energy. $/MWh over the project lifetime.

It's how you compare:

  • Solar to wind
  • Onshore to offshore
  • New build to retrofit
  • Any energy source to any other

Everything else is noise.

The Formula

LCOE = Total Lifecycle Cost (NPV) / Total Lifetime Energy (NPV)

That's it. Total cost divided by total energy, both discounted to present value.

What Goes Into the Calculation

Costs:

  • CAPEX - Upfront capital investment
  • Annual O&M - Operations and maintenance costs each year
  • Fuel costs - Zero for renewables, significant for gas/coal
  • Decommissioning - End-of-life costs (often overlooked)

Energy:

  • Annual generation - MWh produced per year
  • Degradation - Solar panels lose ~0.5% efficiency annually
  • Capacity factor - Actual output vs. rated capacity

Financial:

  • Discount rate - Your cost of capital (typically 6-10%)
  • Project lifetime - Usually 20-30 years for renewables

A Real Example

ParameterValue
TechnologySolar PV
Capacity100 MW
CAPEX$80,000,000
Annual O&M$800,000/year
Annual Generation200,000 MWh
Project Lifetime25 years
Discount Rate8%
Degradation0.5%/year

Result: LCOE = ~$42/MWh

That's your target to beat. If another project has a higher LCOE, you need a good reason to choose it.

Why LCOE Matters More Than Other Metrics

vs. IRR

IRR tells you the return, but not whether the project is the best use of capital. LCOE tells you if you're producing energy efficiently.

vs. NPV

NPV is scale-dependent. A 1GW project will have higher NPV than a 100MW project, but that doesn't mean it's more efficient. LCOE normalizes for scale.

vs. Payback Period

Payback period ignores what happens after payback. A project that pays back in 5 years but produces expensive energy for 20 more years is worse than one that pays back in 7 years with cheap energy.

The Sensitivity Analysis

LCOE is sensitive to a few key inputs:

  • Discount rate: +1% discount rate ≈ +$3-4/MWh
  • Capacity factor: -5% capacity factor ≈ +$2-3/MWh
  • CAPEX: +10% CAPEX ≈ +$4-5/MWh
  • O&M costs: Less sensitive, but compounds over 25 years

Understanding these sensitivities helps you assess project risk.

Our Open-Source LCOE Calculator

We built an open-source LCOE calculator that runs entirely in Python. No dependencies. Takes JSON in, gives analysis out.

It also does:

  • Sensitivity analysis - What if discount rate changes?
  • Project comparison - Which site wins?
  • Technology breakdown - Solar vs wind vs storage
  • Annual cash flow - See costs year by year

Try Our Free LCOE Calculator

Calculate the levelized cost of energy for any project. No signup required.

Open Calculator

The Bottom Line

If you're evaluating energy projects and not leading with LCOE, you're doing it wrong.

Everything else is context. LCOE is the decision.


Use it, fork it, improve it. Our LCOE calculator is open source and free to use.

More Insights

Sustainability

Your AI Training Cluster Thirsty? Let's Talk Water.

We ran the numbers: A 10k H100 cluster can consume 2 million gallons of water a month. Here is the math and the engineering fix.

AI Architecture

Why We Stopped Building a 'Platform'

Traditional SaaS is too slow for energy markets. We pivoted to 'Autonomous Organization as a Service'—software that works while you sleep.

Technical

The 'Context Tax': How We Slashed Agent Costs by 99%

Giving an agent 30 tools costs $0.45 per run. We implemented a 'Code-First Skills' pattern to drop that to $0.003.

Industry

Google Maps for Electrons: Why 'Tapestry' Matters

Grid interconnection is the #1 bottleneck for AI. Google X's Tapestry project is trying to virtualize the grid to fix it.

Investment

Why We Trust Prediction Markets More Than TechCrunch

News tells you what happened yesterday. Markets tell you what will happen tomorrow. We built an agent to trade on the difference.

Compliance

The Hidden Climate Clause in the EU AI Act

Starting August 2025, mandatory environmental reporting kicks in for AI models. Most CTOs are completely unprepared.

AI Architecture

Six Agents, One Room, No Agreement

We forced our AI agents to fight. The 'Bull' vs. The 'Bear'. The result was better decisions than any single model could produce.

Sustainability

The Schedule That Waits for the Wind

Grid carbon intensity varies by 3x throughout the day. We built a scheduler that pauses AI training when the grid is dirty.

Technical

The Intelligence Feed That Builds Itself

We didn't want to pay for a Bloomberg terminal, so we wrote a 950-line TypeScript scraper that builds our own intelligence feed.