Apple reported strong results for the fiscal third quarter Tuesday, posting big beats on earnings per share and average iPhone selling price. Here's how the company did compared with Wall Street projections: EPS: $2.34 vs. $2.18, according to Thomson Reuters consensus estimates

$2.34 vs. $2.18, according to Thomson Reuters consensus estimates Revenue: $53.3 billion vs. $52.34 billion, according to Thomson Reuters consensus estimates

$53.3 billion vs. $52.34 billion, according to Thomson Reuters consensus estimates iPhone sales: 41.3 million vs. 41.79 million, according to StreetAccount The quarterly report comes after a market rout for major tech stocks. Silicon Valley giants Facebook and Twitter each shed 20 percent after disappointing reports last week. Shares of Apple rose 4 percent in extended trading, after the company fell right in line with analyst projections of strong upsides for the quarter that ended June 30. EPS grew by 40 percent year over year, and revenue grew by 17 percent year over year. Many were hanging high hopes on Apple's flagship handset and its climbing average selling price (ASP). The 41.3 million iPhones shipped during the third quarter is basically flat from the year-ago period, but the ASP of $724 is a notable jump from the year-ago period. That ASP bump is likely be because of the pricey iPhone X, which starts at $999.

CEO Tim Cook told CNBC's Josh Lipton the company was "thrilled with how we did" with regard to ASP and underlying demand for iPhones. Apple also touted growth in its other products, marking over 60 percent growth in wearables, which includes the Apple Watch, AirPods and Beats headphones. The company's total "Other Products" category, which also includes the HomePod, saw a 37 percent year-over-year jump in revenue, totaling $3.74 billion. Analysts had forecast $3.67 billion in revenue for the segment during the third quarter.

Wild cards

Services: Investors have been watching closely as Apple ups its software and services revenue — a catch-all category that includes the App Store, Apple Care, Apple Pay, iTunes and cloud services. The segment has been outpacing iPhone revenue growth for several quarters. Apple posted $9.55 billion in services revenue for the third quarter — a jump of 28 percent from the year-ago quarter, excluding a favorable one-time item. That beats out Wall Street estimates of $9.21 billion and stands as the segment's highest quarterly revenue to date. "We feel great about the momentum of our services business, and we're on target to reach our goal of doubling our fiscal 2016 services revenue by 2020," Cook said on the company's earnings call.

The record services revenue is partly the result of a one-time line item totaling $236 million related to lawsuits, the company said. It also saw a boost from increased paid subscribers through the App Store, a 50 percent year-over-year increase in cloud revenue, and higher Apple Pay usage rates. "Apple Pay continues to expand with well over 1 billion transactions last quarter, triple the amount from just a year ago, with growth accelerating from the March quarter," Cook said on the earnings call. "To put that tremendous growth into perspective, this past quarter, we completed more total transactions than great companies like Square and more mobile transactions than PayPal." Forward-looking guidance: Apple guided toward fourth-quarter revenue between $60 billion and $62 billion, edging out Wall Street predictions of $59.47 billion, according to StreetAccount. The company's most recent quarterly reports have been weighed down by speculation of smartphone market saturation and the end of the so-called "supercycle." So as Apple looks ahead to its fiscal fourth quarter, when it traditionally introduces new iPhone models, the company's guidance could shed light on Apple's ongoing handset ambitions. Apple typically launches new iPhone models at the end of the quarter, in mid-September.