Originally Posted by
potus18
EQMs are simply the distance between the origin and destination and EQDs are the fare of the ticket. If you pay $100 for a ticket where the fare is $65 and taxes are $35, you'll earn 65 EQDs. The fare information is usually listed on the booking management page.
There is also the J multiplier on the EQMs. AA doesn't list the mileage anymore but there are several web sites that are pretty close. You can get BA's version by feeding the flight to their Avios calculator.