How to use the Min-Max Normalization and Standardization Calculator
- 1. Paste a featureEnter one column of numbers, such as ages or salaries.
- 2. Set the rangeKeep 0 to 1 or choose another range such as −1 to 1.
- 3. Get both scalingsCompare min-max and z-score values and download the CSV.
The two formulas
Min-max normalization: x' = a + (x − min) × (b − a) ÷ (max − min). With a = 0 and b = 1, the smallest value becomes 0 and the largest becomes 1. Z-score standardization: z = (x − mean) ÷ SD, giving mean 0 and SD 1.
Worked example: for 10, 20, 30, 40, 50 the min is 10 and the max is 50, so the min-max values are 0, 0.25, 0.5, 0.75 and 1. The mean is 30 and the population SD is 14.1421, so the z-scores are -1.4142, -0.7071, 0.0000, 0.7071, 1.4142.
Which one to use
- Min-max suits neural network inputs, image pixels and algorithms that need a fixed range. One outlier squashes every other value together, though.
- Standardization suits linear and logistic regression, SVM, KNN, PCA and k-means, and copes better with outliers.
- Tree models such as decision trees and random forests do not need scaling.
The population SD option matches scikit-learn's StandardScaler and MinMaxScaler. The biggest mistake in practice is data leakage: compute min, max, mean and SD on the training set only, then apply those same numbers to the test set. Never fit the scaler on all the data. See how to split first with the train-test split calculator, and check a single value with the z-score calculator.
Frequently asked questions
Is normalization the same as standardization?
People mix the words up. Here, normalization means min-max scaling and standardization means z-scores.
Can I scale several columns?
Scale one column at a time, because each feature needs its own min, max, mean and SD.
Is the Min-Max Normalization and Standardization Calculator free?
Yes, the Min-Max Normalization and Standardization Calculator is free. The first time you see your first result, you are asked for your name and WhatsApp number once. After that, this and every other Uncodemy tool opens straight away without the form.