Apple’s Mac has 6.9% (or maybe 7.2%) of the global personal computer market

Mac sales were down in the second quarter of 2017, but Apple’s share of the global personal computer (PC) market rose to 6.9% from 6.7% in the year-ago period, according to Gartner

Worldwide PC shipments totaled 61.1 million units in the second quarter of 2017, a 4.3% decline from the second quarter of 2016, according to preliminary results by the research group. The PC industry is in the midst of a 5 year slump, and this is the 11th straight quarter of declining shipments. Shipments in the second quarter of this year were the lowest quarter volume since 2007.

Apple sold approximately 4.2 million Macs during the second quarter of 2017, down slightly from 4.3 in the second quarter of 2016. The company ranks fourth among global PC makers, trailing HP (20.8% market share), Lenovo (19.9% market share) and Dell (15.6% market share). 

In the U.S. the Mac has 11.8% market share, down from 12.3% in the second quarter of 2016, on sales of 1.6 million Macs in the country. It trails HPO (30.% of U.S. market share), Dell (27.7%) and Lenovo (13.2%).

Meanwhile, the IDC research group pegs Apple’s global market share in the second quarter of 2017 as 7.2%, up from 6.8% in the second quarter of 2016, on sales of 4.3 million Macs. 

Gartner and IDC’s estimates don't count iPads as personal computers.