Menu
Advertisement

Semester Grade Calculator for Two Terms and an Exam

Enter your two term or quarter grades and the semester exam, each with its weight. You get the semester grade as a percent and a letter, and the exam score you need for the grade you want.

By Nethanel Bar, Co-founder & CEO

Last updated

Advertisement

Ready to actually learn to code?

Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.

How a semester grade is calculated

Many high schools build a semester grade from three parts: two terms, usually called quarters or marking periods, and a semester exam. A common split gives each term 40% and the exam 20%. The semester grade is then a weighted average: 88% and 91% in the two terms and 84% on the exam come to 88.4%, a B+ on the common scale.

The weights are yours to change. The calculator starts on 40 / 40 / 20, and you can type whatever your school uses, such as 45 / 45 / 10 or 37.5 / 37.5 / 25. Set the exam weight to 0 for a semester with no exam. The weights do not have to add up to 100, because the calculator divides by their total and shows it.

Before the exam, leave the exam grade empty. You then see your grade on the two terms and a table with the exam score needed for each letter grade, and if you type the grade you want, the exact exam score for it. Letter cutoffs here follow the common US scale with plus and minus, where an A starts at 93. Schools set their own, so check your handbook. Your numbers stay in your browser.

What you will learn from a semester grade

  • A semester grade is a weighted average with three terms in the sum: each grade times its weight, added together, divided by the total weight.
  • With a 40 / 40 / 20 split, each term counts twice as much as the exam. One point in a term is worth 0.4 points of semester grade, and one point on the exam is worth 0.2.
  • The exam score you need is the same sum solved backwards: the grade you want times the total weight, minus what the terms already give, divided by the exam weight.
  • Default arguments in Python fit this well. The example on this page gives a function the weights (40, 40, 20) by default and lets you pass your school's own.

How to use the semester grade calculator

  1. Enter your two term grades

    Type the Term 1 and Term 2 grades as percents. A term here is whatever your school calls the two halves of a semester: quarters, marking periods or nine weeks.

  2. Check the weights

    The weights start at 40, 40 and 20. Change them to your school's split. Every part needs a weight, so type 0 for a part that does not count.

  3. Enter the exam grade, or leave it empty

    With the exam grade filled in, the result is your semester grade and its letter. With it empty, the result is your grade before the exam, from the two terms alone.

  4. Type the grade you want

    This field is optional. Fill it in and the result adds the exam score you need for that semester grade, and says when it is more than 100% or when you already have the grade.

  5. Read the letter grade table

    Once both terms are filled in and the exam has a weight above 0, the table lists the exam score needed for each semester letter grade from A to D-. A score of 0% means that letter is already yours.

Common semester weightings compared

The same grades, 88% and 91% in the terms and 84% on the exam, under different splits, and the exam score those terms need for a 90% semester.

Term 1 / Term 2 / ExamSemester gradeExam needed for 90%
40 / 40 / 2088.4%92%
45 / 45 / 1088.95%94.5%
42.5 / 42.5 / 1588.68%92.83%
37.5 / 37.5 / 2588.13%91.5%
50 / 50 / 089.5%No exam

Semester grade calculator examples

A finished semester on 40 / 40 / 20

Paste a small example into the tool and change one part at a time.

35.2 + 36.4 + 16.8 is 88.4, so the semester grade is 88.4%, a B+, and the weights add up to 100%.

Before the exam, aiming for an A-

Copy the original value, run the tool, then compare the result.

The result shows a grade before the exam of 89.5%, a B+, and says that for 90% you need 92% on the exam. In the table an A needs 107%, which is out of reach, and a B+ needs 77%.

A school that weights the exam at 10%

Take a value from your own work and use this tool to inspect or prepare it.

The semester grade rises to 88.95%, because the weaker exam counts for less. The same grades with no exam at all, on 50 / 50 / 0, give 89.5%.

Semester grades in Python

Default arguments for the weights
def semester(term1, term2, exam, weights=(40, 40, 20)):    w1, w2, w3 = weights    return (term1 * w1 + term2 * w2 + exam * w3) / (w1 + w2 + w3)
def exam_needed(term1, term2, target, weights=(40, 40, 20)):    w1, w2, w3 = weights    return (target * (w1 + w2 + w3) - term1 * w1 - term2 * w2) / w3
print(round(semester(88, 91, 84), 2))print(round(exam_needed(88, 91, 90), 2))print(round(semester(88, 91, 84, weights=(45, 45, 10)), 2))
Output

88.4 92.0 88.95

The three examples above. Dividing by the sum of the weights is what lets the weights add up to any total, as in the calculator.

Common mistakes with semester grades

  • Averaging the three numbers. (88 + 91 + 84) / 3 is 87.67%, but on 40 / 40 / 20 the semester grade is 88.4%, because the exam counts half as much as a term.
  • Assuming every school uses 40 / 40 / 20. Some weight the exam at 10%, 15% or 25%, and some have none. The split is in your student handbook or syllabus.
  • Typing 0 for an exam you have not taken. A 0 counts as a zero on the exam. Leave the exam grade empty to see your grade before the exam.
  • Clearing a weight instead of setting it to 0. Every part needs a weight, so the calculator asks for one until all three are filled in.
  • Entering letter grades. The fields take percents only, so use the number behind the letter from your gradebook.

Semester grade calculator FAQ

How is a semester grade calculated?

Each term grade and the exam grade is multiplied by its weight, the results are added, and the sum is divided by the total weight. On 40 / 40 / 20, grades of 88, 91 and 84 give 35.2 + 36.4 + 16.8, which is 88.4%.

What weights should I use for the two terms and the exam?

The ones your school uses. 40 / 40 / 20 is a common split and is where the calculator starts, but 45 / 45 / 10, 42.5 / 42.5 / 15 and 37.5 / 37.5 / 25 are all in use. Your handbook, syllabus or teacher can tell you.

What do I need on the exam to get the semester grade I want?

Enter your two term grades and type the grade you want. With terms of 88% and 91% on 40 / 40 / 20, a 90% semester needs 92% on the exam. The table also lists the exam score for every letter grade.

Can I calculate a semester grade without an exam?

Yes. Set the exam weight to 0 and the semester grade is worked out from the two terms alone. With the terms at 50 and 50, grades of 88% and 91% give 89.5%.

Do the semester weights have to add up to 100?

No. The calculator divides by the total of the three weights and shows that total, so 2, 2 and 1 gives the same grade as 40, 40 and 20.

My school uses quarters. Does this work?

Yes. Type the first quarter as Term 1 and the second quarter as Term 2 for the fall semester, or the third and fourth quarters for the spring semester.

How do I calculate my grade for the whole year?

If both semesters count the same, the year grade is their average. You can check it with the main grade calculator: enter each semester grade with a weight of 50.

Can I type letter grades instead of percentages?

No. The calculator needs numbers, because a B+ could be anything from 87% to 89.99% and the difference changes the result. Use the percents from your gradebook.

Other developer tools

Coddy programming languages illustration

Learn to code with Coddy

Get started