GPA & Weighted Grade Calculator

GPA calculator: one grade per line, optionally followed by its credits or weight (e.g. “Biology A 3”). Letter grades are converted on the 4.0 scale; numbers work for any scale. Start a line with # to begin a new semester, tick “Weighted GPA” for Honors, AP and IB classes, and add a target GPA to see what you still need.

Source: NIST Dataplot Reference Manual – Weighted Mean (Formel Σ wᵢxᵢ / Σ wᵢ). Updated: .

Format: [course] grade [credits/weight], separated by spaces or semicolons. Letter grades A+ to F (capital letters) or numbers. Course names must not contain stand-alone numbers (“Calc2” works, “Calc 2” does not). A line starting with # starts a new semester (e.g. “# Fall 2026”).
Put AP, IB or Honors in the course name, e.g. “AP Biology A 4”. An F stays at 0.
Credits beyond the courses listed above
My ToolboxEmbed on your websiteYour inputs are saved in this browser only.

Result

Average / GPA
3.35
GPA by semester
SemesterCreditsSemester GPACumulative GPA
Fall semester73.63.6
Spring semester73.13.35
Number of grades
4
Total credits / weights
14
Step by step
  • Biology: A (4.0) × 3 = 12
  • History: B+ (3.3) × 4 = 13.2
  • Calculus: A- (3.7) × 4 = 14.8
  • Spanish: C+ (2.3) × 3 = 6.9
  • Σ grade × credits = 12 + 13.2 + 14.8 + 6.9 = 46.9
  • Σ credits = 3 + 4 + 4 + 3 = 14
  • Average = 46.9 ÷ 14 = 3.35 ≈ 3.35

How it is calculated

How the GPA and weighted average are calculated

A GPA or grade average is a weighted arithmetic mean: multiply each grade by its weight (credits, credit hours or a percentage), add up the products and divide by the total weight.

How to calculate your GPA

  1. Enter one class per line: an optional name, the grade (letter or number) and the credits, e.g. “Biology A 3”.
  2. Letter grades are converted on the 4.0 scale. For a weighted high school GPA, tick “Weighted GPA” and put AP, IB or Honors in the course name.
  3. The calculator shows the credit-weighted GPA and every step of the working.

Example: A in a 3-credit class, B in a 4-credit class and C in a 2-credit class give (4.0 × 3 + 3.0 × 4 + 2.0 × 2) / (3 + 4 + 2) = 28 / 9 = 3.11.

Average = Σ (grade × weight) ÷ Σ weight

Example with the default values:

CourseGradePoints (4.0 scale)CreditsQuality points
BiologyA4.0312.0
HistoryB+3.3413.2
CalculusA−3.7414.8
SpanishC+2.336.9

GPA = 46.9 ÷ 14 = 3.35. Without credits (all weights 1) it is simply the sum of the grades divided by their number.

Semester GPA and cumulative GPA

A line that starts with # begins a new semester, for example # Fall semester. The calculator then shows the GPA of each semester and the cumulative GPA up to that point. In the default example the fall semester (Biology, History) is 25.2 ÷ 7 = 3.60, the spring semester (Calculus, Spanish) is 21.7 ÷ 7 = 3.10, and the cumulative GPA is 46.9 ÷ 14 = 3.35. The cumulative GPA is always total quality points divided by total credits; it only equals the average of the semester GPAs when every semester has the same number of credits.

If you already have a transcript, you do not need to retype it: enter your current cumulative GPA and the credits completed so far. With 3.2 over 45 credits plus the default courses, the new cumulative GPA is (3.2 × 45 + 46.9) ÷ (45 + 14) = 190.9 ÷ 59 = 3.24.

Weighted GPA for Honors, AP and IB

Tick “Weighted GPA” and write AP, IB or Honors in the course name. Each letter grade then gets the widely used bonus: +0.5 for Honors and +1.0 for AP and IB, so an A in an AP class counts 5.0. An F stays at 0. Example: AP Biology A 4, Honors English B 4, Art A 2 gives (5.0 × 4 + 3.5 × 4 + 4.0 × 2) ÷ 10 = 42 ÷ 10 = 4.20 weighted and (4.0 × 4 + 3.0 × 4 + 4.0 × 2) ÷ 10 = 3.60 unweighted. Schools set their own bonus; if yours differs, leave the box unticked and type the grade points as numbers.

What GPA do I need to reach my target?

Enter a target GPA and the credits still to take. The calculator solves needed GPA = (target × (credits so far + credits to take) − quality points so far) ÷ credits to take. With the default courses (46.9 quality points over 14 credits), a target of 3.5 and 16 more credits: (3.5 × 30 − 46.9) ÷ 16 = 58.1 ÷ 16 = 3.63. If the answer is above the top of the scale, the target cannot be reached in that many credits, and the calculator says so.

This page works on whole courses. To work out the grade inside one course from homework, quizzes and exam weights, use the grade calculator; for the score you need on one final exam, see what grade do I need.

Letter grades on the 4.0 scale

Letter grades are converted on the unweighted 4.0 scale (A = 4, B = 3, C = 2, D = 1, F = 0 as described by the College Board), with the plus/minus values of the UC Berkeley registrar: A+ and A = 4.0, A− = 3.7, B+ = 3.3, B = 3.0, B− = 2.7, C+ = 2.3, C = 2.0, C− = 1.7, D+ = 1.3, D = 1.0, D− = 0.7, F = 0. Your school’s scale may differ – some use 3.67 for an A−, some have no plus/minus steps. If your school counts an A+ as 4.3, switch “Letter grade scale” to A+ = 4.3; for any other values, enter the grade points as numbers instead of letters, e.g. Chemistry 3.67 4.

Percentages, points and other countries

The calculator is scale-neutral: it works with percentages (e.g. Midterm 78 30, Final 91 70 for a 30/70 split), German grades 1–6, French marks out of 20 or Brazilian grades 0–10. Just don’t mix scales in one list. To convert a single letter grade or a mark on a national scale, use the grade converter.

Related tools: convert percentages to letters with the letter grade calculator, see what share of points you scored with the percentage calculator, and get mean, median and spread of a list of scores with the statistics calculator.

Frequently asked questions

How do I calculate my GPA?

Convert each letter grade to grade points (A = 4.0, B = 3.0 …), multiply by the course credits, add up these quality points and divide by the total credits. Example: A in a 3-credit course and B in a 4-credit course → (4.0 × 3 + 3.0 × 4) ÷ 7 = 3.43.

What is the difference between weighted and unweighted GPA?

An unweighted GPA uses the plain 4.0 scale for every class. A weighted GPA adds extra points for harder classes (for example +0.5 for honors and +1.0 for AP/IB, so an A can count as 5.0). Tick “Weighted GPA” and put AP, IB or Honors in the course name to apply these bonuses; if your school uses other values, enter the points as numbers.

How do I calculate a weighted grade with percentages?

Use the percentage as the weight: Homework 92 20, Midterm 78 30, Final 85 50 gives (92 × 20 + 78 × 30 + 85 × 50) ÷ 100 = 84.3. The weights do not have to add up to 100 – the calculator divides by their sum.

Is an A+ worth 4.0 or 4.3?

At many colleges, e.g. UC Berkeley, an A+ counts as 4.0, which is what this calculator uses for letters. Some colleges award 4.3 for an A+; if yours does, switch “Letter grade scale” to A+ = 4.3.

How do I calculate my cumulative GPA?

Enter your current GPA and the credits completed so far in the two optional fields, then list the new courses with their credits. With 3.2 over 45 credits plus the default courses the cumulative GPA is 190.9 ÷ 59 = 3.24. To see each term separately, start every semester with a line such as # Fall 2026.

Are pass/fail courses included?

Usually not: courses graded pass/fail or credit/no credit carry no grade points and are left out of the GPA. Only enter courses that have a letter or numeric grade.

How do I calculate GPA with credit hours?

Multiply each grade point by the credit hours of the class, add the results and divide by the total credit hours. A (4.0) in 3 credits and B (3.0) in 4 credits give (12 + 12) / 7 = 3.43.

How do I calculate my high school GPA?

List every class with its grade and credits. Letter grades count on the 4.0 scale (A = 4, B = 3, C = 2, D = 1, F = 0). If your school weights honors or AP classes, tick “Weighted GPA” and put Honors or AP in the class name.

What GPA do I need to raise my GPA?

Enter your target GPA and the credits you still plan to take. The calculator solves (target × total credits − quality points so far) ÷ remaining credits. With 46.9 quality points over 14 credits, a 3.5 target and 16 more credits you need a 3.63 average.

Sources and legal basis

As of: · Editorial policy

Embed on your website

Free, no sign-up: copy the code and paste it into your page (e.g. an HTML block). Feel free to adjust the size and the link.

Open previewColours, dark mode and more widgets

Related tools