{
  "id": "central-limit-theorem",
  "version": "f9298a5853e1",
  "status": "published",
  "name": "Central Limit Theorem Calculator",
  "question": "Central limit theorem probability",
  "summary": "Uses the central limit theorem to find the mean and standard error of a sample mean, sum or proportion, and the probability that it falls below, above or between values.",
  "category": "statistics",
  "subcategory": "distributions",
  "url": "https://www.acalculator.org/statistics/central-limit-theorem-calculator",
  "markdown": "https://www.acalculator.org/statistics/central-limit-theorem-calculator.md",
  "kind": "function",
  "method": "x̄ ~ N(μ, σ ÷ √n); Σx ~ N(nμ, √n σ); p̂ ~ N(p, √(p(1 − p) ÷ n)); z = (value − mean) ÷ standard error; the probability is the normal area over the range.",
  "assumptions": [
    "The samples are random and independent.",
    "For a normal population the distribution of x̄ and Σx is exactly normal; otherwise the normal shape is an approximation that improves as n grows.",
    "For p̂, the normal approximation is reasonable when np and n(1 − p) are both more than 5."
  ],
  "inputs": {
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "type": "object",
    "properties": {
      "of": {
        "title": "Sampling distribution of",
        "description": "The statistic whose distribution you want: the sample mean, the sample sum or the sample proportion.",
        "type": "string",
        "enum": [
          "mean",
          "sum",
          "proportion"
        ]
      },
      "mu": {
        "title": "Population mean (μ)",
        "description": "The mean of the population you sample from.",
        "type": "number",
        "minimum": -1000000000000,
        "maximum": 1000000000000
      },
      "sigma": {
        "title": "Population standard deviation (σ)",
        "description": "The standard deviation of the population you sample from.",
        "type": "number",
        "exclusiveMinimum": 0,
        "maximum": 1000000000000
      },
      "p": {
        "title": "Population proportion (p)",
        "description": "The share of the population with the trait, between 0 and 1.",
        "type": "number",
        "exclusiveMinimum": 0,
        "exclusiveMaximum": 1
      },
      "n": {
        "title": "Sample size (n)",
        "description": "How many values are in each sample.",
        "type": "integer",
        "minimum": 1,
        "maximum": 1000000000
      },
      "find": {
        "title": "Probability",
        "description": "Whether to find the chance of a value between two numbers, below one, or above one.",
        "type": "string",
        "enum": [
          "between",
          "below",
          "above"
        ]
      },
      "a": {
        "title": "Lower value",
        "description": "The lower end, in the units of the statistic.",
        "type": "number",
        "minimum": -1000000000000,
        "maximum": 1000000000000
      },
      "b": {
        "title": "Upper value",
        "description": "The upper end, in the units of the statistic.",
        "type": "number",
        "minimum": -1000000000000,
        "maximum": 1000000000000
      }
    }
  },
  "outputs": {
    "probability": {
      "label": "Probability",
      "description": "The chance that the statistic falls in the chosen range, by the normal approximation.",
      "format": "number"
    },
    "center": {
      "label": "Mean of the sampling distribution",
      "description": "The mean of the statistic: μ for x̄, nμ for Σx, and p for p̂.",
      "format": "number"
    },
    "se": {
      "label": "Standard error",
      "description": "The standard deviation of the statistic: σ ÷ √n for x̄, √n σ for Σx, and √(p(1 − p) ÷ n) for p̂.",
      "format": "number"
    },
    "zLo": {
      "label": "z of the lower value",
      "description": "How many standard errors the lower value is from the mean.",
      "format": "number"
    },
    "zHi": {
      "label": "z of the upper value",
      "description": "How many standard errors the upper value is from the mean.",
      "format": "number"
    },
    "check": {
      "label": "Normal approximation",
      "description": "A note on when the normal shape holds for these inputs.",
      "format": "text"
    }
  },
  "defaultAnswer": {
    "inputs": {
      "of": "mean",
      "mu": 90,
      "sigma": 15,
      "p": 0.5,
      "n": 25,
      "find": "between",
      "a": 85,
      "b": 92
    },
    "outputs": {
      "probability": 0.6997171101802626,
      "center": 90,
      "se": 3,
      "zLo": -1.6666666666666667,
      "zHi": 0.6666666666666666,
      "check": "Exact when the population is normal. For other populations it is an approximation that improves as n grows."
    },
    "text": "The probability is 0.6997, with a sampling distribution of mean 90 and standard error 3."
  },
  "examples": [
    {
      "given": {
        "of": "mean",
        "mu": 90,
        "sigma": 15,
        "n": 25,
        "find": "between",
        "a": 85,
        "b": 92
      },
      "expect": {
        "probability": 0.6997171101802624,
        "center": 90,
        "se": 3,
        "zLo": -1.6666666666666667,
        "zHi": 0.6666666666666666
      },
      "source": "OpenStax, Introductory Statistics 2e, §7.1 The Central Limit Theorem for Sample Means (Averages) (x̄ ~ N(μ, σ ÷ √n); Example 7.1: μ = 90, σ = 15, n = 25, P(85 < x̄ < 92) = 0.6997), https://openstax.org/books/introductory-statistics-2e/pages/7-1-the-central-limit-theorem-for-sample-means-averages (retrieved 2026-10-05); hand calculation in content.mdx: σ ÷ √n = 15 ÷ 5 = 3; Python 3: statistics.NormalDist().cdf(2/3) − cdf(−5/3)"
    },
    {
      "given": {
        "of": "sum",
        "mu": 90,
        "sigma": 15,
        "n": 80,
        "find": "above",
        "a": 7500
      },
      "expect": {
        "probability": 0.012673659338734147,
        "center": 7200,
        "se": 134.1640786499874,
        "zLo": 2.2360679774997894
      },
      "source": "OpenStax, Introductory Statistics 2e, §7.2 The Central Limit Theorem for Sums (ΣX ~ N(nμ, √n σ); Example 7.5: μ = 90, σ = 15, n = 80, P(Σx > 7,500) = 0.0127), https://openstax.org/books/introductory-statistics-2e/pages/7-2-the-central-limit-theorem-for-sums (retrieved 2026-10-05); hand calculation in content.mdx: nμ = 7,200, √80 × 15 = 134.164; Python 3: statistics.NormalDist().cdf(−300 ÷ (√80 × 15))"
    },
    {
      "given": {
        "of": "proportion",
        "p": 0.6,
        "n": 100,
        "find": "above",
        "a": 0.65
      },
      "expect": {
        "probability": 0.15371708296369768,
        "center": 0.6,
        "se": 0.04898979485566356,
        "zLo": 1.0206207261596576
      },
      "source": "OpenStax, Introductory Business Statistics, §7.3 The Central Limit Theorem for Proportions (mean p, standard deviation √(p(1 − p) ÷ n)), https://openstax.org/books/introductory-business-statistics/pages/7-3-the-central-limit-theorem-for-proportions (retrieved 2026-10-05); hand calculation in content.mdx: √(0.6 × 0.4 ÷ 100) = 0.04899, z = 0.05 ÷ 0.04899 = 1.0206; Python 3: 0.5 × math.erfc(z ÷ √2) with 0.65 − 0.6 as a Fraction"
    },
    {
      "given": {
        "of": "mean",
        "mu": 50,
        "sigma": 10,
        "n": 16,
        "find": "below",
        "b": 48
      },
      "expect": {
        "probability": 0.21185539858339666,
        "se": 2.5,
        "zHi": -0.8
      },
      "source": "OpenStax, Introductory Statistics 2e, §7.1 The Central Limit Theorem for Sample Means (Averages) (x̄ ~ N(μ, σ ÷ √n); Example 7.1: μ = 90, σ = 15, n = 25, P(85 < x̄ < 92) = 0.6997), https://openstax.org/books/introductory-statistics-2e/pages/7-1-the-central-limit-theorem-for-sample-means-averages (retrieved 2026-10-05); hand calculation in content.mdx: 10 ÷ √16 = 2.5, z = −2 ÷ 2.5 = −0.8; Python 3: statistics.NormalDist().cdf(−0.8)"
    }
  ],
  "sources": [
    "OpenStax, Introductory Statistics 2e, §7.1 The Central Limit Theorem for Sample Means (Averages): x̄ ~ N(μ, σ ÷ √n); Example 7.1 (μ = 90, σ = 15, n = 25, P(85 < x̄ < 92) = 0.6997). https://openstax.org/books/introductory-statistics-2e/pages/7-1-the-central-limit-theorem-for-sample-means-averages (retrieved 2026-10-05)",
    "OpenStax, Introductory Statistics 2e, §7.2 The Central Limit Theorem for Sums: ΣX ~ N(nμ, √n σ); Example 7.5 (n = 80, P(Σx > 7,500) = 0.0127). https://openstax.org/books/introductory-statistics-2e/pages/7-2-the-central-limit-theorem-for-sums (retrieved 2026-10-05)",
    "OpenStax, Introductory Business Statistics, §7.3 The Central Limit Theorem for Proportions: mean p and standard deviation √(p(1 − p) ÷ n). https://openstax.org/books/introductory-business-statistics/pages/7-3-the-central-limit-theorem-for-proportions (retrieved 2026-10-05)",
    "OpenStax, Introductory Statistics 2e, §8.3 A Population Proportion: the normal approximation needs np and n(1 − p) both more than 5. https://openstax.org/books/introductory-statistics-2e/pages/8-3-a-population-proportion (retrieved 2026-10-05)"
  ],
  "related": [
    "sampling-distribution",
    "standard-error",
    "normal-distribution",
    "z-score"
  ],
  "changelog": []
}
