Looking back, we're very pleased with Apple's many accomplishments during fiscal 2013. Our customers had an incredible response to our product line up, buying 150 million iPhones, 71 million iPads, and 16 million Macs across the fiscal year. We expanded the breadth and depth of our ecosystem and we generated over $16 billion in revenue from iTunes software and services.
We also welcomed almost 400 million visitors to our retail stores and opened or remodeled 49 new stores and for the second year in a row, we produced over $50 million in revenue per store.
We generated record total Company revenue of $171 billion, earnings of $37 billion, and operating cash flow of $54 billion. We paid over $8 billion in capital expenditures to bolster our supply chain, expand our infrastructure, and increase our retail footprint. We also completed 15 strategic acquisitions. That's an average of one acquisition every three to four weeks. We more than doubled the size of our capital return program to $100 billion, including the largest share repurchase authorization in history, and we've become one of the largest dividend payers in the world.
In fact, we've returned over $36 billion to shareholders through dividends and share repurchases in the last five quarters alone. We remain firmly committed to our objective of delivering attractive returns to shareholders through both our business performance and a return of capital. We review our capital program regularly, and our Board is engaged in the discussion of capital allocation on an ongoing basis.
We've solicited feedback on our capital return program from shareholders in the past; we've greatly appreciated their suggestions, and we will actively seek their input again this year. As we have in the past, the Board and the management team will consider a wide range of issues and be thoughtful and deliberate, and we will announce any changes to our current program in the first part of the new calendar year.
We're off to a great start in fiscal year '14. We continue to be very confident in Apple's future and we see significant opportunities ahead of us in both current product categories and new ones.
We're participating in large and growing market. Today, smartphone penetration of the global handset market is only a little over 50%. The smartphone category is expected to grow significantly in the next few areas from about 1 billion units per year this year to over 1.7 billion in 2017. The tablet market is growing at an even faster rate, from about 225 million units this year to over 400 million in 2017.
We are continuing to invest in R&D and distribution, we are expanding our geographic coverage, and we are building upon a phenomenal, but still very young, retail store presence. We're also proud to be a force for good in the world beyond our products, whether it's improving working conditions or the environment, standing up for human rights, helping eliminate AIDS, or reinventing education, Apple is making substantial contributions to society.