This is a simple SGPA & CGPA Calculator web app that allows students to calculate their SGPA (Semester Grade Point Average) and CGPA (Cumulative Grade Point Average) based on their semester-wise grades. The calculator includes a user-friendly interface that allows the user to select subjects, input grades, and compute the SGPA and CGPA.
If you wish to contribute to this project, feel free to refer to the OpenSource Contribution Guide for details on how to get started, submit pull requests, and suggest new features.
You can access the live demo of the SGPA & CGPA Calculator at:
https://shirish-baral.github.io/sgpa-cgpa-calculator/
-
SGPA Calculator:
- Allows users to select their semester (from Semester 1 to Semester 8).
- Input grades (O,E,A,B,C,D) for each subject.
-
CGPA Calculator:
- Allows users to input their latest SGPA and the semester number for that SGPA.
- Computes the CGPA by including the CGPA upto previous semester.
-
Select a Semester:
- Use the dropdown in the SGPA calculator to select the desired semester.
- Enter the grades for the selected subjects.
-
Calculate SGPA:
- After selecting the subjects and entering the grades, click on "Calculate SGPA" to see the SGPA result for the semester.
-
Calculate CGPA:
- Enter your new SGPA, semester number for SGPA, and the CGPA up to the previous semester.
- Click on "Calculate CGPA" to get your overall CGPA.
- HTML: Structure of the webpage.
- CSS: Styling the page with a clean and responsive layout.
- JavaScript: Handles the functionality of calculating SGPA and CGPA, as well as managing the subject choices and grade inputs.
If you want to run the project locally on your machine, follow these steps:
-
Clone the repository:
git clone https://github.com/shirish-baral/sgpa-cgpa-calculator.git