Could you clarify a bit? The distance is the distance of the flight, no?
Yes. The question is how do they calculate the number of AAdvantage miles and loyalty points earned for distance X, in class Y, on airline Z. The airline partner pages on aa.com (such as
this) provide some of the information, but I can't find the exact formula anywhere.