---
title: "GPA Calculator"
method: GET
path: "/api/calc/gpa-calculator"
tags: ["Math"]
---

# GPA Calculator

`GET /api/calc/gpa-calculator`

## Request

- Base URL: `https://calcbright.com`
- URL: `https://calcbright.com/api/calc/gpa-calculator`
- Auth: none declared

Letter grades A to F with plus and minus, weighted by credit hours, for up to 8 courses. Get this term’s GPA on the 4.0 scale and your new cumulative GPA.

## Query parameters

- `g1` '' | 'A+' | 'A' | 'A-' | 'B+' | 'B' | 'B-' | 'C+' | 'C' | 'C-' | 'D+' | 'D' | 'D-' | 'F': Course 1 grade
- `c1` number: Credits
- `g2` '' | 'A+' | 'A' | 'A-' | 'B+' | 'B' | 'B-' | 'C+' | 'C' | 'C-' | 'D+' | 'D' | 'D-' | 'F': Course 2 grade
- `c2` number: Credits
- `g3` '' | 'A+' | 'A' | 'A-' | 'B+' | 'B' | 'B-' | 'C+' | 'C' | 'C-' | 'D+' | 'D' | 'D-' | 'F': Course 3 grade
- `c3` number: Credits
- `g4` '' | 'A+' | 'A' | 'A-' | 'B+' | 'B' | 'B-' | 'C+' | 'C' | 'C-' | 'D+' | 'D' | 'D-' | 'F': Course 4 grade
- `c4` number: Credits
- `g5` '' | 'A+' | 'A' | 'A-' | 'B+' | 'B' | 'B-' | 'C+' | 'C' | 'C-' | 'D+' | 'D' | 'D-' | 'F': Course 5 grade
- `c5` number: Credits
- `g6` '' | 'A+' | 'A' | 'A-' | 'B+' | 'B' | 'B-' | 'C+' | 'C' | 'C-' | 'D+' | 'D' | 'D-' | 'F': Course 6 grade
- `c6` number: Credits
- `g7` '' | 'A+' | 'A' | 'A-' | 'B+' | 'B' | 'B-' | 'C+' | 'C' | 'C-' | 'D+' | 'D' | 'D-' | 'F': Course 7 grade
- `c7` number: Credits
- `g8` '' | 'A+' | 'A' | 'A-' | 'B+' | 'B' | 'B-' | 'C+' | 'C' | 'C-' | 'D+' | 'D' | 'D-' | 'F': Course 8 grade
- `c8` number: Credits
- `gpa0` number: Current GPA
- `credits0` number: Credits completed

## Response `200`

Calculation result

- CalcOutput
  - `ok` boolean
  - `tool` string
  - `name` string
  - `url` string: Open this link to see the full calculation
  - `inputs` object
  - `summary` string: Plain-text answer
  - `details` string
  - `result` object
  - `errors` object

## Other responses

- `400`: Invalid input (see errors)

---

[API](https://skmtc.dev/calcbright/apis/calcbright-calculator-api.md) · [All operations](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/llms.txt) · [OpenAPI document](https://skmtc.dev/calcbright/apis/calcbright-calculator-api/revisions/f58229e56e58?raw)
