Record sales of both Macs and iPads helped Apple set new marks for quarterly revenue and earnings for its fiscal fourth-quarter.

The company announced Tuesday that it logged $28.27 billion in revenue and $6.62 billion in net profit for the three-month period ended on September 24. That's an increase of 38 percent in revenue and 54 percent in profit from the year-ago numbers. Apple earned $7.05 per diluted share, up 52 percent from year-ago earnings of $4.64 a share.

"We are thrilled with the very strong finish of an outstanding fiscal 2011, growing annual revenue to $108 billion and growing earnings to $26 billion," CEO Tim Cook said in a prepared statement.

Wall Street may be less thrilled: analysts were looking for the company to post earnings of $7.39 a share and revenue of $29.69 billion, according to Thomson Reuters. Still, Apple's results came in ahead of the forecast chief financial officer Peter Oppenheimer offered in July, when he told analysts to expect earnings of $5.50 per share and revenues of $25 billion during the fourth quarter.

We'll have more details on Apple's quarterly performance shortly. Macworld is also providing a live update of the company's quarterly call with financial analysts.