← All tool references

Finance · not_available

Overtime Pay Calculator

Calculate regular, overtime, weekly, and annualized gross pay.

Open public tool

Overview

Category
Finance
API mode
not_available
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/overtime-pay-calculator

View this descriptor as JSON

Execute availability

This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.

POST /api/v1/tools/overtime-pay-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.

hourly_rate · number · required
Enter the hourly rate used by this tool.
regular_hours · number · required
Enter the regular hours used by this tool.
overtime_hours · number · required
Enter the overtime hours used by this tool.
overtime_multiplier · number · required
Enter the overtime multiplier used by this tool.
weeks_per_year · number · required
Enter the working weeks per year used by this tool.
{
    "type": "object",
    "properties": {
        "hourly_rate": {
            "type": "number",
            "description": "Enter the hourly rate used by this tool.",
            "minimum": 0
        },
        "regular_hours": {
            "type": "number",
            "description": "Enter the regular hours used by this tool.",
            "minimum": 0,
            "maximum": 168
        },
        "overtime_hours": {
            "type": "number",
            "description": "Enter the overtime hours used by this tool.",
            "minimum": 0,
            "maximum": 168
        },
        "overtime_multiplier": {
            "type": "number",
            "description": "Enter the overtime multiplier used by this tool.",
            "minimum": 1,
            "maximum": 5
        },
        "weeks_per_year": {
            "type": "number",
            "description": "Enter the working weeks per year used by this tool.",
            "minimum": 1,
            "maximum": 52
        }
    },
    "required": [
        "hourly_rate",
        "regular_hours",
        "overtime_hours",
        "overtime_multiplier",
        "weeks_per_year"
    ],
    "additionalProperties": false
}

Output schema

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

regular_pay · number
Regular pay produced by the tool.
overtime_pay · number
Overtime pay produced by the tool.
weekly_gross_pay · number
Weekly gross pay produced by the tool.
annualized_gross_pay · number
Annualized gross pay produced by the tool.
blended_hourly_rate · number
Blended hourly rate produced by the tool.
{
    "type": "object",
    "properties": {
        "regular_pay": {
            "type": "number",
            "description": "Regular pay produced by the tool."
        },
        "overtime_pay": {
            "type": "number",
            "description": "Overtime pay produced by the tool."
        },
        "weekly_gross_pay": {
            "type": "number",
            "description": "Weekly gross pay produced by the tool."
        },
        "annualized_gross_pay": {
            "type": "number",
            "description": "Annualized gross pay produced by the tool."
        },
        "blended_hourly_rate": {
            "type": "number",
            "description": "Blended hourly rate produced by the tool."
        }
    },
    "additionalProperties": false
}

Overtime Pay Calculator example

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/overtime-pay-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "hourly_rate": 24,
    "regular_hours": 40,
    "overtime_hours": 8,
    "overtime_multiplier": 1.5,
    "weeks_per_year": 50
}'
{
    "ok": true,
    "data": {
        "slug": "overtime-pay-calculator",
        "result": {
            "values": {
                "regular_pay": 960,
                "overtime_pay": 288,
                "weekly_gross_pay": 1248,
                "annualized_gross_pay": 62400,
                "blended_hourly_rate": 26
            },
            "display": {
                "display": "960"
            },
            "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.