The cost is memory, the chips Apple buys to store data in its devices. On its November 2 earnings call, Apple said that without one-time tariff refunds, its gross margin would have slipped by about a point in the quarter that ended in September, mostly because of higher memory costs, according to Yahoo Finance. Gross margin is the share of each sales dollar left after paying to make what Apple sells.

Apple expects the squeeze to deepen. Its forecast for the December quarter is a gross margin of 45% to 46%, mainly because of even higher memory costs. The company also said memory prices would keep rising beyond December, while the cushion from memory it already has in stock would shrink over time.

Apple also said the gross margin on its products, 37.2% in the September quarter, would have slipped by about a point without the tariff refunds. It expects memory to limit how many Macs and iPads it can supply in the December quarter, even as it forecast revenue growth of 7% to 10%.

To offset part of the cost, Apple raised prices on many products, starting with Mac and iPad in June and then iPhone in September. How buyers respond over time is not yet clear, and Apple said on the call that it is still early to judge that.

The stock returned about 26% with dividends over the past year, against about 9% for the S&P 500. At Tuesday's close of $351.19, the shares traded at about 39 times earnings over the past twelve months, compared with about 22 times for the S&P 500.