---
title: "GPA Calculator"
method: POST
path: "/api/v1/tools/gpa-calculator"
tags: ["tools"]
---

# GPA Calculator

`POST /api/v1/tools/gpa-calculator`

## Request

- Base URL: `https://toolforte.com`
- URL: `https://toolforte.com/api/v1/tools/gpa-calculator`
- Auth: HTTP bearer

Work out a grade point average from courses that each have a grade and a credit weight, on the 4.0 letter scale, the 10-point European scale or percentages. Returns the GPA on the 4.0 scale with its letter, its honours classification and the credits counted.

## Request body

- object
  - `courses` object[]
    - `name` string
    - `grade` string
    - `credits` integer
  - `scale` string

## Response `200`

Successful result

- object
  - `ok` boolean
  - `data` object
    - `scale` string
    - `gpa` number
    - `letter` string
    - `classification` string
    - `totalCredits` integer
    - `countedCourses` integer
    - `courses` object[]
      - `name` string
      - `grade` string
      - `credits` integer
      - `points` integer

## Other responses

- `400`: Missing or invalid request fields
- `401`: Invalid or missing API key
- `429`: Monthly plan limit reached

---

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