Solar panel calculator

How many solar panels do I need?

Size a solar PV array from your daily electricity use, local peak sun hours, system losses, and panel wattage. Also estimates roof area and an off-grid battery bank using depth-of-discharge and round-trip efficiency.

Solar panel calculator

Array and storage sizing

Recommended solar array7.42 kW
Panel count18 panels
Roof area401 sq ft
Annual energy10.2K kWh
Battery bank51.9 kWh

How the math works

How the math works

  • Required PV size (kW) = Daily kWh ÷ (Peak sun hours × (1 − system loss)). NREL's PVWatts uses ~14% combined loss; 18% is conservative for residential rooftops with shading and soiling.
  • Panel count = ⌈Required kW × 1000 ÷ Panel wattage⌉.
  • Battery bank (kWh) = Daily kWh × Autonomy days ÷ (Depth of discharge × Round-trip efficiency). LiFePO4 supports 80–95% DoD; lead-acid is safe at 50%.
  • Roof area ≈ Panel count × Panel area. A 420 W panel is roughly 22 ft²; the calculator scales this with wattage.

Worked examples

Worked examples

Phoenix, AZ — 30 kWh/day grid-tied

30 kWh/day at 5.7 PSH and 18% loss → 6.4 kW array → 16 × 420 W panels on ~352 ft².

Boston, MA — 22 kWh/day grid-tied

22 kWh/day at 4.0 PSH and 18% loss → 6.7 kW → 17 × 400 W panels on ~360 ft². Winter clipping is acceptable for net metering.

Off-grid cabin — 8 kWh/day, 2 days autonomy

8 kWh × 2 ÷ (0.9 × 0.9) = 19.8 kWh LiFePO4 battery bank. Pair with a 3.5 kW PV array at 4.5 PSH to recover within one sunny day.

Solar panel sizing FAQ

Solar panel sizing FAQ

How do I find my peak sun hours?

Use NREL PVWatts or the NREL National Solar Radiation Database for your ZIP code. Typical US ranges: 6+ in the Southwest, 4–5 in the Midwest and Northeast, 3.5–4 in the Pacific Northwest.

What system loss should I use?

PVWatts defaults to 14% (inverter 4%, soiling 2%, wiring 2%, shading 3%, mismatch 2%, availability 3%). Use 18% for shaded roofs, dusty climates, or string inverters; 12% for microinverters with clean conditions.

Do I need batteries with grid-tied solar?

Only if your utility uses NEM 3.0 export rates (California IOUs) or you want outage backup. Most net-metered markets pay back faster without batteries.

How long do solar panels last?

Tier-1 modules carry 25- or 30-year linear performance warranties to ~85% of original output. Real-world degradation is 0.4–0.5%/year median per NREL.

What's the difference between AC and DC kW?

DC kW is the panel nameplate. AC kW is what reaches the grid after the inverter. The calculator returns DC kW; multiply by 0.95–0.97 for AC.

Calculator directory

Choose the right EV, solar, and battery calculator

EV charging time calculator

Enter your battery capacity, starting and target state of charge, and charger output to estimate charging time, the kWh pulled from the wall, and your cost per session — all from open, transparent formulas.

Open calculator

Solar panel calculator

Size a solar PV array from your daily electricity use, local peak sun hours, system losses, and panel wattage. Also estimates roof area and an off-grid battery bank using depth-of-discharge and round-trip efficiency.

Open calculator

Battery runtime calculator

Enter your battery capacity in watt-hours, the running load, idle standby draw, usable depth-of-discharge, and inverter efficiency to estimate practical runtime for a Jackery, EcoFlow, Bluetti, APC UPS, or any custom 12 / 24 / 48 V bank.

Open calculator

Home battery backup calculator

Add up critical loads (fridge, well pump, internet, a few lights), pick how many hours per day you need them, set a target number of backup days, and the calculator returns the battery bank size and how much solar recharge offsets the draw each day.

Open calculator

EV road trip calculator

Estimate stops, charging time, and drive time from route distance, EV range, battery capacity, departure SOC, reserve SOC, target stop SOC and DC charger power.

Open calculator

Solar payback calculator

Apply the 30% federal ITC, model 0.5%/year panel degradation and 3%/year rate inflation, and see year-by-year cumulative savings until the system breaks even.

Open calculator

Net metering calculator

Compare a solar bill under traditional 1:1 net metering vs export-only credits (e.g. CA NEM 3.0). Get monthly net cost, exported kWh, self-consumption ratio, and annualized totals.

Open calculator

Heat pump vs gas calculator

Convert your annual heating demand to kWh and therms with COP and AFUE, then compare yearly fuel cost and CO₂. Uses EPA grid average 0.39 kg CO₂/kWh and 5.3 kg CO₂/therm.

Open calculator

Generator sizing calculator

List your running watts and the largest motor (well pump, AC compressor, fridge), apply LRA-based starting surge, and add a safety factor for fuel headroom and altitude derating.

Open calculator

Solar lease vs buy calculator

Model cash purchase (with 30% ITC) versus a 25-year lease with annual escalator. Inputs: system cost, lease payment year 1, escalator %, annual production, retail rate.

Open calculator

Solar panel tilt calculator

Get the year-round optimal tilt (≈ latitude), summer tilt (latitude − 15°) and winter tilt (latitude + 15°), plus expected production gain from seasonal adjustment.

Open calculator

Solar inverter sizing calculator

NREL and SEIA recommend a DC:AC ratio of 1.15–1.30. Higher ratios cost less per AC watt but cause midday clipping. Find the sweet spot for your location.

Open calculator

Wind turbine calculator

Estimate annual kWh from rotor swept area, average wind speed, air density, capacity factor and turbine efficiency. Uses the Weibull-corrected power equation.

Open calculator

EV total cost of ownership calculator

Sum purchase price (minus federal tax credit), fuel/electricity, insurance, maintenance and registration over 5 years. Default electricity 4.0 mi/kWh, gas 28 mpg.

Open calculator