The company said its diluted earnings per share were $1.12 for the quarter ended June 30, an 11 percent increase compared with the same period last year. Analysts surveyed by First Call had predicted $1.03 earnings per share.
Excluding nonrecurring items, IBM's income from ongoing operations was up 4 percent to $1.82 billion, and revenue increased 6 percent compared with the second quarter of 2004 (or 4 percent adjusted for currency).
"We saw good demand for our services business, as demonstrated by our signings performance," Chief Financial Officer Mark Loughridge said in a conference call Monday. "We were notably strong across our Power server brands and key middleware products."
The company surprised Wall Street in the first quarter of this year with disappointing earnings, which Big Blue blamed on weak spending in Europe and sales-execution problems.
That led to aof IBM's Europe operations and the elimination of more than 10,000 jobs at the company, largely in Western Europe and the United States. At the same time, the company moved some of the operations from its Global Services division to lower-cost regions in Asia and Eastern Europe.
In the second quarter this year, IBM took a one-time charge of $1.7 billion for the restructuring.
The company also accounted for the sale of its PC business to Lenovo, which brought a gain of $1.1 billion.
Finally, IBM received $775 million when, earlier this month,, stemming from the U.S. Department of Justice's late 1990s antitrust suit against the Windows maker.
"IBM returned to form in this quarter," IBM CEO Sam Palmisano said in a statement.Revenue from global services climbed 6 percent, or 4 percent adjusted for currency, to $12 billion in the second quarter. As he has previously, Loughridge singled out the rapid growth of IBM's , the company's high-end consulting and outsourcing services, which grew more than 25 percent.
Hardware revenue fell 25 percent to $5.6 billion in the second quarter. Excluding its divested PC business, hardware revenue was up 5 percent, or 4 percent adjusted for currency.
The company's mainframe business slumped in the quarter by more than 24 percent. IBM expects business to turn around when it introduces its latest zSeries mainframe server in the third quarter. The server will be detailed later this month, according to Loughridge.
IBM's software business had a strong quarter, rising 10 percent to $3.8 billion, or 7 percent in constant currency--the highest growth the company has seen in software in three years.
"Overall, we believe we have gained share in middleware in the second quarter," Loughridge said.
Loughridge said the company's second-quarter results were aided by a quick implementation of its European management restructuring and job reductions. The company will eliminate 14,500 jobs overall, 70 percent of which are in Europe, and about 8,000 people have already left, Loughridge said.
"The results were driven by strong (customer) demand and execution throughout the quarter," he said. "We're pretty confident about this performance, and we feel good about our second-quarter recovery."
Despite the one-quarter turnaround, Loughridge noted that the company faces challenges, including building up the number of pending services contracts.
The company is also focused on improving the financial performance of IBM in Italy, Germany, France and Japan, which combined saw a drop in revenue in the second quarter this year.