Microsoft earned $21.46 billion at the end of the second quarter of its 2013 fiscal year beating analysts' expectations by a penny, the tech giant announced on Thursday.
The company had an operating income of $7.77 billion with a net income of $6.38 billion. The diluted earnings per share came out to $0.76.
Analysts had expected the company to report earnings of 75 cents a share on $21.53 billion in revenue, according to a poll estimate from Thomson Reuters.
"Our big, bold ambition to reimagine Windows as well as launch Surface and Windows Phone 8 has sparked growing enthusiasm with our customers and unprecedented opportunity and creativity with our partners and developers," Steve Ballmer, chief executive officer at Microsoft, said in a statement.
The results announced Thursday are the first to include Windows 8, the company's major overhaul of its classic operating system that powers most PCs.
The operating system came out on Oct. 26. The Windows Division posted revenue of $5.88 billion, a 24 percent increase from the year prior.
"With new Windows devices, including Surface Pro, and the new Office on the horizon, we'll continue to drive excitement for the Windows ecosystem and deliver our software through devices and services people love and businesses need."
Microsoft stock fell 1.3 percent to $27.28 in after-hours trading, after climbing 2 cents to close at $27.63 earlier that day.