Different calculations can be used. And the most typical example is to identify the covered miles recorded by an odometer. Or you can subtract one odometer's reading from another one. Next, divide the traveled miles by the amount of gallon it took for a tank refill.