FedEx posted quarterly earnings and revenue Wednesday that easily topped analysts' expectations.

The shipping giant reported fiscal third-quarter earnings of $2.51 per share, adjusted, on $12.7 billion in revenue. Profit rose from $2.03 per share in the previous year, while sales climbed from $11.7 billion.