Data Normalization Calculator Formula

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

Formulas Used

Normalized Value [0,1]

normalized = (value - min_val) / (max_val - min_val)

Normalized (%)

normalized_pct = ((value - min_val) / (max_val - min_val)) * 100

Data Range

range_val = max_val - min_val

Variables

VariableDescriptionDefault
valueValue to Normalize75
min_valDataset Minimum20
max_valDataset Maximum100

How It Works

How to Normalize Data (Min-Max)

Formula

Normalized = (X - Min) / (Max - Min)

Min-max normalization rescales data to the [0, 1] interval. The minimum maps to 0 and the maximum maps to 1. This is useful when features have different scales and you need them comparable, such as in machine learning preprocessing.

Worked Example

Dataset ranges from 20 to 100. Normalize the value 75.

value = 75min_val = 20max_val = 100
  1. 01Range = 100 - 20 = 80
  2. 02Normalized = (75 - 20) / 80 = 55 / 80 = 0.6875
  3. 0375 is 68.75% of the way from min to max

Ready to run the numbers?

Open Data Normalization Calculator