get : distance with formula