The Seattle tech giant reported earnings of $3.27 per share on $51 billion in revenues for the quarter. Wall Street analysts were generally expecting $1.27 per share on revenues of $49.96 billion. In the same quarter last year, earnings were $1.48 per share on $35.7 billion in revenue.
The stock surged 6.7% in after-hours trading.