The Kolmogorov-Smirnoff distributional distance between two distributions and over the reals is

Note that and need not have the same support for this definition to make sense. They could even be defined on different probability spaces.

The KS distance is an ideal metric of order 0. It is useful for proving central limit theorems and provides an error bound on the Wald interval.

KS distance is useful for CLTs because, for a sequence of random variables , if then . Moreover, the converse is true if is a continuous random variable.