---
title: "Standard Deviation Calculator"
method: POST
path: "/api/v1/tools/standard-deviation-calculator"
tags: ["tools"]
---

# Standard Deviation Calculator

`POST /api/v1/tools/standard-deviation-calculator`

## Request

- Base URL: `https://toolforte.com`
- URL: `https://toolforte.com/api/v1/tools/standard-deviation-calculator`
- Auth: HTTP bearer

Standard deviation and variance of a list of numbers, both the sample and the population figures, plus the mean, the sum and the sum of squared deviations. The `type` field says which of the two the headline standardDeviation reports: the sample one unless asked otherwise, or the population one when there is a single value.

## Request body

- object
  - `values` integer[]
  - `type` string

## Response `200`

Successful result

- object
  - `ok` boolean
  - `data` object
    - `type` string
    - `count` integer
    - `sum` integer
    - `mean` integer
    - `sumOfSquares` integer
    - `sampleStandardDeviation` number
    - `sampleVariance` integer
    - `populationStandardDeviation` number
    - `populationVariance` number
    - `standardDeviation` number
    - `variance` integer
    - `min` integer
    - `max` integer
    - `values` integer[]

## Other responses

- `400`: Missing or invalid request fields
- `401`: Invalid or missing API key
- `429`: Monthly plan limit reached

---

[API](https://skmtc.dev/toolforte/apis/toolforte-api.md) · [All operations](https://skmtc.dev/toolforte/apis/toolforte-api/llms.txt) · [OpenAPI document](https://skmtc.dev/toolforte/apis/toolforte-api/revisions/4d814d484dfc?raw)
