Skip to main content
Back to the library

GPA Guides

How to Calculate High School GPA: Weighted and Unweighted Examples

Step-by-step high school GPA examples for unweighted and weighted grades, real district grading tables, how UC recalculates GPA, and spreadsheet formulas you can copy.

Published January 2, 2025Reviewed October 26, 2026 6 min readBy The GPA Calculator Editorial Team
How to Calculate High School GPA: Weighted and Unweighted Examples

To calculate a high school GPA, give each final semester grade its points (A = 4, B = 3, C = 2, D = 1, F = 0), add them up, and divide by the number of classes, or by total credits if your classes carry different credits. For a weighted GPA, add the bonus your school gives for advanced classes first, commonly +0.5 for Honors and +1.0 for AP, IB or dual enrollment.

Below are worked examples of both, real grading tables from two school districts, how the University of California recalculates your GPA, and spreadsheet formulas that do the math for all four years.

Step 1: Collect the right grades

Use the final semester grade for each class (or the final year grade if your school only posts one). Quarter or progress-report grades usually don't go into GPA. Your transcript or student portal lists the grades and credits that count.

Most high schools include every class that earns high school credit, including electives and PE, but some leave out certain classes. Your school's handbook or counselor can confirm the rules; the examples here use the most common approach.

Unweighted example: one semester

A fictional sophomore, Jordan, takes six semester classes, each worth 0.5 credit. Because the credits are equal, GPA is a simple average.

ClassLevelGradeUnweighted pointsWeighted points
English 10HonorsA4.04.5
Algebra IIRegularB3.03.0
World HistoryAPB3.04.0
ChemistryRegularA4.04.0
Spanish IIRegularA−3.73.7
PERegularA4.04.0
Total21.723.2

Unweighted GPA: 21.7 ÷ 6 = 3.6167 → 3.62

Weighted GPA: The Honors A gets +0.5 and the AP B gets +1.0, so the total rises by 1.5. 23.2 ÷ 6 = 3.8667 → 3.87

The weighted figure rewards the harder schedule; the unweighted figure shows the grades alone. Colleges often see both. Our guide on whether to report weighted or unweighted GPA covers which to list where.

Combining semesters and years

When credits differ (a 1.0-credit year-long class next to a 0.5-credit semester class), weight by credits:

GPA = sum of (points × credits) ÷ sum of credits

For a cumulative GPA across grades 9–12, add up all quality points and all credits from every semester, then divide once. Do not average your yearly GPAs; a year with more credits should count more. The semester to cumulative GPA guide shows this with full numbers.

How two real districts do it

The method above is the common one, but districts set their own tables. Two published examples:

Fairfax County Public Schools (Virginia) uses a plus/minus scale and calculates GPA from all high school courses for which credit has been earned, attempted or previously awarded. Its published scale:

LetterPercentPointsLetterPercentPoints
A93–1004.0C+77–792.3
A−90–923.7C73–762.0
B+87–893.3C−70–721.7
B83–863.0D+67–691.3
B−80–822.7D60–661.0
F50–590.0

FCPS adds 0.5 for Honors courses and 1.0 for AP, Advanced, dual enrollment and IB courses. It also states that its high schools do not rank students.

St. Johns County School District (Florida) uses whole letters for its district weighted GPA:

Course typeABCDF
Standard43210
Honors4.53.52.51.50
AP, DE, AICE, IB54320

Note that an F earns 0 at every level; the bonus applies only to passing grades. St. Johns also explains that Florida's Bright Futures scholarship uses a separate GPA built from 16 specific courses, so one student can have more than one "official" GPA.

How UC recalculates your GPA

Colleges sometimes compute their own version. The University of California publishes its method for first-year applicants:

  • Only A–G courses taken from the summer after 9th grade through the summer after 11th grade count.
  • A = 4, B = 3, C = 2, D = 1; pluses and minuses are ignored.
  • California residents get one extra point per semester of a UC-approved honors course (AP, IB, UC-transferable college courses and UC-certified honors courses), up to 8 points total and no more than 4 from 10th grade. A D or F earns no extra point.
  • The minimum is 3.0 for California residents and 3.4 for nonresidents, and UC says not to round (3.57 stays 3.57).

Applied to Jordan's semester: PE drops out (not an A–G course), the A− in Spanish becomes a 4, and the AP B becomes 4 (3 + 1 honors point). If the English Honors course is not UC-certified, it stays at 4. That gives (4 + 3 + 4 + 4 + 4) ÷ 5 = 3.80, a different number from the same grades. Neither number is wrong; they follow different rules.

Do it in a spreadsheet

A spreadsheet is the easiest way to track all four years. The formulas below work in both Google Sheets and Excel.

Set up columns: A = Class, B = Level (Regular, Honors, AP, IB), C = Grade, D = Points, E = Credits, F = Weighted points. Put your school's grade table in H2:I13 (letters in H, points in I).

Points from the letter (D2):

=IF(C2="", "", XLOOKUP(C2, $H$2:$H$13, $I$2:$I$13))

If your version lacks XLOOKUP, use =VLOOKUP(C2, $H$2:$I$13, 2, FALSE).

Weighted points (F2), with no bonus on an F:

=IF(D2="", "", IF(D2=0, 0, D2 + IFS(B2="AP", 1, B2="IB", 1, B2="Honors", 0.5, TRUE, 0)))

Fill D2 and F2 down for every row. Change the 1 and 0.5 to match your school.

Unweighted GPA:

=ROUND(SUMPRODUCT(D2:D60, E2:E60) / SUM(E2:E60), 2)

Weighted GPA:

=ROUND(SUMPRODUCT(F2:F60, E2:E60) / SUM(E2:E60), 2)

SUMPRODUCT multiplies each row's points by its credits and adds the results, which is exactly the GPA numerator. Add a column for the semester (for example "10-Fall") if you also want per-term GPAs with SUMIFS. Before trusting the sheet, check one semester against a hand calculation like Jordan's above.

Common mistakes

  • Using quarter grades instead of final semester grades.
  • Adding AP bonuses your school does not give, or using +1.0 for Honors when your school uses +0.5.
  • Adding a bonus to an F. Most weighted scales keep F at 0.
  • Averaging four yearly GPAs instead of combining all semesters by credits.
  • Assuming colleges use your school's number. Some, like UC, recalculate.

Use the calculator

The High School GPA Calculator handles grades 9–12, shows weighted and unweighted results, and applies the common +0.5 Honors and +1.0 AP/IB bonuses. For background on the two systems, see weighted vs. unweighted GPA and GPA requirements for college admissions.

Frequently asked questions

Do electives and PE count in high school GPA?

At most schools, yes, if they earn credit and a letter grade. Some schools or colleges exclude them; see do electives count in GPA.

Is a weighted GPA always out of 5.0?

No. With +1.0 for AP the top is 5.0, but schools using +0.5 or different bonuses have other maximums, and some don't weight at all.

Does 9th grade count?

In your school's cumulative GPA, usually yes. Some colleges, including UC, leave 9th-grade grades out of their own recalculation.

What if my school uses percentages instead of letters?

Convert each final percentage to a letter with your school's scale, such as the FCPS table above, then use the points for that letter.

Sources and method references

These first-party or official references support the method and policy context. Institution rules remain authoritative for an individual transcript.

  1. Postsecondary ProfileFairfax County Public Schools
  2. Middle and High School Grading and ReportingFairfax County Public Schools
  3. GPAs ExplainedSt. Johns County School District
  4. GPA requirementUniversity of California Admissions
  5. SUMPRODUCTGoogle Docs Editors Help