{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://askcalculators.com/calculator/standard-deviation-calculator/schema.json",
  "title": "Standard Deviation Calculator inputs",
  "description": "Calculate population or sample standard deviation, variance, mean, sum, standard error, and margin of error.",
  "type": "object",
  "properties": {
    "values": {
      "title": "Numbers",
      "type": "string",
      "description": "Separate values with commas, spaces, or semicolons.",
      "default": "10, 12, 23, 23, 16, 23, 21, 16"
    },
    "sample": {
      "title": "Treat the values as a sample",
      "type": "boolean",
      "default": false
    },
    "confidenceLevel": {
      "title": "Confidence level for margin of error",
      "type": "number",
      "default": 95,
      "enum": [
        80,
        90,
        95,
        98,
        99
      ],
      "x-optionLabels": {
        "80": "80%",
        "90": "90%",
        "95": "95%",
        "98": "98%",
        "99": "99%"
      }
    }
  },
  "required": [
    "values",
    "confidenceLevel"
  ],
  "additionalProperties": false,
  "x-askcalculators": {
    "version": "2.0.0",
    "calculatorUrl": "https://askcalculators.com/calculator/standard-deviation-calculator/",
    "queryExample": "https://askcalculators.com/calculator/standard-deviation-calculator/?values=10%2C+12%2C+23%2C+23%2C+16%2C+23%2C+21%2C+16&sample=0&confidenceLevel=95",
    "migrationStatus": "new",
    "reviewStatus": "pending",
    "pageStatus": "live",
    "workStatus": "pending",
    "formula": {
      "expression": "Population: σ = √[Σ(x − μ)²/n]; sample: s = √[Σ(x − x̄)²/(n − 1)]; margin = z·s/√n."
    },
    "quality": {
      "availability": "live",
      "technicalReviewRecord": "/reviews/standard-deviation-calculator.json",
      "qualifiedReview": "pending",
      "qualifiedReviewer": null,
      "qualifiedReviewDate": null,
      "formulaVersion": "2.0.0",
      "referenceCoverage": "references-listed",
      "releaseTestScope": "Flagship reference cases are specified in scripts/test-v20-1.mjs; consult release evidence for executed results.",
      "historicalMetadataDate": "2026-08-25",
      "historicalMetadataNotice": "The imported date is not evidence of a completed human review."
    },
    "outputs": {
      "standardDeviation": {
        "title": "Standard deviation",
        "type": "number",
        "x-format": "number",
        "x-digits": 6,
        "x-primary": true
      },
      "variance": {
        "title": "Variance",
        "type": "number",
        "x-format": "number",
        "x-digits": 6
      },
      "mean": {
        "title": "Mean",
        "type": "number",
        "x-format": "number",
        "x-digits": 6
      },
      "sum": {
        "title": "Sum",
        "type": "number",
        "x-format": "number",
        "x-digits": 6
      },
      "count": {
        "title": "Count",
        "type": "number",
        "x-format": "integer"
      },
      "standardError": {
        "title": "Standard error",
        "type": "number",
        "x-format": "number",
        "x-digits": 6
      },
      "marginOfError": {
        "title": "Margin of error",
        "type": "number",
        "x-format": "number",
        "x-digits": 6
      }
    }
  }
}
