GPA Calculator (Weighted + Unweighted)
Standard US 4.0 / 5.0 GPA. One course per line: letter, credits, optional honors / AP track.
Example
You enter
- Courses (one per line: letter credits [regular|honors|ap]) A 5 ap B+ 4 honors A- 4 regular B 3 regular A 1 regular
You get
- Unweighted GPA (4.0 scale) 3.588
- Weighted GPA (5.0 scale) 4
- Total credits 17
- Course count 5
Details, formula, and sources
Bonus +0.5 honors / +1.0 AP on passing grades.
unweighted_gpa = sum(letter_points * credits) / sum(credits). weighted_gpa = sum((letter_points + track_bonus) * credits) / sum(credits). Letter points: 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. Track bonus: honors +0.5, AP / IB / dual-enrollment +1.0. Bonus applies to passing grades (D- or higher) per common registrar convention.
Standard US 4.0 / 5.0 GPA scale. Letter-to-point mapping and track-bonus convention follow AACRAO (American Association of Collegiate Registrars and Admissions Officers) guidance.
Universal registrar convention; published in school-district handbooks and the AACRAO transcript guide. No code citation required.
Estimate only. Readability formulas and similar metrics are derived from a representative population and have known edge-case noise. The classroom teacher governs final text selection, grade placement, and assessment decisions.
Field names used by the API: courses, unweighted_gpa, weighted_gpa, total_credits, course_count
- Bonus on passing only honors / AP +0.5 / +1.0 added only on D- or highercommon-registrar convention
- Letter set A through F with plus / minus modifiers; no A+ premium above 4.0AACRAO
- Track names regular / honors / ap (covers IB / dual-enrollment via the ap weighting)convention