The problem
A college campus burns electricity in classrooms, labs and hostels, runs buses and generator sets, produces canteen and hostel waste, and consumes treated water every day, yet most campuses have no single number for the greenhouse gases all of that activity creates. Sustainability cells that want to act usually work from scattered electricity bills, fuel registers and waste logs, so they cannot say which department or which source contributes most, and reduction plans are argued from opinion rather than evidence. The Web-Based Carbon Footprint Tracker for College Campuses closes that gap: it collects monthly readings for electricity, transport fuel, waste and water, converts each one with a configurable emission factor into tonnes of CO2e, and presents the result as a per-department dashboard with a monthly trend and a reduction-target tracker. The project demonstrates full-stack web development, database design and applied environmental accounting in one build, and gives a campus a defensible starting point for its sustainability reporting.
Electricity, fuel, waste and water readings each month.
Follow the working sequence
How it works
The system runs end to end in four stages. A sustainability officer enters the month's readings — electricity from the meter or bill, fuel from the vehicle log, waste from weighbridge or estimate records, and water from the supply meter — into a validated web form for one of 6 departments. The backend multiplies each activity figure by its emission factor (electricity 0.82 kg CO2e per kWh, petrol 2.31 kg CO2e per litre, waste 0.45 kg CO2e per kg, water 0.30 kg CO2e per kilolitre by default) and stores the resulting tonnes of CO2e per category in MySQL. The dashboard then aggregates those rows into KPI cards, a monthly trend chart, a source-wise split and a department table, so the campus total and the biggest contributor are visible at a glance. Finally, the reports view compares the rolling average against a 10% reduction target and exports the monthly summary as a CSV file for the sustainability committee.
- The sustainability officer opens the Log Data screen, selects the month and department, and enters the 4 activity readings — electricity in kWh, fuel in litres, waste in kg and water in kilolitres.
- The form validates every figure (numeric, non-negative, all 4 categories required) and shows a live CO2e preview computed from the current emission factors before saving.
- The PHP backend multiplies each activity figure by its emission factor and stores the per-category tonnes of CO2e in the MySQL monthly_entries table, tagged by month and department.
- The dashboard reads the stored rows and renders KPI cards (this month, year-to-date, per-student, largest source), a 5-month trend chart and a source-wise split with scope 1, 2 and 3 labelled.
- The department table aggregates each department's rows and ranks the 6 departments by total tonnes of CO2e, with a percentage share for each.
- The reports view compares the rolling monthly average with the 10% reduction target, lists ranked reduction actions, and exports the monthly summary table as a CSV file.
Tech stack:
- HTML5 · CSS3 · JavaScript (ES6)
- PHP 8 (backend API)
- MySQL 8 (relational database)
- Apache · XAMPP (local hosting)
- Canvas charts (custom JavaScript)
- CSV export (built-in)
- Git
| Parameter | Value |
|---|---|
| Activity categories | 4 (electricity, transport fuel, waste, water) |
| Departments tracked | 6 (design) |
| Database tables | 5 (users, departments, monthly entries, emission factors, reduction actions) |
| Emission factors | 4 configurable defaults (electricity 0.82 kg CO2e/kWh, petrol 2.31 kg CO2e/L, waste 0.45 kg CO2e/kg, water 0.30 kg CO2e/kL) |
| Demo data | 5 months of sample data (June–October 2026) for a 3,120-student campus |
| Demo month total | 46.2 tonnes of CO2e (sample data, October 2026) |
| Reduction target | 10% below baseline by March 2027 (design target) |
| Report export | CSV file (monthly summary) |
| Hosting | Local XAMPP or shared hosting (Apache + PHP 8 + MySQL 8) |
| Dashboard load | Under 2 seconds on local hosting (design target) |
Project features
The tracker is built around four capabilities that work together. First, monthly data entry: an officer logs electricity in kilowatt-hours, fuel in litres, waste in kilograms and water in kilolitres for each of 6 departments, and the form validates every figure before saving. Second, emission-factor calculation: each activity figure is multiplied by a configurable factor — 0.82 kg CO2e per kWh for grid electricity by default — so the same campus can switch factors when its region or supplier changes. Third, the dashboard: KPI cards, a 5-month trend chart, a source-wise split and a per-department table turn raw readings into a picture a committee can read in a minute. Fourth, reduction tracking: a 10% reduction target with a progress bar and a ranked action list keeps the project honest about whether emissions are actually falling.
- [Monthly data entry with validation] A form captures all 4 activity categories for each of 6 departments, with numeric validation on every field and an optional notes field; a saved entry appears in the recent-entries list and updates the dashboard totals immediately.
- [Configurable emission factors] All 4 emission factors are editable from the data-entry screen, so the campus can adapt the calculation to its own region or supplier; changing a factor recalculates the live preview and the stored totals.
- [Campus dashboard with KPI cards] The dashboard shows this month's total, the year-to-date total, the per-student figure and the largest source at a glance — 46.2 tonnes of CO2e in the demo month for a 3,120-student campus.
- [Monthly trend chart] A canvas line chart plots total emissions across 5 months with a dashed reduction-target line at 42.6 tonnes of CO2e per month, so a rising or falling trend is visible without reading a table.
- [Per-department breakdown] A table lists all 6 departments with their electricity, fuel and waste figures, total tonnes of CO2e and share of the campus total, so the biggest contributor is identified by name.
- [Reduction-target tracker] A 10% reduction target is tracked with a progress bar, the current monthly average against the target average, and a ranked list of 5 reduction actions with design-estimate savings and status.
- [Monthly summary report with CSV export] A 5-month summary table shows every category, the monthly total and the month-on-month change, and exports the full table as a CSV file for the sustainability committee.
Optional customizations (developed separately on request, not in the base build): a mobile app, QR-code meter reading, automated electricity-bill import, and login roles for individual departments. Future scope: rooftop-solar generation offsetting, student commuting survey module, and year-on-year comparison reports.
What is included
- Complete web application source code (frontend, PHP backend, MySQL schema)
- Working demo with 5 months of realistic sample data for a 3,120-student campus
- Database setup script and XAMPP hosting guide
- Project report PDF (background, emission-factor method, architecture, methodology, results)
- PPT presentation for final review
- Viva Q&A preparation document (emission factors, scopes 1/2/3, database design, full-stack flow)
Limitations & prerequisites
- Emission factors are configurable defaults, labelled as assumptions — they are not certified measurements, and the campus must confirm the correct factor for its own grid region and fuel type.
- The demo ships with sample data; real campus figures must be entered by the student from actual bills, logs and meter readings.
- Waste figures depend on weighbridge or estimate records — campuses without weighing will have approximate waste data, and the limitation must be stated in the report.
- The base build has a single admin role; per-department logins are an optional customization, not included.
- The tracker reports operational emissions only (scopes 1, 2 and selected scope 3 items); embodied carbon of buildings and purchased goods is out of scope.
- The project is an academic sustainability tool, not a certified carbon audit — it does not replace a professional greenhouse-gas inventory.
Frequently Asked Questions
Is this project suitable for a final-year project?
Yes — for Web Development, Computer Science and IT programs. It demonstrates full-stack development, relational database design, form validation, charting and applied environmental accounting in a single working system, and the sustainability theme gives the viva a clear real-world motivation. The report explains every design decision, from the emission-factor method to the scope 1/2/3 split, so the student can defend the work confidently.
What is the main technology used?
The application is built with HTML, CSS and JavaScript on the frontend, PHP 8 on the backend and MySQL 8 for storage, hosted on Apache through XAMPP. The dashboard charts are drawn with custom canvas JavaScript rather than a chart library, which keeps the demo self-contained. No framework is required, so the full stack runs on any standard shared host.
How are emissions calculated, and can the factors change?
Each activity figure is multiplied by an emission factor and summed into tonnes of CO2e: electricity 0.82 kg CO2e per kWh, petrol 2.31 kg CO2e per litre, waste 0.45 kg CO2e per kg and water 0.30 kg CO2e per kilolitre by default. All 4 factors are editable, because the correct factor depends on the campus grid region — the defaults are labelled assumptions.
Does it need internet, and can it be hosted online?
The application works fully offline on a local XAMPP setup, which is how the demo is shown during a viva. It can also be hosted on any shared hosting plan that supports Apache, PHP 8 and MySQL 8, with no paid service or API key required. The only part that needs connectivity is the hosted deployment itself; data entry, calculation and reporting all run on the server.
Can this project be customized?
Yes — realistic customizations include per-department login roles, a mobile app, QR-code meter reading, automated electricity-bill import, a student commuting survey module, and extra activity categories or report formats. Customizations are developed separately based on project requirements, technical feasibility and timeline, and are not part of the base build.
What will I receive with the project?
You receive the complete web application source code with the MySQL schema and setup script, a working demo loaded with 5 months of sample data, the project report PDF, a PPT presentation and a viva Q&A document. The demo is a single working build — dashboard, data entry, emission-factor settings, target tracker and CSV report — so you can demonstrate every feature during the review.
Components & software requirements
- HTML5 · CSS3 · JavaScript (ES6)
- PHP 8 (backend API)
- MySQL 8 (relational database)
- Apache · XAMPP (local hosting)
- Canvas charts (custom JavaScript)
- CSV export (built-in)
- Git
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.