Wall Street is buzzing over Apple's strong earnings results, driving its shares to a new all-time high.
But in addition to the smartphone maker's premium pricing for its latest iPhone, Apple shareholders should credit President Donald Trump's tax reform for their gains this year.
Apple shares rose 5.9 percent Wednesday, a day after the company posted better-than-expected fiscal third-quarter earnings per share of $2.34, beating the $2.18 Thomson Reuters consensus. The company's stock is now up about 19 percent so far this year versus the S&P 500's 5 percent return.
The gains come even as Apple has slightly missed Wall Street's iPhone unit sales estimates in each quarter this year, reporting unit sales growth of 1 percent year over year in its June quarter and 3 percent year over year in its March quarter.
This may be confusing to some market veterans because in the past Apple's stock traded primarily on whether its iPhone unit sales beat or missed Wall Street expectations. Estimates that were already lowered from a year ago, when analysts predicted the iPhone X would drive a "super cycle" of double-digit unit growth.
Apple was able to offset slower unit growth by charging higher prices with the iPhone X, which starts at $999. The average selling price of the iPhone rose about 20 percent year over year to $724 in the June quarter, though some investors don't believe the company will able to sustain such pricing in the future.
But the other difference maker for Apple this year was Trump's tax reform.
The president signed the Republican tax overhaul in December, which lowered the corporate tax rate to 21 percent from 35 percent. The bill also taxed overseas profits at a lower 15.5 percent repatriation tax rate, allowing companies to use foreign cash balances to invest in domestic projects or increase shareholder capital returns.
As a result, Apple was able to unleash its balance sheet of more than $200 billion in cash overseas and report higher earnings growth.
For example, the company's June quarter earnings per share rose by 40 percent year over year, while operating profits grew 17 percent. The difference in growth rates is due to a lower tax rate and increased shareholder capital returns (buybacks) versus the prior year.
Apple's June quarter tax rate dropped to 13.3 percent from 22.9 percent last year.
And the company returned about $25 billion per quarter to shareholders through stock buybacks and dividends this year versus the approximately $11 billion per quarter last year. Buybacks lower Apple's shares outstanding, resulting in a higher earnings per share.
The company also hinted even more is coming, which is helping its share price. Apple had a $129 billion net cash position or cash minus debt at the end of the June quarter. Its management reiterated its previous guidance to bring down its large net cash position to near zero, signalling to investors that more buybacks and dividends are likely.
"As we explained in February, we plan to reach a net cash neutral position over time," Chief Financial Officer Luca Maestri said on the earnings call Tuesday.
A Wall Street analyst told clients Apple's increased stock buybacks are a key component of its earnings growth story.
"While investors looking for a 'super cycle' will remain disappointed, Apple's narrative is shifting towards their ability to sustain mid-single digit sales growth despite flat iPhone units and low-to-mid teens EPS growth via. buybacks," RBC Capital Markets Amit Daryanani said in a report Tuesday.
One well-known investor may have reacted to Trump's tax cuts to add to his company's stake in Apple shares.
In January, Warren Buffett explained to CNBC the dramatic benefit of Trump's tax reform for stocks prices.
"The tax act is a huge factor in valuation," he said on CNBC's "Squawk Box" on Jan. 10. "You had this major change in the silent stockholder in American business who has been content with 35 percent ... and now instead of getting 35 percent interest in the earnings they get a 21 percent and that makes the remaining stock more valuable."