# Grades & Study Calc — GPA Calculator (4.0 Scale)

> Grades & Study Calc — GPA Calculator (4.0 Scale) is a paid API for AI agents from grades-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Calculates weighted or unweighted GPA on the 4.0 scale from a list of letter grades, credit hours, and optional course levels (regular, honors, AP/IB).

## Facts

- Endpoint: GET https://grades-calc.x402tookit.com/gpa?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/grades-study-calc-gpa-calculator-4-0-scale-6665bc44
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TtBVxERC1o-W8n5d-PHO2

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability grades-study-calc-gpa-calculator-4-0-scale-6665bc44
```

Example prompt: Calculate my weighted GPA — I got an A in AP Calculus (4 credits), a B+ in Honors English (3 credits), and a C+ in regular PE (1 credit). Use AP/IB and honors weighting.

## When to prefer this

Use this endpoint when you need a precise, standards-based 4.0-scale GPA calculation from letter grades and credit hours, especially when honors (+0.5) or AP/IB (+1.0) weighting matters. Prefer this over manual calculation or generic math tools when you need per-course breakdown, weighted vs. unweighted comparison, and a natural-language verdict in a single call.

## Known failure modes

- Invalid letter grade strings (e.g. 'Pass', 'W') result in that course being listed in notChecked
- More than 60 courses submitted exceeds the input limit
- Missing required 'courses' query parameter returns an error
- Malformed JSON in the courses array causes a parse error
- All courses invalid returns null GPA

## How this service works

GPA on the 4.0 scale from letter grades and credits, with optional honors (+0.5) and AP/IB (+1.0) weighting.

## Output

Returns the computed GPA on the 4.0 scale (to two decimal places), total quality points, total credits, per-course grade points and quality points, an unweighted GPA for comparison when weighted mode is used, a plain-language summary, a verdict, any disclaimers, and flags for degraded results or courses that could not be evaluated.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "courses"
     ],
     "properties": {
      "courses": {
       "type": "string",
       "description": "JSON array of up to 60 objects like {\"grade\":\"B+\",\"credits\":4,\"level\":\"ap\"}; level is regular (default), honors or ap"
      },
      "weighted": {
       "type": "string",
       "description": "true to add +0.5 for honors and +1.0 for AP/IB courses (only to passing grades; default false)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "gpa": {
       "type": [
        "null",
        "number"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "courses": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "grade": {
          "type": [
           "null",
           "string"
          ]
         },
         "level": {
          "type": [
           "null",
           "string"
          ]
         },
         "points": {
          "type": [
           "null",
           "number"
          ]
         },
         "credits": {
          "type": [
           "null",
           "number"
          ]
         },
         "qualityPoints": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "weighted": {
       "type": [
  
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/grades-study-calc-gpa-calculator-4-0-scale-6665bc44/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from grades-calc.x402tookit.com](https://www.zero.xyz/host/grades-calc.x402tookit.com/llms.txt)
