A modern, intuitive, and lightweight CGPA calculator designed specifically for SZABIST students. Track your academic performance with real-time GPA calculations, course management, and degree progress tracking.
- Real-time CGPA Calculation: Automatically calculate your cumulative GPA as you add courses.
- Course Management: Add, remove, and manage multiple courses with ease.
- Clear All Courses: Remove all courses at once with a single click (with confirmation).
- Progress Tracking: Visual degree progress bar showing your completion percentage.
- Academic Standing: Automatic classification based on credits and CGPA.
The application comes pre-loaded with curricula for:
- BS Computer Science (BSCS)
- BS Artificial Intelligence (BSAI)
- BS Software Engineering (BSSE)
- Bachelor of Business Administration (BBA)
- BS Accounting & Finance (BSAF)
- BS Business Analytics (BSBA)
- BS Media Sciences (BSMS)
- Dark/Light Mode: Toggle between themes with automatic system detection.
- Smart Autocomplete: Search for courses by code (e.g., "CSC") or name.
- PWA (Progressive Web App): Install directly to your mobile home screen for an app-like experience.
- Custom Branding: Featuring a specialized academic favicon.
- Local Data Storage: Uses Browser LocalStorage — your data never leaves your device.
- Instant Updates: All metrics update immediately as marks are entered.
No installation required! This is a client-side application.
- Launch: Open
index.htmlin any modern web browser. - Set Program: Select your degree program from the dropdown to enable progress tracking.
- Add Courses: Start typing a course code or name, select from suggestions, enter marks (0-100), and add.
- Monitor: Track your CGPA, Total Credits, and Academic Standing in the dashboard.
- Manage: Edit marks or remove courses to see real-time impact on your GPA.
| Marks | Grade | GPA |
|---|---|---|
| 90–100 | A+ | 4.00 |
| 85–89 | A | 3.75 |
| 80–84 | A- | 3.50 |
| 75–79 | B+ | 3.25 |
| 70–74 | B | 3.00 |
| 66–69 | B- | 2.75 |
| 63–65 | C+ | 2.50 |
| 60–62 | C | 2.00 |
| 55–59 | C- | 1.50 |
| 0–54 | F | 0.00 |
- Frontend: HTML5, CSS3 (Tailwind CSS v3, pre-built), Vanilla JavaScript (ES6+).
- Storage: Browser
localStorageAPI. - Data: In-memory curriculum database (
database.js). - UI Components: Glassmorphism design with Inter font family.
The project follows an object-oriented approach to separate concerns:
-
StateManager: Handles persistence and state transitions. -
CurriculumHandler: Manages the lookup and filtering of the course database. -
GradingEngine: Pure logic for converting marks$\rightarrow$ GPA and calculating weighted averages. -
UIManager: Bridges the logic and the DOM, handling events and rendering.
ZabCal/
├── index.html # UI structure and Tailwind configurations
├── script.js # Application logic (State, Grading, and UI Management)
├── database.js # Comprehensive SZABIST curriculum data
├── Animation.js # Vector-based splash/intro animation engine
├── manifest.json # PWA configuration for mobile installation
├── sw.js # Service worker for offline use
├── icons/ # PWA and favicon icons
├── tailwind.config.js / tailwind.input.css # Tailwind build inputs
├── tailwind.css # Generated stylesheet (npm run build:css)
└── README.md # Project documentation
- 100% Client-Side: No backend. Your courses, marks and semesters are never sent anywhere.
- Data Ownership: Your academic records are stored only in your browser's local storage.
- Anonymous Analytics: The hosted site (zabcal.vercel.app) uses Vercel Web Analytics to count page views. It sets no cookies and never sees your academic data.
To add a new degree program, modify the CURRICULUM object in database.js:
PROGRAM_CODE: {
name: 'Program Name',
totalCredits: 120,
semesters: {
1: [{ code: 'XYZ 101', name: 'Course Name', credits: 3, type: 'Core' }]
}
}Update the GRADING_POLICY constant in script.js to adjust grade boundaries or GPA values.
Contributions are welcome!
- Bugs: Report issues via GitHub Issues.
- Features: Submit a Pull Request or suggest la improvements via email.
- Data: Help expand the
database.jswith updated course lists.
- Creator: Wasiq Mansoor
- GitHub: @Wasiq2006
- LinkedIn: Muhammad Wasiq Mansoor
- Email: wasiqmansoor69@gmail.com
This project is licensed under the MIT License.
Last Updated: July 2026
Status: Active and Maintained
ZabCal - Simplifying Academic Excellence