Math
How to Calculate Percentage of Marks: Formula for All Subjects
By the CalculatorVerse team ·
To calculate the percentage of marks, add up the marks you obtained, divide by the total (maximum) marks, and multiply by 100: percentage = marks obtained ÷ total marks × 100. If you scored 390 out of 500 across five subjects, 390 ÷ 500 × 100 = 78%.
The same formula works for a single test, a whole exam with many subjects, and any marking system where every paper has a maximum mark. This guide shows it step by step for five and six subjects, what to do when subjects have different maximum marks (the most common mistake), how a "best of five" rule changes the answer, how to work out the marks you need for a target percentage, and how to do it in Excel or Google Sheets. School boards, universities and employers in different countries have their own rules on rounding, grace marks and which subjects count, so check yours where this guide says so.
What is the formula for percentage of marks?
Percentage of marks = (marks obtained ÷ maximum marks) × 100
- Marks obtained is what you scored: in one paper, or the sum of all your papers.
- Maximum marks (total marks) is the most you could have scored: the paper's total, or the sum of every paper's total.
For one test it is a single division: 42 out of 50 is 42 ÷ 50 × 100 = 84%. For a whole exam, add first, then divide once.
How to calculate percentage of marks for 5 subjects
Say each subject is marked out of 100 and you scored 78, 85, 64, 92 and 71.
- Add the marks obtained: 78 + 85 + 64 + 92 + 71 = 390.
- Add the maximum marks: 5 × 100 = 500.
- Divide: 390 ÷ 500 = 0.78.
- Multiply by 100: 78%.
In the percentage calculator, choose "X is ?% of Y", type 390 as X and 500 as Y. When every subject has the same maximum, the answer is also the plain average of your subject marks: 390 ÷ 5 = 78.

How to calculate percentage of marks for 6 subjects
The method doesn't change with the number of subjects: only the totals do. With a sixth subject scored 58 out of 100:
- Marks obtained: 78 + 85 + 64 + 92 + 71 + 58 = 448.
- Maximum marks: 6 × 100 = 600.
- Percentage: 448 ÷ 600 × 100 = 74.666…, which is 74.67% to two decimal places.
For any number of subjects: add every mark you got, add every maximum, divide, multiply by 100.
What if subjects have different maximum marks?
Many exams mix papers out of 100, 75, 50 or 25, or split a subject into theory and practical parts. Add the marks and the maximums separately, then divide once:
| Subject | Marks obtained | Maximum marks | Subject % |
|---|---|---|---|
| Mathematics | 72 | 100 | 72.00% |
| Science | 58 | 75 | 77.33% |
| English | 40 | 50 | 80.00% |
| Second language | 33 | 50 | 66.00% |
| Computer studies | 21 | 25 | 84.00% |
| Total | 224 | 300 | 74.67% |
Why you shouldn't average the subject percentages
In the table above, the average of the five subject percentages is (72 + 77.33 + 80 + 66 + 84) ÷ 5 = 75.87%. The correct overall percentage is 224 ÷ 300 × 100 = 74.67%.
The two differ because averaging percentages gives a 25-mark paper the same weight as a 100-mark paper. Adding the marks first gives every mark the same weight, which is how a total-marks percentage is defined. The two methods only agree when every subject has the same maximum.
If your course gives each component a set weight instead (for example coursework 40% and the final exam 60%), that is a weighted grade, not a percentage of total marks: the weighted grade calculator handles it.
Best of five: when only some subjects count
Some boards and universities calculate the result from your best subjects only, for example the best five out of six. The rule (which subjects must be included, and whether a language is compulsory) is set by your board, so check it before you calculate.
With the six marks above and a simple best-of-five rule, drop the lowest mark (58):
- 92 + 85 + 78 + 71 + 64 = 390 out of 500 = 78%, against 74.67% for all six.
So the same results can give two different percentages depending on the rule. Always say which one you used when you quote your percentage on a form.
How many marks do I need for a target percentage?
Turn the formula round: marks needed = target % ÷ 100 × maximum marks.
- 60% of 500 marks = 0.60 × 500 = 300 marks.
- 75% of 500 marks = 375 marks.
- 70% of a 20-mark test = 0.70 × 20 = 14 marks.
If some papers are already marked, subtract what you have. For 75% overall on five papers of 100, with 290 out of 400 in the first four, you need 375 − 290 = 85 out of 100 in the last one.
| Target | Out of 300 | Out of 500 | Out of 1,100 |
|---|---|---|---|
| 33% | 99 | 165 | 363 |
| 40% | 120 | 200 | 440 |
| 50% | 150 | 250 | 550 |
| 60% | 180 | 300 | 660 |
| 75% | 225 | 375 | 825 |
| 80% | 240 | 400 | 880 |
| 90% | 270 | 450 | 990 |
How to calculate percentage of marks in Excel or Google Sheets
Put the marks obtained in B2:B7 and the maximum marks in C2:C7.
- Overall percentage: =SUM(B2:B7)/SUM(C2:C7)100*.
- Or =SUM(B2:B7)/SUM(C2:C7) formatted as a percentage.
- Each subject's percentage, in D2 and copied down: =B2/C2*100.
Don't use =AVERAGE(D2:D7) for the overall result unless every subject has the same maximum, for the reason above.
Rounding, grace marks and other rules
The formula gives an exact answer; what you write on a form depends on the rules of whoever asks for it.
- Rounding: 74.666… can be written as 74.67% (two decimal places) or 74.7% (one). Don't round up to reach a cut-off unless the rules say you may.
- Grace marks, moderation and negative marking: use the marks on your official result, after any adjustments. For a test with negative marking, take the penalty off before you divide; the test grade calculator works out a score from right and wrong answers.
- CGPA instead of marks: if your result is a grade point average, the conversion to a percentage depends on your board or university. The CGPA to percentage calculator explains the common rules.
- Percentage is not percentile: a percentage compares your marks with the maximum; a percentile compares you with other candidates. 78% means you scored 78 of every 100 marks, not that you beat 78% of students.
Common mistakes
- Averaging subject percentages when the maximum marks differ. Add the marks first.
- Dividing by the number of subjects when the papers aren't all out of 100. 224 ÷ 5 = 44.8 is not a percentage of anything here.
- Leaving out a subject's maximum when you leave out its marks, or the other way round. The top and bottom of the fraction must cover the same papers.
- Forgetting to multiply by 100. 0.78 is the fraction; the percentage is 78%.
- Using marks before moderation when the official result shows different marks.
Questions people ask
How do I calculate the percentage of marks of all subjects?
Add the marks you obtained in every subject, add the maximum marks of every subject, divide the first total by the second and multiply by 100. 390 out of 500 is 78%.
How do I calculate percentage of marks out of 100?
If the total is 100, the marks are already the percentage: 67 out of 100 is 67%. For any other total, divide by it and multiply by 100: 42 out of 50 is 84%.
What is 70% out of 20 marks?
14 marks: 70 ÷ 100 × 20 = 14.
Can I average my subject percentages to get my overall percentage?
Only if every subject has the same maximum marks. Otherwise add the marks and the maximums separately and divide once. In the example above, averaging gives 75.87% but the correct answer is 74.67%.
How do I convert marks to a percentage in Excel?
With marks in B2:B7 and maximum marks in C2:C7, use =SUM(B2:B7)/SUM(C2:C7)*100.