Definition X

XIRR (Solar)

Extended Internal Rate of Return — a financial metric that calculates the annualized return on solar investments with irregular cash flows occurring on specific dates.

Updated Mar 2026 5 min read
Akash Hirpara

Written by

Akash Hirpara

Co-Founder · SurgePV

Rainer Neumann

Edited by

Rainer Neumann

Content Head · SurgePV

Key Takeaways

  • XIRR calculates the annualized return rate for cash flows that occur on specific, irregular dates
  • More accurate than standard IRR for solar because solar cash flows are rarely equally spaced
  • Accounts for the exact timing of installation costs, incentive payments, and energy savings
  • Typical residential solar XIRR ranges from 8–20% depending on system cost, incentives, and electricity rates
  • Directly comparable to other investment returns (stocks, bonds, real estate)
  • Solar software with integrated financial modeling calculates XIRR automatically from project data

What Is XIRR?

XIRR (Extended Internal Rate of Return) is a financial metric that calculates the annualized rate of return for a series of cash flows that occur on specific dates. Unlike the standard IRR function, which assumes equal time periods between cash flows, XIRR handles the irregular timing that characterizes real solar project finances.

Solar investments involve cash flows that don’t fall on neat annual intervals: the installation payment might happen in March, the federal tax credit arrives in April of the following year, monthly electricity savings vary seasonally, and state incentives may arrive on different schedules. XIRR accounts for all these timing differences.

XIRR is the most accurate way to express solar investment returns because it handles real-world cash flow timing. A solar system with XIRR of 15% means the investment is growing at an annualized rate of 15% when you account for the exact dates of every dollar in and out.

How XIRR Calculation Works

The XIRR calculation follows a defined process:

1

Map All Cash Flows with Dates

List every cash flow associated with the solar investment: initial cost (negative), tax credits, incentive payments, monthly energy savings, maintenance costs, and eventual salvage value — each with its specific date.

2

Set Up the XIRR Equation

The XIRR equation sets the sum of all present-valued cash flows equal to zero. Each cash flow is discounted based on the number of days between its date and the first cash flow date.

3

Solve Iteratively

XIRR uses numerical iteration (Newton’s method or similar) to find the discount rate that makes the net present value of all cash flows equal to zero. This rate is the XIRR.

4

Express as Annual Rate

The result is expressed as an annualized percentage. This can be directly compared to returns from other investments — savings accounts, stock market, bonds, or real estate.

XIRR Equation
0 = Σ [CFi / (1 + XIRR)^((di − d0) / 365)]

XIRR vs. Other Return Metrics

Understanding when to use XIRR versus alternative metrics:

Most Accurate

XIRR

Handles irregular cash flows with specific dates. Best for solar because installation costs, incentives, and savings occur on different schedules. Provides a true annualized return rate.

Simplified

IRR

Assumes equal time periods between all cash flows. Adequate for annual analysis but loses accuracy when cash flows are monthly or irregularly timed. May over- or under-state returns.

Absolute Value

NPV (Net Present Value)

Shows the total dollar value of the investment at a given discount rate. Useful for comparing projects of different sizes but doesn’t express returns as a rate. Requires an assumed discount rate.

Simple

Simple Payback

Time to recoup the initial investment. Easy to understand but ignores the time value of money, cash flows after payback, and incentive timing. Not suitable for investment comparison.

Designer’s Note

When building solar financial models in generation and financial tools, always include XIRR alongside simpler metrics like payback period. Sophisticated customers (especially commercial clients) evaluate investments using XIRR because it’s directly comparable to their cost of capital.

Key Inputs for Solar XIRR

Accurate XIRR calculation requires comprehensive cash flow modeling:

Cash Flow ComponentTimingTypical Value
System CostDay 0 (installation)-$15,000 to -$35,000 (residential)
Federal ITC (30%)Tax filing date (Year 1)+$4,500 to +$10,500
State/Local IncentivesVaries by program+$500 to +$5,000
Monthly Energy SavingsMonthly, ongoing+$80 to +$250/month
Utility Rate EscalationAnnual increase2–4% per year
Annual MaintenanceAnnual-$150 to -$300
Inverter ReplacementYear 12–15-$1,500 to -$3,000
System DegradationAnnual decline-0.4 to -0.6% of production
Monthly Savings Calculation
Monthly Savings = kWh Produced × Utility Rate × (1 + Rate Escalation)^Year

Practical Guidance

XIRR analysis serves different purposes for different stakeholders:

  • Model actual incentive timing. Don’t assume the ITC arrives on day 1. Model it at the customer’s likely tax filing date (April of the following year). This 12–16 month delay reduces XIRR compared to day-1 assumptions.
  • Include degradation in production forecasts. Panel degradation of 0.4–0.6% annually reduces energy savings each year. Solar design software should apply degradation curves automatically to the financial model.
  • Run sensitivity analysis. Show how XIRR changes with different utility rate escalation assumptions (1%, 3%, 5%). This gives customers a range of outcomes rather than a single-point estimate.
  • Include inverter replacement costs. For string inverter systems, model a replacement cost at year 12–15. This negative cash flow reduces XIRR but provides a more honest financial picture.
  • Use XIRR for project-level analysis. When evaluating different system configurations (panel types, inverter options, battery add-on), XIRR captures the full financial impact including upfront cost differences and long-term performance variations.
  • Compare financed vs. cash scenarios. Loan payments change the cash flow timing dramatically. Model XIRR for both cash purchase and financed scenarios — the results can differ significantly.
  • Account for tax implications accurately. The ITC is a tax credit, not a refund. If the customer’s tax liability is lower than the credit, the benefit may be spread across multiple years, changing the XIRR.
  • Model MACRS depreciation for commercial. Commercial systems benefit from accelerated depreciation (MACRS). These tax benefits significantly increase XIRR for business owners and should be modeled year by year.
  • Frame XIRR comparatively. “Your solar system has an XIRR of 14%” is less impactful than “Your solar system returns 14% annually — compared to 5% from a savings account or 10% historical stock market average.”
  • Show XIRR at multiple time horizons. XIRR at 10 years, 15 years, and 25 years tells different stories. Short-term XIRR is driven by incentives; long-term XIRR is driven by energy savings and rate escalation.
  • Be conservative with assumptions. Over-promising returns erodes trust. Use moderate utility rate escalation (2–3%), include maintenance costs, and use warranted (not expected) degradation rates.
  • Explain XIRR simply. “XIRR tells you the annual percentage return your solar investment earns — like an interest rate, but for your solar system instead of a bank account.”

Calculate Solar XIRR Automatically

SurgePV’s financial engine computes XIRR from your design data, local incentives, and utility rates — ready for customer proposals.

Start Free Trial

No credit card required

Real-World Examples

Residential: Cash Purchase XIRR

A homeowner in California installs an 8 kW system for $24,000. Cash flows: -$24,000 (March 2026), +$7,200 ITC (April 2027), +$200/month energy savings increasing 3% annually, -$200/year maintenance, -$2,500 inverter replacement (Year 13). Over 25 years, the XIRR is 13.8%. The ITC timing delay (13 months) reduces XIRR by about 1.5% compared to a model that assumes day-1 credit.

Residential: Financed System XIRR

The same system financed with a $24,000 solar loan at 5.99% APR over 15 years. Monthly loan payments of $202 replace the upfront cost. Monthly net cash flow is approximately -$2/month for the first year (savings minus loan payment), turning positive as utility rates escalate. The XIRR for the financed scenario is 8.2% — lower than cash purchase because the loan interest reduces net returns. However, the homeowner’s out-of-pocket day-1 cost is zero.

Commercial: 200 kW System with MACRS

A business installs a 200 kW system for $360,000. With the 30% ITC ($108,000), MACRS depreciation ($252,000 over 5 years at a 21% tax rate = $52,920 in tax savings), and $48,000/year in energy savings growing at 3%, the XIRR reaches 22.4% over 25 years. The accelerated depreciation front-loads returns, making solar one of the highest-returning capital investments available to businesses.

Impact on Financial Modeling

XIRR analysis influences how solar systems should be modeled:

Modeling DecisionImpact on XIRR
Higher utility rate escalationIncreases XIRR (savings grow faster)
Delayed incentive paymentDecreases XIRR (money has time value)
Panel degradationDecreases XIRR (less savings each year)
Inverter replacementDecreases XIRR (mid-life expense)
Battery storage additionMay increase or decrease XIRR depending on TOU rates
MACRS depreciation (commercial)Significantly increases XIRR
Pro Tip

When presenting XIRR to customers, always disclose your assumptions: utility rate escalation, system degradation, maintenance costs, and incentive timing. Transparent modeling builds trust and reduces the risk of customer disappointment if actual results differ from projections.

Frequently Asked Questions

What is XIRR in solar energy investments?

XIRR (Extended Internal Rate of Return) is a financial metric that calculates the annualized rate of return on a solar investment, accounting for the exact timing of each cash flow. It factors in the system purchase cost, tax credits, incentive payments, monthly energy savings, maintenance costs, and any other financial flows — all on their specific dates. This makes it more accurate than simple payback or standard IRR calculations.

What is a good XIRR for a solar investment?

A residential solar cash purchase typically yields XIRR of 10–20%, depending on system cost, local electricity rates, incentives, and sunshine. Commercial systems with MACRS depreciation can exceed 20%. For comparison, the historical stock market average is roughly 10% annually. Any solar XIRR above the homeowner’s cost of capital (or alternative investment return) represents a financially sound decision.

How is XIRR different from IRR?

Standard IRR assumes cash flows occur at equal intervals (e.g., annually). XIRR uses the actual dates of each cash flow, making it more precise. For solar, this matters because the upfront cost, tax credit, and monthly savings all occur on different schedules. IRR might assume the tax credit arrives exactly one year after installation, while XIRR uses the actual date — which could be 6 or 16 months later, affecting the calculated return.

Does financing affect solar XIRR?

Yes, significantly. Financing changes the timing and magnitude of cash flows. A cash purchase has a large negative cash flow on day 1 followed by positive savings. A financed system has small monthly negative cash flows (loan payments) partially offset by energy savings. Financed XIRR is typically lower than cash purchase XIRR because loan interest reduces net returns. However, the customer’s return on their out-of-pocket investment (which may be zero with a solar loan) can be viewed differently.

About the Contributors

Author
Akash Hirpara
Akash Hirpara

Co-Founder · SurgePV

Akash Hirpara is Co-Founder of SurgePV and at Heaven Green Energy Limited, managing finances for a company with 1+ GW in delivered solar projects. With 12+ years in renewable energy finance and strategic planning, he has structured $100M+ in solar project financing and improved EBITDA margins from 12% to 18%.

Editor
Rainer Neumann
Rainer Neumann

Content Head · SurgePV

Rainer Neumann is Content Head at SurgePV and a solar PV engineer with 10+ years of experience designing commercial and utility-scale systems across Europe and MENA. He has delivered 500+ installations, tested 15+ solar design software platforms firsthand, and specialises in shading analysis, string sizing, and international electrical code compliance.

Explore More Solar Terms

Browse 300+ terms in our complete solar glossary — or see how SurgePV puts these concepts into practice.

No credit card required · Full access · Cancel anytime