Apple, Inc. reported Wednesday that it earned posted a quarterly profit and revenue higher than consensus Wall Street estimates.

Apple said that profit for its third fiscal quarter was $0.92 cents per share or $818, up from $0.54 cents, or $472 million last year. Revenue was $5.41 billion.

A poll of analysts from Thomson Financial said it expected $0.72 earnings per share on $5.29 billion in sales.

We're thrilled to report the highest June quarter revenue and profit in Apple's history, along with the highest quarterly Mac sales ever, said Steve Jobs, Apple's CEO.

The company said it shipped 1.76 million Macintosh computers, a quarterly record for Apple and 33 percent growth versus a year ago.

Gross margin was 36.9 percent, up from 30.3 percent in the year ago quarter.

Macbooks also accounted for 64 percent of Macintosh sales.

Apple also said it sold 9.8 million iPods during the quarter, representing 21 percent growth over the year-ago quarter.