This is an air distance, meaning it's the shortest distance between the two points, measured as if you were flying in a straight line.
Important Note: Air miles are not the same as "frequent flyer miles."