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. Berry-Esseen bounds are often stated in terms of the KS distance.

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.

The KS distance is obviously upper bounded by the total variation distance.