The problem
Solar panels are sold on a single headline figure — the system size in kilowatts — while the question a homeowner asks is different: how much will the monthly bill fall, and how many years until the panels pay for themselves. The Solar Rooftop Savings Estimator web app answers it. It takes three facts anyone can find at home — rooftop area, monthly bill and tariff — and turns them into an estimated system size, monthly generation, monthly saving and payback period, with every formula shown on screen. The tariff, system cost and export rate are editable inputs, so a student can test a small roof against a large bill and see exactly which input moves the payback. The demo was built and measured for a stated worked example — a 5 kW system on a 100 m² roof against a ₹3,000 monthly bill — computing 468 kWh of generation per month, a ₹3,279 monthly saving and a 7.0-year payback.
Enters rooftop area, monthly bill and tariff into the estimator.
Follow the working sequence
How it works
The estimator works in one line from inputs to verdict, with no server and no stored data. First it converts the monthly bill into monthly consumption by dividing the bill by the tariff, and it converts the rooftop area into the largest system that fits by taking 70% of the area as usable and allowing 10 m² per kilowatt. Then it estimates monthly generation as system size multiplied by 4.0 peak sun-hours per day, 30 days and a 0.78 performance ratio, which accounts for inverter losses, heat and dust. Generation is split into units used at home, valued at the full retail tariff, and units exported to the grid, valued at an editable ₹3.00 per kilowatt-hour. Monthly saving is the sum of those two values, annual saving is twelve times the monthly figure, and the payback period is the installed cost divided by the annual saving.
- The user enters rooftop area in square metres, the monthly electricity bill in rupees, and the tariff in rupees per kilowatt-hour.
- The app derives monthly consumption (bill divided by tariff) and the largest system that fits the roof (70% usable area, 10 m² per kilowatt).
- The user picks a system size with a slider; the app estimates monthly generation from system size, 4.0 peak sun-hours per day, 30 days and a 0.78 performance ratio.
- Generation is split into self-consumed units (valued at the full tariff) and exported units (valued at ₹3.00 per kilowatt-hour).
- The app computes monthly saving, annual saving, bill after solar and the payback period, and prints a verdict line for the chosen setup.
- The comparison view repeats the calculation for 3 kW, 5 kW and 7 kW, and the 25-year view charts cumulative saving with 0.5% per year degradation.
Tech stack:
- HTML5 · CSS3 (single-file web app)
- JavaScript (ES6, client-side calculation engine)
- CSS Grid · Flexbox responsive layout
- Browser range sliders and live DOM updates
- No server, no database, no build step
| Parameter | Value |
|---|---|
| Rooftop area input range | 20–300 m² (slider range) |
| Usable roof fraction | 70% (design assumption) |
| Roof area per kilowatt | 10 m² per kW (design assumption) |
| Peak sun-hours | 4.0 hours per day (design assumption) |
| Performance ratio | 0.78 (design assumption) |
| Worked-example generation | 468 kWh per month (measured from the demo build) |
| Worked-example monthly saving | ₹3,279 per month (measured from the demo build) |
| Worked-example payback | 7.0 years (design estimate, measured from the demo build) |
| Worked-example system cost | ₹2,75,000 one-time (design estimate at ₹55,000 per kW) |
| 25-year cumulative saving | ₹9,27,038 (design estimate, 5 kW worked example) |
| CO₂ avoided | 4.6 tonnes per year (approximate) |
| Export rate | ₹3.00 per kWh (design assumption, editable) |
| Runs on | Any modern browser, no server or installation needed |
Project features
The Solar Rooftop Savings Estimator ships with four capabilities that matter most to a homeowner weighing a purchase. The live estimator is the core: sliders for rooftop area, monthly bill, tariff and system size recompute generation, saving and payback instantly, with the formula printed beside the inputs so nothing is hidden. The system-size comparison puts 3 kW, 5 kW and 7 kW side by side on the same roof and bill, showing why the largest system is not always the fastest to pay back. The 25-year savings view charts cumulative saving with a 0.5% per year degradation assumption, so the long-term picture is visible instead of a single first-year figure. Finally, every assumption — peak sun-hours, performance ratio, export rate and cost per kilowatt — is an editable input or a labelled design assumption, so the student can defend each number in a viva instead of quoting a black-box result.
- [Live savings estimator] Sliders for rooftop area, monthly bill, tariff and system size recompute generation, monthly saving, annual saving and payback instantly, with a plain-language verdict line for the chosen setup. (Implemented)
- [System-size comparison] A side-by-side table for 3 kW, 5 kW and 7 kW systems on the same roof and bill, showing generation, monthly saving, cost, payback and 25-year saving for each size. (Implemented)
- [25-year savings view] A bar chart of cumulative saving at years 5, 10, 15, 20 and 25, with a 0.5% per year panel-degradation assumption and a break-even year. (Implemented)
- [Editable cost and tariff inputs] Tariff, installed cost per kilowatt and export rate are user-editable, so the estimate can be re-run for any city, tariff slab or vendor quotation. (Implemented)
- [Formula transparency panel] The exact generation, saving and payback formulas are printed inside the app next to the inputs, so every result can be checked by hand. (Implemented)
- [CO₂ avoided estimate] Annual and 25-year carbon dioxide avoided, computed from generation at 0.82 kg CO₂ per kWh of grid electricity (approximate grid factor). (Implemented)
- [Save or print the estimate as a PDF] An export button that saves the current estimate as a printable summary for sharing with a homeowner or vendor. (Optional — can be added on request, not in the base build)
- [Location-based sunshine data] A future extension that pulls city-wise sunshine hours from a weather service instead of the fixed 4.0 peak sun-hours per day assumption. (Future scope — not in the base build)
What is included
- Complete single-file working web app (HTML/CSS/JS) with estimator, comparison and 25-year views
- Worked example with measured demo figures (5 kW, 100 m² roof, ₹3,000 bill)
- Project report PDF (abstract) matching the page
- Setup and usage guide for running the demo
- PPT presentation for final review
- Viva Q&A preparation document (solar sizing, payback maths, tariff and export assumptions)
Limitations & prerequisites
- Generation uses a fixed 4.0 peak sun-hours per day (design assumption); real output varies with city, season, roof direction and shading, so a site survey is needed for a firm figure.
- The export rate is a fixed ₹3.00 per kWh assumption; actual net-metering rates differ by state and electricity distributor.
- System cost is a user-editable ₹55,000 per kW assumption, not a vendor quotation; real quotes vary by panel brand, inverter and installer.
- No subsidy or scheme figure is included anywhere, so the payback shown is before any incentive the buyer may receive.
- The estimator covers grid-tied rooftop systems only; off-grid systems with batteries are out of scope.
- The CO₂ figure uses a fixed 0.82 kg CO₂ per kWh grid factor (approximate) and ignores manufacturing emissions of the panels.
Frequently Asked Questions
How does the estimator calculate the payback period?
Payback is the total installed system cost divided by the annual saving, where annual saving is twelve times the monthly saving. Monthly saving is the self-consumed solar units valued at the full retail tariff plus the exported units valued at ₹3.00 per kilowatt-hour. The worked example in the demo makes this concrete: a 5 kW system costing ₹2,75,000 saves ₹3,279 per month, or ₹39,348 per year, so the payback is 7.0 years. Every input to that calculation — tariff, cost per kilowatt, export rate, sun-hours — is shown on screen and editable.
What inputs do I need to use the estimator?
You need only three facts: the rooftop area in square metres, the monthly electricity bill in rupees, and the tariff in rupees per kilowatt-hour. The app derives the rest itself, including monthly consumption and the largest system that fits the roof. System cost per kilowatt is pre-filled at ₹55,000 and can be changed to match a real vendor quotation, and generation follows from the system size and the labelled assumptions shown in the app.
Does the estimate include any government subsidy?
No. The estimator deliberately includes no subsidy or scheme figure, because those figures change and vary by state, and an estimate that bakes one in goes stale and cannot be defended in a viva. The system-cost input is editable, so a buyer with a quotation that already accounts for an incentive can enter that final cost and re-run the payback. The page states this plainly rather than quoting a scheme number it cannot verify, and the payback shown is therefore before any incentive the buyer may receive.
Can the estimator be customised for my city or college?
Yes. The tariff, system cost, export rate and system size are all editable inputs, and the fixed assumptions — 4.0 peak sun-hours per day, 0.78 performance ratio, 0.5% per year degradation — are labelled in the app and in the report. A team can re-tune those assumptions for its own city, add a location-based sunshine lookup as future scope, or restyle the app for a college demonstration. The calculation engine is plain JavaScript in one file, so changes are small and reviewable.
Is this project suitable for a final-year project?
Yes — for Computer Science, IT and Web Development programs. It demonstrates front-end engineering, a real calculation engine with verifiable maths, data visualisation and an honest treatment of assumptions and limitations. The student can explain every number in the demo from first principles, which is exactly what a viva panel tests. There is no hidden model and no black box here, just inputs, formulas and results that can be checked by hand, and the calculation engine is plain JavaScript in one file, so the whole working can be walked through live in a demonstration.
Does the app need the internet or a server to run?
No. The estimator is a single self-contained HTML file with no server, no database and no external service calls, so it runs offline in any modern browser once downloaded. Nothing the user types leaves their own browser, because there is no user data to store or protect. Hosting it online is optional and needs only static file hosting, since the file has no back-end component at all.
Components & software requirements
- HTML5 · CSS3 (single-file web app)
- JavaScript (ES6, client-side calculation engine)
- CSS Grid · Flexbox responsive layout
- Browser range sliders and live DOM updates
- No server, no database, no build step
Delivery information
Built-to-order project. Delivery timeline is shared after order confirmation based on current queue.
Support terms
Complete documentation, setup guide, and viva preparation included. Support for setup and explanation provided.
Download free synopsis (PDF)
Enter your name and WhatsApp number — the synopsis PDF downloads immediately. We may send occasional project updates on WhatsApp; no spam.