If we interpret distance as negative log odds.

\\((-({\log}_2 \(p \over 1-p\)\\)