Gross margin was 37 percent, compared with 40 percent in the year-ago quarter. International sales accounted for 60 percent of the quarter’s revenue.

Apple sold 33.8 million iPhones, a record for the September quarter, compared with 26.9 million in the year-ago quarter. Apple also sold 14.1 million iPads during the quarter, compared with 14 million in the year-ago quarter. Apple also sold 4.6 million Macs, compared with 4.9 million in the year-ago quarter.

“We’re pleased to report a strong finish to an amazing year with record fourth quarter revenue, including sales of almost 34 million iPhones,” said Tim Cook, Apple’s CEO in a prepared statement. "We’re excited to go into the holidays with our new iPhone 5c and iPhone 5s, iOS 7, the new iPad Mini with Retina Display and the incredibly thin and light iPad Air, new MacBook Pros, the radical new Mac Pro, OS X Mavericks and the next generation iWork and iLife apps for OS X and iOS.”

Peter Oppenheimer, Apple’s chief financial officer, said, “We generated $9.9 billion in cash flow from operations and returned an additional $7.8 billion in cash to shareholders through dividends and share repurchases during the September quarter, bringing cumulative payments under our capital return program to $36 billion.”