Skip to main content

Z Score Calculatorv1.0.0

Returns z = (x - mu) / sigma with four solve modes letting z, x, mu, or sigma serve as the unknown. Standard normal probabilities use a stable erf approximation to report left-tail, right-tail, two-tailed, and percentile values, and a batch mode scores many observations against shared mean and sigma.

Statistics
Data
Reference

Documentation

The calculator implements the z-score identity z = (x - mu) / sigma and exposes any one of the four variables as the unknown. A fifth mode inverts the standard normal cumulative distribution so you can recover a z-score from a probability or percentile. Standard normal probabilities are computed with the Abramowitz and Stegun 7.1.26 erf approximation, which has a worst-case absolute error near 1.5e-7 across the real line, so the reported tail values stay accurate well into the extreme tails.

  1. Select the variable to solve for from the Solve for dropdown. The other three inputs remain visible and the unknown is hidden.
  2. Enter the known values. Decimal, fraction, mixed-number, scientific notation, and comma-grouped formats are all accepted: 1.96, 1 3/4, 1-3/4, 1.5e2, and 1,250 are all parsed.
  3. Click Calculate, or simply pause typing; debounced auto-calculation runs 500 ms after the last keystroke.
  4. Review the results table. The first row shows the solved unknown, the second row repeats the z-score, and the remaining rows report four standard normal probabilities plus the percentile.
  5. Open Settings to adjust decimal places, display probabilities as percentages, or enable the step-by-step derivation panel.
  6. Open the Batch z-scores disclosure for bulk scoring. Add rows manually or import a single-column CSV; values are scored against the mean and sigma you entered above. Export the table back to CSV when finished.

Formula reference. Standard score: z = (x - mu) / sigma. Standard normal CDF: Phi(z) = 0.5 * (1 + erf(z / sqrt(2))). Right-tail: 1 - Phi(z). Two-tailed: 2 * (1 - Phi(|z|)). Inner: 1 - 2 * (1 - Phi(|z|)). Inverse for the z from probability mode uses Acklam's rational approximation, accurate to roughly 1.15e-9 in the central region.

A z-score expresses how unusual an observation is relative to its distribution by counting standard deviations from the mean. The same calculation powers hypothesis tests, percentile reporting, outlier flags, and process control charts, so the tool fits any context where raw numbers need to be made comparable across scales.

  • Statistics coursework: Verify textbook problems where x = 78, mu = 70, sigma = 4 yields z = 2 and a percentile of 97.72.
  • Standardized testing: Convert a raw SAT or GRE score to a z-score against the published mean and standard deviation, then read the percentile to position the result inside the cohort.
  • Quality control: Score a production measurement against the target mean and process sigma to flag whether it sits inside the natural plus or minus three sigma control band.
  • Finance and risk: Standardize a daily return against trailing sample statistics to estimate how heavy a single-day move is, recognizing that real return distributions have fatter tails than the normal model assumes.
  • Clinical reference ranges: Compare a lab value to a population mean and sigma, then read the two-tailed probability to gauge how far from typical the observation falls.
  • Survey research: Standardize Likert composite scores or attitude indices across instruments with different scales so they can be compared on a common metric.
  • Sports analytics: Score a single-game stat line against a player's season mean and sigma to identify breakout or slump performances by deviation count rather than raw totals.
  • Inverse lookup: Use the z from probability mode to recover the critical value for a 95 percent confidence interval (z = 1.96) or a one-tailed 99 percent threshold (z = 2.326).
Inputs, outputs, and what the Z Score Calculator computes

The form above accepts the following inputs and produces the outputs listed below. This summary is rendered in the page so the parameters are visible to crawlers, assistive tech, and indexing agents that don't fetch the embedded tool frame.

Inputs

  • Solve for · default: z-score from x, mean, sigma
  • Raw value (x) (text input) · default: 1
  • Mean (mu) (text input) · default: 0
  • Standard deviation (sigma) (text input) · default: 1
  • z-score (z) (text input) · default: 1
  • Probability or percentile (text input) · default: 0.95
  • Treat input as percentile (0 to 100)
  • Tail · default: left-tail: P(Z < z)
  • Decimal places (output) (numeric input) · default: 4 · range: 0 to 10
  • Show step-by-step derivation
  • Display probabilities as percent

Controls

Calculate · Reset · Export results as CSV · Clear rows

Worked example

Inverse for the z from probability mode uses Acklam's rational approximation, accurate to roughly 1.15e-9 in the central region.