Z-Score Calculator

Calculate a z-score from a raw value using a dataset or manually entered mean and standard deviation

Calculate a standard score for a raw value.

z = (x - mean) / standard deviation

Provide a dataset to derive the mean and standard deviation automatically, or enter known mean and standard deviation values directly. The result also includes the normal percentile estimate.

Example Results

1 examples

Compute z-score from a dataset

Use a dataset to derive the mean and sample standard deviation automatically.

{
  "result": {
    "zScore": -0.6325,
    "mean": 90,
    "standardDeviation": 7.9057
  }
}
View input parameters
{ "rawValue": "85", "dataset": "80, 85, 90, 95, 100", "mean": "", "standardDeviation": "", "standardDeviationType": "sample", "decimalPlaces": 4 }

Key Facts

Category
Math, Date & Finance
Input Types
text, textarea, select, number
Output Type
json
Sample Coverage
0
API Ready
Yes

Overview

The Z-Score Calculator quickly computes the standard score of a raw value to determine how many standard deviations it is from the mean. You can either paste a raw dataset to automatically derive the mean and standard deviation, or manually enter known population or sample parameters. It is an essential utility for statistics, grading, and data analysis, providing precise z-scores and percentile estimates.

When to Use

  • Comparing individual data points from different normal distributions, such as standardized test scores.
  • Identifying statistical outliers within a dataset by finding values with unusually high or low standard scores.
  • Determining the relative standing or percentile rank of a specific value within a normal distribution.

How It Works

  • Enter the raw value you want to evaluate in the designated input field.
  • Provide a comma-separated dataset to automatically calculate the mean and standard deviation, or enter these parameters manually.
  • Select whether your data represents a sample or an entire population to apply the correct standard deviation formula.
  • The tool calculates the z-score using the formula z = (x - μ) / σ and outputs the standard score alongside the mean and standard deviation.

Use Cases

Evaluating student performance by comparing a raw exam score against the class average and spread.
Quality control in manufacturing to measure how far a product's dimensions deviate from the target specification.
Financial analysis to assess the volatility of an investment return relative to historical market performance.

Examples

1. Evaluating a Test Score from Class Data

Teacher
Background
A teacher wants to know how well a student performed on a test compared to the rest of the class.
Problem
Needs to find the z-score of a student who scored 85, using the scores of the entire class to find the mean and spread.
How to Use
Enter '85' as the Raw Value, paste the class scores into the Dataset field, and select 'Sample' for the standard deviation type.
Example Config
Raw Value: 85
Dataset: 80, 85, 90, 95, 100
Standard Deviation Type: sample
Outcome
The tool calculates the mean (90) and sample standard deviation (7.9057), returning a z-score of -0.6325, indicating the student scored slightly below the class average.

2. Comparing Standardized Test Scores

College Applicant
Background
An applicant took a standardized test where the national average is 1000 with a standard deviation of 200.
Problem
Wants to calculate the standard score for their raw score of 1350 to understand their relative performance.
How to Use
Enter '1350' as the Raw Value, leave the Dataset field empty, and manually input '1000' for the Mean and '200' for the Standard Deviation.
Example Config
Raw Value: 1350
Mean: 1000
Standard Deviation: 200
Outcome
The calculator returns a z-score of 1.75, showing the score is 1.75 standard deviations above the national average.

Related Hubs

FAQ

What is a z-score?

A z-score, or standard score, indicates how many standard deviations a raw data point is above or below the mean of its distribution.

Should I use sample or population standard deviation?

Use population if your dataset includes every member of the group you are studying. Use sample if your data is only a subset of the larger population.

What does a negative z-score mean?

A negative z-score means the raw value is below the average (mean) of the dataset. A positive z-score means it is above the average.

Can I calculate a z-score without a full dataset?

Yes. If you already know the mean and standard deviation of your distribution, you can enter them manually instead of providing a full dataset.

What is considered a normal z-score?

In a normal distribution, about 68% of values have a z-score between -1 and 1, and 95% fall between -2 and 2. Values beyond -3 or 3 are typically considered outliers.

API Documentation

Request Endpoint

POST /en/api/tools/z-score-calculator

Request Parameters

Parameter Name Type Required Description
rawValue text Yes -
dataset textarea No -
mean text No -
standardDeviation text No -
standardDeviationType select No -
decimalPlaces number No -

Response Format

{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
JSON Data: JSON Data

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-z-score-calculator": {
      "name": "z-score-calculator",
      "description": "Calculate a z-score from a raw value using a dataset or manually entered mean and standard deviation",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=z-score-calculator",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

If you encounter any issues, please contact us at [email protected]