percentage
percentage = (total_obtained / total_marks) * 100
Student-friendly explanation for percentage, average, weighted average, and custom formulas.
percentage = (total_obtained / total_marks) * 100
average = total_obtained / number_of_subjects
weighted_average = sum(obtained * weight) / sum(weights)
You can use total_obtained, total_marks, subject_count, total_weight, weighted_sum, percentage, average, weighted_average
Percentage
(450/500) * 100 = 90%
Average
(78 + 82 + 95) / 3 = 85
Weighted
(75*2 + 90*1) / 3 = 80
(450/500) * 100 = 90.00%
(80 + 90 + 88) / 3 = 86.00