Beregn dist