Standardization Calculator Formula

Understand the math behind the standardization calculator. Each variable explained with a worked example.

Formulas Used

Standardized Value (z)

standardized = (value - mean_val) / std_dev

Deviation from Mean

deviation = value - mean_val

|z|

abs_z = abs((value - mean_val) / std_dev)

Variables

VariableDescriptionDefault
valueValue to Standardize75
mean_valDataset Mean60
std_devDataset Standard Deviation10

How It Works

How to Standardize Data (Z-Score)

Formula

Z = (X - Mean) / SD

Standardization (z-score transformation) converts data to have mean 0 and standard deviation 1. Each standardized value tells you how many standard deviations the original value is from the mean. This is the most common preprocessing step in statistics and machine learning.

Worked Example

Dataset has mean 60 and SD 10. Standardize the value 75.

value = 75mean_val = 60std_dev = 10
  1. 01Z = (75 - 60) / 10 = 15 / 10 = 1.5
  2. 0275 is 1.5 standard deviations above the mean
  3. 03After standardization, the value is 1.5

Ready to run the numbers?

Open Standardization Calculator