After reporting preliminary data on some key fiscal first-quarter financial metrics earlier this month, investors knew Apple's (AAPL -1.22%) iPhone segment was up against some headwinds and would drag on the tech giant's overall revenue for the period. CEO Tim Cook said Apple's revenue for its fiscal first quarter would come in at about $84 billion -- a whopping $7 billion below management's previous guidance for the metric.

"Lower than anticipated iPhone revenue, primarily in Greater China, accounts for all of our revenue shortfall to our guidance and for much more than our entire year-over-year revenue decline," Cook explained in a Jan. 2 letter to shareholders. 

But now Apple's just-posted earnings release for its first quarter gives investors more insight into the company's results, including a closer look at the iPhone segment, earnings per share for the period, guidance, and more.

Check out the latest Apple earnings call transcript.

Apple store in Bangkok, Thailand, with people milling about outside.

Image source: Apple.

Apple first-quarter earnings: The raw numbers

Metric

Q1 2019

Q1 2018

Year-Over-Year Change

Revenue

$84.3 billion

$88.3 billion

(4.5%)

Earnings per share

$4.18

$3.89

7.5%

Gross profit margin

38%

38.4%

(40 basis points)

Data source: Apple first-quarter financial statements.

Apple's revenue for its fiscal first quarter -- $84.3 billion -- came in slightly higher than the preliminary figure Cook provided on Jan. 2. But it highlights the company's contracting revenue as a result of a decline in iPhone sales. Overall revenue for the period was down 4.5% from the record revenue it posted in the year-ago period.

Earnings per share, however, came in at a record high of $4.18 -- up 7.5% from $3.89 in the year-ago quarter. The rise in earnings per share despite a decline in revenue is attributable to the company's aggressive share repurchase program, which has helped reduce its share count from 5.2 billion shares in the year-ago quarter to 4.8 billion in the recently ended fiscal first quarter.

Segment results

Product segment

Q1 2019 Revenue

Q1 2018 Revenue

Year-Over-Year Change

iPhone

$52.0 billion

$61.1 billion

(14.9%)

iPad

$6.7 billion

$5.8 billion

16.9%

Mac

$7.4 billion

$6.8 billion

8.7%

Wearables, home, and accessories

$7.3 billion

$5.5 billion

33.3%

Services

$10.9 billion

$9.1 billion

19.1%

Data source: Apple first-quarter financial statements.

"While it was disappointing to miss our revenue guidance, we manage Apple for the long term, and this quarter's results demonstrate that the underlying strength of our business runs deep and wide," Cook said in the fiscal first-quarter update -- and the CEO wasn't kidding. While iPhone revenue fell 15% year over year, all of the other segments saw their combined revenue rise 19% year over year. More importantly, Apple revealed the gross profit margin of its second-largest segment -- services -- for the first time. At 63%, the metric didn't disappoint. With services revenue growing rapidly, the segment's lucrative gross profit margin bodes well for the growth potential of Apple's earnings per share over the long haul.

Looking ahead, Apple said it expects its fiscal second-quarter revenue to come in between $55 billion and $59 billion, down from $61.1 billion in the year-ago quarter. This forecast likely reflects further expected declines in iPhone revenue as this year's iPhone product cycle has a tough time living up to year-ago sales.

Editor's Note: The original version of the segment results chart had incorrect Q1 2019 and Q1 2018 revenue for Apple's wearables business. The percentage increase was correct. The Fool regrets the error.