Microsoft today announced revenues that topped analyst predictions and set a new record for fourth-quarter earnings.

The company said it made $16.04 billion in revenue during the three months ending June 30 (the fourth quarter of its fiscal year), a 22 percent increase over the same period last year. The company earned 51 cents per share. That’s much higher than the 36 cents per share on revenue of $13.1 billion that analysts predicted.

Microsoft said performance has been strong across all of its major products, including Office 2010 (which launched in June), Windows Server, Xbox, and Bing. The earnings press release doesn’t offer specific sales numbers, with the exception of Windows 7, for which Microsoft has reportedly sold 175 million licenses. (When Windows 7 led Microsoft to strong earnings last quarter, the company called it the fastest-selling operating system ever.)

“We saw strong sales execution across all of our businesses, particularly in the enterprise with Windows 7 and Office 2010,” Chief Operating Officer Kevin Turner said in the release. “Our transition to cloud services is well underway with offerings like Windows Azure and our Business Productivity Online Services, and we look forward to continuing our product momentum this fall with the upcoming launches of Windows Phone 7 and Xbox Kinect.”

Breaking the numbers down into specific divisions, the Windows and Windows Live team reported $4.55 billion in revenue, compared to $3.17 billion a year ago. The business division earned $5.25 billion in revenue, up from $4.57 billion a year ago.

Even though the overall numbers were up, not all of its divisions are making money. The online services and entertainment/device divisions posted losses of $696 million and $172 million, respectively.

Microsoft shares went down then up again in after-hours trading, ending up back where they started as of 2pm Pacific.

VentureBeat's mission is to be a digital town square for technical decision-makers to gain knowledge about transformative enterprise technology and transact. Learn more about membership.