Statistics & probability

Min–max normalisation

Rescale a numeric dataset into a chosen output interval.

Min–max normalisation
Esc to restore

Your inputs

Up to 50,000 values. No thousands separators. Absolute values up to 1 trillion; non-zero values must be at least 1e-100 in magnitude.

Results update as you type. Larger files run when you press Update result.

Your result

LOCAL & PRIVATE

Your result will appear here.

Your inputs stay in this browser. Nothing is uploaded or saved.

A clear answer. Here’s how.

Transforms x to lower+(x−minimum)/(maximum−minimum)×(upper−lower). Requires lower<upper and non-constant input data. Fits the minimum and maximum to this supplied dataset only; future values outside its range can lie outside the chosen interval. Retains original row positions.

See a worked example

Worked example

A fixed demonstration, separate from the values you enter above.

Values, separated by commas or new lines
2, 4, 4, 4, 5, 5, 7, 9
Output lower bound
0
Output upper bound
1

Example result

First 5 rows of the example result
Input positionOriginal valueNormalised value
120
240.285714285714
340.285714285714
440.285714285714
550.428571428571