Smart EduVision Providing you Online NUML GPA calculator. Now you can calculate your GPA in one click.
Instructions
- Enter your Subject Obtained Marks
- Select Subject Credit Hours
- Click on Calculate
[insert_php]
if (isset($_POST[‘Calculate’])){
$totalch=$_POST[‘cr1’]+$_POST[‘cr2’]+$_POST[‘cr3’]+$_POST[‘cr4’]+$_POST[‘cr5’]+$_POST[‘cr6’];
}[/insert_php]
[insert_php]
if (isset($_POST[‘Calculate’])){
$s1=$_POST[‘s1’];
$ch1=$_POST[‘cr1’];
if($s1<=100 and $s1>=80){$gp1=4;}
if($s1<80 and $s1>=77){$gp1=3.66;}
if($s1>=74 and $s1<=76){$gp1=3.33;}
if($s1>=70 and $s1<=73){$gp1=3.00;}
if($s1>=67 and $s1<=69){$gp1=2.66;}
if($s1>=64 and $s1<=66){$gp1=2.33;}
if($s1>=60 and $s1<=63){$gp1=2.00;}
if($s1>=50 and $s1<=59){$gp1=1.5;}
if($s1<=49){$gp1=0.00;}
$cgp1=($ch1*$gp1)/$totalch;
$s2=$_POST['s2'];
$ch2=$_POST['cr2'];
if($s2<=100 and $s2>=80){$gp2=4;}
if($s2<80 and $s2>=77){$gp2=3.66;}
if($s2>=74 and $s2<=76){$gp2=3.33;}
if($s2>=70 and $s2<=73){$gp2=3.00;}
if($s2>=67 and $s2<=69){$gp2=2.66;}
if($s2>=64 and $s2<=66){$gp2=2.33;}
if($s2>=60 and $s2<=63){$gp2=2.00;}
if($s2>=50 and $s2<=59){$gp2=1.5;}
if($s2<=49){$gp2=0.00;}
$cgp2=($ch2*$gp2)/$totalch;
$s3=$_POST['s3'];
$ch3=$_POST['cr3'];
if($s3<=100 and $s3>=80){$gp3=4;}
if($s3<80 and $s3>=77){$gp3=3.66;}
if($s3>=74 and $s3<=76){$gp3=3.33;}
if($s3>=70 and $s3<=73){$gp3=3.00;}
if($s3>=67 and $s3<=69){$gp3=2.66;}
if($s3>=64 and $s3<=66){$gp3=2.33;}
if($s3>=60 and $s3<=63){$gp3=2.00;}
if($s3>=50 and $s3<=59){$gp3=1.5;}
if($s3<=49){$gp3=0.00;}
$cgp3=($ch3*$gp3)/$totalch;
$s4=$_POST['s4'];
$ch4=$_POST['cr4'];
if($s4<=100 and $s4>=80){$gp4=4;}
if($s4<80 and $s4>=77){$gp4=3.66;}
if($s4>=74 and $s4<=76){$gp4=3.33;}
if($s4>=70 and $s4<=73){$gp4=3.00;}
if($s4>=67 and $s4<=69){$gp4=2.66;}
if($s4>=64 and $s4<=66){$gp4=2.33;}
if($s4>=60 and $s4<=63){$gp4=2.00;}
if($s4>=50 and $s4<=59){$gp4=1.5;}
if($s4<=49){$gp4=0.00;}
$cgp4=($ch4*$gp4)/$totalch;
$s5=$_POST['s5'];
$ch5=$_POST['cr5'];
if($s5<=100 and $s5>=80){$gp5=4;}
if($s5<80 and $s5>=77){$gp5=3.66;}
if($s5>=74 and $s5<=76){$gp5=3.33;}
if($s5>=70 and $s5<=73){$gp5=3.00;}
if($s5>=67 and $s5<=69){$gp5=2.66;}
if($s5>=64 and $s5<=66){$gp5=2.33;}
if($s5>=60 and $s5<=63){$gp5=2.00;}
if($s5>=50 and $s5<=59){$gp5=1.5;}
if($s5<=49){$gp5=0.00;}
$cgp5=($ch5*$gp5)/$totalch;
$s6=$_POST['s6'];
$ch6=$_POST['cr6'];
if($s6<=100 and $s6>=80){$gp6=4;}
if($s6<80 and $s6>=77){$gp6=3.66;}
if($s6>=74 and $s6<=76){$gp6=3.33;}
if($s6>=70 and $s6<=73){$gp6=3.00;}
if($s6>=67 and $s6<=69){$gp6=2.66;}
if($s6>=64 and $s6<=66){$gp6=2.33;}
if($s6>=60 and $s6<=63){$gp6=2.00;}
if($s6>=50 and $s6<=59){$gp6=1.5;}
if($s6<=49){$gp6=0.00;}
$cgp6=($ch6*$gp6)/$totalch;
$cgpa=$cgp1+$cgp2+$cgp3+$cgp4+$cgp5+$cgp6;
}
[/insert_php]