{"uid":"cap_TtBVxERC1o-W8n5d-PHO2","slug":"grades-study-calc-gpa-calculator-4-0-scale-6665bc44","name":"Grades & Study Calc — GPA Calculator (4.0 Scale)","description":"GPA on the 4.0 scale from letter grades and credits, with optional honors (+0.5) and AP/IB (+1.0) weighting.","url":"https://grades-calc.x402tookit.com/gpa?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"totalCredits":{"type":["null","number"]},"unweightedGpa":{"type":["null","number"]},"gpaToTwoPlaces":{"type":["null","number"]},"totalQualityPoints":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_S8L-xfQrAjaGBS1Mkhqx5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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).","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Semester GPA check with AP courses","prompt":"I got A-, B+, and A in my three AP classes this semester, all worth 4 credits each. Can you calculate my weighted GPA using AP weighting?"},{"title":"College application GPA calculation","prompt":"I need my unweighted GPA for a college application — here are my grades: A in Bio (4 credits), B in History (3 credits), A- in English (3 credits), B+ in Math (4 credits), and C in PE (1 credit)."},{"title":"Honors vs regular class GPA comparison","prompt":"Can you calculate my GPA both weighted and unweighted? I have: A in Honors Chemistry (4 credits), B+ in Honors Spanish (3 credits), A- in regular Art (2 credits), B in regular Health (1 credit)."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:13:44.356Z","isFirstParty":false,"canonicalSlug":"grades-study-calc-gpa-calculator-4-0-scale-6665bc44"}