AA mileage earning calculation
By the way, AA changed the rules starting this year so that business class flights now earn the same 50% class-of-service bonus as first class flights. It would be worthwhile to update the tool for that.
(There's also a "currency" promotion on AAdvantage where AA-coded flights booked in higher fare classes earn an extra bonus, but I suspect it's not worth updating the tool for it.)
Would there be interest in adding a column for elite-qualifying criteria? If so, you could calculate AA EQP in the same way you calculate miles earned, just with a different multiplier for class of service (1.5 EQP/mile for D and A fares).