The exact formula for turning any raw score into a percentage, worked examples for uneven totals, and how percentages map to letter grades.
Published September 6, 2026 · Reviewed by the Ihsabha Editorial Team
A grade percentage is one of the most common numbers a student will ever calculate, yet the moment marks aren't out of a clean total like 100, plenty of people hesitate. What's 27 out of 35, really? Is that a B or a B+? The underlying math is genuinely simple — a single formula handles every case, no matter how odd the total looks — but the letter-grade mapping on top of it is where things get more variable. This guide walks through the formula itself, several fully worked examples with different totals, a reference table for converting percentages into letter grades, and the mistakes that most often throw people off when they try to do this by hand.
Every grade percentage calculation, regardless of subject or country, comes down to the same relationship: your score is a part, and the total possible marks are the whole. To express that part as a percentage of the whole, divide the part by the whole and multiply by 100.
Grade % = (Marks Obtained ÷ Total Possible Marks) × 100
That's the entire formula. There is no separate version for tests out of 20, exams out of 150, or assignments out of 7.5 — the same three steps (divide, then multiply by 100) apply every time. What changes from one assessment to the next is only the two input numbers, never the structure of the calculation itself. Rather than working this out by hand every time, the Grade Percentage Calculator can handle the whole calculation for you.
Breaking the formula into individual steps makes it easy to follow even with unfamiliar numbers:
Suppose you scored 34 out of 40 on a quiz. Applying the formula:
Grade % = (34 ÷ 40) × 100 = 0.85 × 100 = 85%
An 85% on most general-purpose grading scales lands solidly in the B+ range, though as covered further down, the exact letter depends entirely on your specific institution's cutoffs.
Now suppose a different exam is out of 60 marks, and you scored 45. The formula doesn't change just because the total is unusual:
Grade % = (45 ÷ 60) × 100 = 0.75 × 100 = 75%
Notice that the "out of 60" total never appears anywhere in the final answer — once you've converted to a percentage, the original total is irrelevant, and a 75% out of 60 marks is mathematically identical to a 75% out of 100 marks or a 75% out of 340 marks. This is exactly why percentages are useful in the first place: they let you compare performance across assessments that used completely different scales.
Larger totals work identically. If an exam is out of 150 marks and you scored 108:
Grade % = (108 ÷ 150) × 100 = 0.72 × 100 = 72%
You can sanity-check this quickly: 108 is a bit under three-quarters of 150 (which would be 112.5), so a result just under 75% — in this case 72% — is exactly what you'd expect from a rough estimate.
| Marks Obtained | Total Marks | Grade Percentage |
|---|---|---|
| 18 | 20 | 90% |
| 27 | 35 | 77.1% |
| 34 | 40 | 85% |
| 45 | 60 | 75% |
| 78 | 100 | 78% |
| 108 | 150 | 72% |
| 156 | 200 | 78% |
Once you have a percentage, the natural next question is what letter grade it corresponds to. This is where things become less standardized than the arithmetic itself: letter-grade boundaries are set by individual schools, countries, and sometimes even individual instructors within the same school. Some institutions consider 90% and above an A-, others reserve A- for a narrower 90–92% band and start A at 93%; some use plus/minus grades throughout, while others only ever assign a plain letter. The table below reflects one commonly used general-purpose U.S.-style scale — a useful reference point, but not a universal standard.
| Grade Percentage | Letter Grade |
|---|---|
| 97% and above | A+ |
| 93% – 96.9% | A |
| 90% – 92.9% | A- |
| 87% – 89.9% | B+ |
| 83% – 86.9% | B |
| 80% – 82.9% | B- |
| 77% – 79.9% | C+ |
| 73% – 76.9% | C |
| 70% – 72.9% | C- |
| 67% – 69.9% | D+ |
| 60% – 66.9% | D |
| Below 60% | F |
Because these boundaries vary so much between institutions, your course syllabus or student handbook always takes precedence over any general-purpose scale like the one above — including the one used by Ihsabha's own calculator. To save time, enter your values into the Grade Percentage Calculator and get an instant result.
Grading conventions also shift by country and education system, which matters if you're comparing report cards or transcripts across borders. Many schools across the Gulf and wider Middle East, along with much of the UK-influenced world, use percentage scores directly on transcripts rather than converting everything into a single letter. India commonly expresses results as percentages calculated the same way described in this guide, then separately maps them to broad classifications like "Distinction" or "First Class" rather than A–F letters. The United States and Canada lean heavily on letter grades with percentage ranges behind them, as shown in the table above, while several European systems use entirely different numeric scales (such as 1–6 or 10–20) that don't correspond to percentage at all. Whatever the local convention, the grade percentage formula itself — part divided by whole, times 100 — stays exactly the same everywhere; only the labels applied on top of it differ.
It's worth being clear about a distinction that trips a lot of students up: grade percentage and GPA (Grade Point Average) are related but not the same number. A grade percentage describes performance on one specific assessment or course, expressed as a share of the total possible marks. GPA, by contrast, is a separate scale — commonly 0.0 to 4.0 in the United States — used to summarize performance across an entire semester or academic record, usually derived by converting each course's letter grade into points and averaging them, sometimes weighted by course credit hours. In other words, your grade percentage on one exam is an input that eventually helps determine a course letter grade, and that letter grade is in turn one of several inputs into your overall GPA — the two numbers describe different things at different scales.
Some standardized tests and competitive exams don't just award points for correct answers — they subtract a fraction of a point for each wrong answer, a system known as negative marking, designed to discourage random guessing. When negative marking is in play, the grade percentage formula still applies, but the "marks obtained" figure needs to account for the penalty before you divide. Suppose an exam has 50 questions worth 2 marks each (a total of 100 marks), you answer 38 correctly, 8 incorrectly, and leave 4 blank, and each wrong answer costs a 0.5-mark penalty. Your raw score is 38 × 2 = 76 from correct answers, minus 8 × 0.5 = 4 in penalties, for a net of 72 marks. Applying the formula: Grade % = (72 ÷ 100) × 100 = 72%. The key habit here is calculating your true net marks obtained — correct-answer points minus any penalty — before you ever touch the percentage formula itself; the division step doesn't change at all.
It's worth understanding the difference between your own grade percentage and a class average, since students sometimes confuse the two. Your grade percentage, as covered throughout this guide, compares your own marks obtained to your own total possible marks on one assessment. A class average, by contrast, is calculated by a teacher taking every student's percentage score on that same assessment and finding the mean of all of them — adding every student's percentage together and dividing by the number of students. A class average of 68% doesn't tell you anything about your own score directly; it only tells you where the group as a whole landed, which is why a personal grade percentage and a class average are two completely separate calculations that happen to use percentages as their common unit.
Because grade percentages rarely divide evenly, rounding rules matter more than they might seem to at first. Three conventions are common across different institutions:
When your calculated grade percentage lands extremely close to a letter-grade cutoff — say, 89.6% right at the edge of a 90% A- threshold — the specific rounding convention your institution uses can be the difference between two different letter grades, which is exactly why it's worth confirming rather than assuming. Try the Grade Percentage Calculator to run these numbers with your own figures.
Skip the manual arithmetic. Ihsabha's Grade Percentage Calculator converts any marks obtained and total possible marks into an exact percentage instantly, along with an equivalent general-purpose letter grade — no rounding errors, and no risk of dividing the numbers the wrong way round.
Everything in this guide covers a single assessment — one test, one assignment, one exam. Most real courses combine several graded components (homework, quizzes, a midterm, a final exam) into one overall course grade, and each component usually carries a different weight toward that total. That calculation uses a related but distinct formula, covered in Ihsabha's separate guide to calculating your weighted course grade. And if you already know your current course standing and want to work out exactly what you need on an upcoming final exam to hit a target overall grade, the dedicated final grade calculator guide walks through that formula step by step.
Before reaching for a calculator, a few quick mental shortcuts let you estimate a grade percentage closely enough to sanity-check an exact calculation, or to get an instant sense of how you did:
These shortcuts work because each one is really just a faster route to the same multiply-and-divide formula covered earlier, exploiting a total that happens to be a clean fraction or multiple of 100. They're best used as a quick gut check rather than a substitute for the exact calculation, especially when a grade boundary is close.
Divide the marks you obtained by the total possible marks, then multiply by 100: Grade % = (Marks Obtained ÷ Total Marks) × 100. For example, scoring 34 out of 40 gives (34 ÷ 40) × 100 = 85%.
The formula works the same regardless of the total: divide your score by whatever the total possible marks were, then multiply by 100. Scoring 108 out of 150 gives (108 ÷ 150) × 100 = 72%, exactly as it would for any other total.
Letter grade cutoffs are set individually by each school, program, or even instructor, so a 91% might be an A at one institution and an A- at another. Always confirm the exact boundaries in your course syllabus rather than relying on a general-purpose scale.
Yes, if bonus or extra-credit points push your score above the total possible marks, the formula will mathematically produce a result above 100%. Whether that counts toward your final recorded grade depends entirely on your institution's specific policy on extra credit.
Grade percentage math is exact and never gets harder no matter how unusual the total looks — 27 out of 35 is no more complicated to calculate than 27 out of 100, it just requires actually running the division instead of eyeballing it. Keep your marks obtained and total marks in the right order, don't skip the multiply-by-100 step, and treat any letter-grade table (including the one in this guide) as a general reference rather than your school's official word. With those three habits in place, converting any raw score into a percentage — and understanding roughly where it lands on a letter scale — becomes a fully reliable, two-second mental check rather than a source of exam-day anxiety.
Run the numbers instantly with Ihsabha's GPA Calculator and CGPA Calculator. For related reading on Ihsabha's blog, see How to Calculate GPA: The Complete Step-by-Step Guide, GPA vs. CGPA: What's the Difference and How to Calculate Each and How to Curve Grades: The Square-Root and Highest-Score Methods Explained.