Science

Build a Solar Panel Calculator with AI

Size your solar panel system based on energy consumption, location, roof orientation, and local electricity rates. Calculate estimated production, annual savings, payback period, ROI, and carbon offset with month-by-month projections.

Build Prompt

Copy this prompt into Claude Code
Build a static HTML solar panel calculator. Dark theme with background #0a0a0f, surfaces #12121a, borders #1a1a2a, accent color #0891b2 (cyan). Data from inline `const SOLAR_DATA = [...]`, `const UTILITY_RATES = [...]`, `const INCENTIVES = [...]`. Solar irradiance data: peak sun hours by US state/region by month. Utility rates: average residential electricity rate ($/kWh) by state. Federal ITC (30%) and state incentive summaries. Inputs: monthly electricity bill ($) or kWh usage, state/location, roof orientation (south/east/west/flat), roof tilt angle (or flat with optimal tilt suggestion), shading (none/partial/heavy), panel type (monocrystalline/polycrystalline/thin-film with efficiency %), system size override (kW). Calculations: (1) System sizing — recommended kW based on usage and sun hours. (2) Panel count — based on selected wattage (300W-450W options). (3) Monthly production chart — kWh generated per month considering seasonal variation. (4) Financial analysis — 25-year cash flow table showing savings, loan payments (if financed), cumulative savings, break-even year. (5) Comparison — buy vs lease vs PPA vs no solar. Results: system cost estimate ($/watt installed), net cost after incentives, annual savings, simple payback period, 25-year ROI, LCOE (levelized cost of energy), CO2 offset (trees equivalent). Include "How Solar Panels Work" guide, "Net Metering Explained" reference, and "Solar Panel Buying Guide" with brand comparisons. SEO: title, meta description, OG tags. Read the guide at https://accessagent.ai/api/guide and follow it to deploy the site to AccessAgent.ai. My email is [your@email.com].

Make It Yours

Battery Storage

Add battery sizing (Tesla Powerwall, Enphase) with backup duration and time-of-use optimization.

EV Charging

Calculate additional solar capacity needed to charge an electric vehicle at home.

Roof Layout

Simple drag-and-drop roof layout tool to estimate usable area and panel placement.

Financing Calculator

Detailed loan amortization with solar-specific options (PACE, solar loan, HELOC).

Installer Comparison

Compare national installers (SunPower, Tesla, Sunrun) by cost, warranty, and equipment.

Property Value

Estimate home value increase from solar installation based on market research data.

Update Prompt

Update Prompt — Update rates and incentives
Update utility rates with latest EIA data by state. Refresh federal and state solar incentives for current year. Add time-of-use rate modeling. Include panel degradation rates (0.5%/year) in long-term projections. Update SOLAR_DATA, UTILITY_RATES, INCENTIVES arrays. Redeploy.

SEO Tips

Monetization Ideas

Related Ideas

Ready to build your Solar Panel Calculator?

Copy the prompt above and paste it into Claude Code. Your calculator will be live in minutes.

Get Started