Skip to content

subhadipsinha722133/CGPA-SGPA-YGPA-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽ“ MAKAUT GPA Calculator ๐Ÿ“Š

A comprehensive Streamlit web application for calculating SGPA, CGPA, YGPA, and DGPA according to MAKAUT University grading system. ๐Ÿ›๏ธ

Streamlit Python Pandas

๐Ÿ“บLive Demo

โœจ Features

๐Ÿ“Š SGPA Calculator

  • โœ… Add multiple subjects with credits and grade points
  • โœ… Automatic SGPA calculation using MAKAUT formula
  • โœ… Detailed breakdown of credit points
  • โœ… Percentage conversion

๐Ÿ“ˆ CGPA Calculator

  • ๐ŸŽฏ Input SGPA for multiple semesters
  • ๐ŸŽฏ Automatic CGPA calculation
  • ๐ŸŽฏ Semester-wise performance table
  • ๐ŸŽฏ Overall percentage conversion

๐ŸŽฏ YGPA Calculator

  • ๐Ÿ”ฅ Input subjects for both Odd and Even semesters
  • ๐Ÿ”ฅ Automatic YGPA calculation
  • ๐Ÿ”ฅ Credit Index calculation for each semester
  • ๐Ÿ”ฅ Detailed breakdown of both semesters

๐Ÿ† DGPA Calculator

  • โญ Support for all course types:
    • 4 Year Degree ๐ŸŽ“
    • Lateral Entry ๐Ÿ”„
    • 3 Year Degree ๐Ÿ“š
    • 2 Year Degree ๐Ÿ“–
    • 1 Year Degree ๐Ÿ““
  • โญ Weighted YGPA calculations
  • โญ Year-wise performance table with weights
  • โญ LaTeX formulas showing exact calculation method

๐Ÿš€ Quick Start

Prerequisites

  • Python 3.7+ ๐Ÿ
  • pip (Python package manager)

Installation Steps

  1. Clone or download the repository ๐Ÿ“ฅ
git clone https://github.com/subhadipsinha722133/CGPA-SGPA-YGPA-Calculator.git
cd CGPA-SGPA-YGPA-Calculator
  1. Install required packages ๐Ÿ“ฆ
pip install streamlit pandas
  1. Run the application ๐ŸŽฌ
streamlit run app.py
  1. Open your browser ๐ŸŒ
http://localhost:8501

๐Ÿ“‹ MAKAUT Grading System

๐ŸŽฏ Grading Scale

Letter Grade Points Percentage Range Classification
O โญ 10 90-100 Outstanding
E ๐ŸŽฏ 9 80-89 Excellent
A โœ… 8 70-79 Very Good
B ๐Ÿ‘ 7 60-69 Good
C ๐Ÿ‘Œ 6 50-59 Fair
D ๐Ÿ“‰ 5 40-49 Below Average
F โŒ 2 Below 40 Failed
I โณ 2 --- Incomplete

๐Ÿ“Š Calculation Formulas

SGPA (Semester Grade Point Average)

SGPA = ฮฃ(Grade Point ร— Credits) / Total Credits

YGPA (Yearly Grade Point Average)

YGPA = (Credit Index Odd + Credit Index Even) / Total Credits

DGPA (Degree Grade Point Average)

  • 4 Year Degree: (YGPAโ‚ + YGPAโ‚‚ + 1.5ร—YGPAโ‚ƒ + 1.5ร—YGPAโ‚„) / 4
  • Lateral Entry: (YGPAโ‚ + 1.5ร—YGPAโ‚‚ + 1.5ร—YGPAโ‚ƒ) / 4
  • 3 Year Degree: (YGPAโ‚ + YGPAโ‚‚ + YGPAโ‚ƒ) / 3
  • 2 Year Degree: (YGPAโ‚ + YGPAโ‚‚) / 2
  • 1 Year Degree: YGPAโ‚

Percentage Conversion

Percentage = (SGPA - 0.75) ร— 10

CGPA (Cumulative Grade Point Average)

CGPA = (SGPAโ‚ + SGPAโ‚‚ + ... + SGPAโ‚ˆ) / 8

๐ŸŽฎ How to Use

1. SGPA Calculation ๐Ÿ“Š

  • Go to "SGPA Calculator" tab
  • Enter number of subjects
  • Fill in subject details (name, credits, grade points)
  • Click "Calculate SGPA" button
  • View detailed breakdown and percentage

2. CGPA Calculation ๐Ÿ“ˆ

  • Go to "CGPA Calculator" tab
  • Select number of semesters
  • Enter SGPA for each semester
  • Click "Calculate CGPA" button
  • View semester-wise performance

3. YGPA Calculation ๐ŸŽฏ

  • Go to "YGPA Calculator" tab
  • Enter Odd semester subjects
  • Enter Even semester subjects
  • Click "Calculate YGPA" button
  • View detailed breakdown for both semesters

4. DGPA Calculation ๐Ÿ†

  • Go to "DGPA Calculator" tab
  • Select your course type
  • Enter YGPA for each year
  • Click "Calculate DGPA" button
  • View weighted calculations and formula used

๐Ÿ“ Project Structure

CGPA-SGPA-YGPA-Calculator/
โ”‚
โ”œโ”€โ”€ app.py                   # Main Streamlit application
โ”œโ”€โ”€ requirements.txt         # Python dependencies
โ””โ”€โ”€ README.md                # Project documentation

๐Ÿ› ๏ธ Technical Details

Built With

  • Streamlit - Web application framework
  • Pandas - Data manipulation and analysis
  • Python - Programming language

Key Functions

  • calculate_sgpa() - Calculates Semester GPA
  • calculate_ygpa() - Calculates Yearly GPA
  • calculate_dgpa() - Calculates Degree GPA
  • calculate_percentage() - Converts GPA to percentage

๐ŸŽฏ Result Status Legend

  • X โŒ - Not eligible for Semester Promotion/Degree
  • XP โš ๏ธ - Eligible for Promotion with Backlogs
  • P โœ… - Passed and Promoted

๐Ÿ’ก Tips for Best Use

  1. Always verify your subject credits and grade points
  2. Use the detailed breakdown to understand how your GPA is calculated
  3. Check the About section for formula references
  4. Save your inputs for future reference

๐Ÿค Contributing

Contributions are welcome! ๐ŸŽ‰ Feel free to:

  • Report bugs ๐Ÿ›
  • Suggest new features ๐Ÿ’ก
  • Submit pull requests ๐Ÿ”„

๐Ÿ“„ License

This project is open source and available under the GNU General Public License v3.0.

โš ๏ธ Disclaimer

This calculator is designed to follow the official MAKAUT grading system. However, always verify your results with official university resources. The developers are not responsible for any discrepancies in academic calculations.

๐Ÿ†˜ Support

If you encounter any issues or have questions:

  1. Check the "About" section in the app
  2. Verify your inputs match the MAKAUT grading system
  3. Ensure all required fields are filled

Made with โค๏ธ for MAKAUT Students ๐ŸŽ“

Happy Calculating! ๐Ÿงฎโœจ

About

Streamlit web application for calculating SGPA, CGPA, YGPA, and DGPA according to MAKAUT University grading system. ๐Ÿ›๏ธ

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages