← All tool references

Education · execute

Final Grade Calculator

Find the final-exam score needed for a target course grade and see the full 0–100% outcome range.

Open public tool

Overview

Category
Education
API mode
execute
Processing
client-side
Privacy
no-data-stored

Public descriptor

The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.

GET /api/v1/tools/final-grade-calculator

View this descriptor as JSON

Execute availability

This tool has an execute route defined by its descriptor. Server-side execution is currently unavailable, so requests return api_not_launched.

POST /api/v1/tools/final-grade-calculator/execute

Authentication is not issued during the preview. A bearer API key is planned for execution after launch.

Input schema

object object; additional properties are not accepted.

current_grade · number · required
Average before the final.
desired_grade · number · required
Desired course percentage.
final_weight · number · required
Final exam weight as a percentage.
{
    "type": "object",
    "properties": {
        "current_grade": {
            "type": "number",
            "minimum": 0,
            "description": "Average before the final."
        },
        "desired_grade": {
            "type": "number",
            "minimum": 0,
            "description": "Desired course percentage."
        },
        "final_weight": {
            "type": "number",
            "exclusiveMinimum": 0,
            "maximum": 100,
            "description": "Final exam weight as a percentage."
        }
    },
    "required": [
        "current_grade",
        "desired_grade",
        "final_weight"
    ],
    "additionalProperties": false
}

Output schema

On a successful execution, schema values appear in data.result.values.

required_final_grade · number
Required final-exam percentage.
status · string
Reachability classification.
minimum_course_grade · number
Course grade with a 0% final.
maximum_course_grade · number
Course grade with a 100% final.
{
    "type": "object",
    "properties": {
        "required_final_grade": {
            "type": "number",
            "description": "Required final-exam percentage."
        },
        "status": {
            "type": "string",
            "enum": [
                "already_secured",
                "reachable",
                "above_100"
            ],
            "description": "Reachability classification."
        },
        "minimum_course_grade": {
            "type": "number",
            "description": "Course grade with a 0% final."
        },
        "maximum_course_grade": {
            "type": "number",
            "description": "Course grade with a 100% final."
        }
    },
    "additionalProperties": false
}

Need a 90 with a 30% final

The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.

curl -X POST "https://utilitypages.org/api/v1/tools/final-grade-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "current_grade": 85,
    "desired_grade": 90,
    "final_weight": 30
}'
{
    "ok": true,
    "data": {
        "slug": "final-grade-calculator",
        "result": {
            "values": {
                "required_final_grade": 101.6700000000000017053025658242404460906982421875,
                "status": "above_100",
                "minimum_course_grade": 59.5,
                "maximum_course_grade": 89.5
            },
            "display": {
                "display": "101.67"
            },
            "warnings": [],
            "assumptions": [],
            "steps": []
        }
    },
    "meta": [],
    "request_id": "req_example_123"
}

Errors

api_not_launched · 503
Returned by the current launch gate for every execute request.
invalid_json · 400
Returned when an enabled execute request does not contain valid JSON.
validation_failed · 422
Returned when a request does not satisfy the input schema.
browser_interaction_required · 422
Returned for browser capability tools instead of inventing a server-side result.
tool_not_found · 404
Returned when a requested descriptor slug does not exist.
execution_failed · 503
Returned when an enabled server-side execution cannot complete.