The Frechet distance between two distributions and is given by:

where represents the set of joint distributions that are compatible with the marginal distributions and .

The Frechet distance can also be formulated as a measure of the maximum distance between the cumulative probability curves.