← All tool references

Finance · not_available

Salary to Hourly Calculator

Convert annual salary into hourly, daily, weekly, and monthly gross pay equivalents.

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/salary-to-hourly-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/salary-to-hourly-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.

annual_salary · number · required
Enter the annual gross salary used in the calculation.
hours_per_week · number · required
Enter the paid hours per week used in the calculation.
weeks_per_year · number · required
Enter the paid weeks per year used in the calculation.
days_per_week · number · required
Enter the workdays per week used in the calculation.
{
    "type": "object",
    "properties": {
        "annual_salary": {
            "type": "number",
            "description": "Enter the annual gross salary used in the calculation.",
            "minimum": 0
        },
        "hours_per_week": {
            "type": "number",
            "description": "Enter the paid hours per week used in the calculation.",
            "minimum": 1,
            "maximum": 168
        },
        "weeks_per_year": {
            "type": "number",
            "description": "Enter the paid weeks per year used in the calculation.",
            "minimum": 1,
            "maximum": 53
        },
        "days_per_week": {
            "type": "number",
            "description": "Enter the workdays per week used in the calculation.",
            "minimum": 1,
            "maximum": 7
        }
    },
    "required": [
        "annual_salary",
        "hours_per_week",
        "weeks_per_year",
        "days_per_week"
    ],
    "additionalProperties": false
}

Output schema

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

hourly_rate · number
Hourly pay equivalent produced by the calculation.
daily_salary · number
Daily gross pay produced by the calculation.
weekly_salary · number
Weekly gross pay produced by the calculation.
monthly_salary · number
Monthly gross pay produced by the calculation.
{
    "type": "object",
    "properties": {
        "hourly_rate": {
            "type": "number",
            "description": "Hourly pay equivalent produced by the calculation."
        },
        "daily_salary": {
            "type": "number",
            "description": "Daily gross pay produced by the calculation."
        },
        "weekly_salary": {
            "type": "number",
            "description": "Weekly gross pay produced by the calculation."
        },
        "monthly_salary": {
            "type": "number",
            "description": "Monthly gross pay produced by the calculation."
        }
    },
    "additionalProperties": false
}

Salary to Hourly 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/salary-to-hourly-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "annual_salary": 65000,
    "hours_per_week": 40,
    "weeks_per_year": 52,
    "days_per_week": 5
}'
{
    "ok": true,
    "data": {
        "slug": "salary-to-hourly-calculator",
        "result": {
            "values": {
                "hourly_rate": 31.25,
                "daily_salary": 250,
                "weekly_salary": 1250,
                "monthly_salary": 5416.670000000000072759576141834259033203125
            },
            "display": {
                "display": "31.25"
            },
            "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.