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)) * 100Data Range
range_val = max_val - min_valVariables
| Variable | Description | Default |
|---|---|---|
value | Value to Normalize | 75 |
min_val | Dataset Minimum | 20 |
max_val | Dataset Maximum | 100 |
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
- 01Range = 100 - 20 = 80
- 02Normalized = (75 - 20) / 80 = 55 / 80 = 0.6875
- 0375 is 68.75% of the way from min to max
Ready to run the numbers?
Open Data Normalization Calculator