← All tool references

Math · not_available

Standard Deviation Calculator

Calculate mean, variance, standard deviation, minimum, maximum, and count for a numeric data set.

Open public tool

Overview

Category
Math
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/standard-deviation-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/standard-deviation-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.

values · string · required
Enter numbers separated by commas, spaces, or line breaks.
mode · string · required
Choose the data type that matches the calculation. Accepted values: sample, population.
{
    "type": "object",
    "properties": {
        "values": {
            "type": "string",
            "description": "Enter numbers separated by commas, spaces, or line breaks."
        },
        "mode": {
            "type": "string",
            "description": "Choose the data type that matches the calculation.",
            "enum": [
                "sample",
                "population"
            ]
        }
    },
    "required": [
        "values",
        "mode"
    ],
    "additionalProperties": false
}

Output schema

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

standard_deviation · number
Standard deviation produced by the calculation.
variance · number
Variance produced by the calculation.
mean · number
Mean produced by the calculation.
count · number
Count produced by the calculation.
minimum · number
Minimum produced by the calculation.
maximum · number
Maximum produced by the calculation.
{
    "type": "object",
    "properties": {
        "standard_deviation": {
            "type": "number",
            "description": "Standard deviation produced by the calculation."
        },
        "variance": {
            "type": "number",
            "description": "Variance produced by the calculation."
        },
        "mean": {
            "type": "number",
            "description": "Mean produced by the calculation."
        },
        "count": {
            "type": "number",
            "description": "Count produced by the calculation."
        },
        "minimum": {
            "type": "number",
            "description": "Minimum produced by the calculation."
        },
        "maximum": {
            "type": "number",
            "description": "Maximum produced by the calculation."
        }
    },
    "additionalProperties": false
}

Standard Deviation 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/standard-deviation-calculator/execute" \
  -H "Content-Type: application/json" \
  -d '{
    "values": "12, 15, 18, 22, 23, 27",
    "mode": "sample"
}'
{
    "ok": true,
    "data": {
        "slug": "standard-deviation-calculator",
        "result": {
            "values": {
                "standard_deviation": 5.54075806999999986857119438354857265949249267578125,
                "variance": 30.699999999999999289457264239899814128875732421875,
                "mean": 19.5,
                "count": 6,
                "minimum": 12,
                "maximum": 27
            },
            "display": {
                "display": "5.54075807"
            },
            "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.