Apple will have sold 5.1 million Macs in the three months leading up to the 30 September, according to Piper Jaffray analyst Gene Munster.

This is despite sales data from NPD Group indicating that US Mac sales declined 7% in July and August, compared to the same period last year.

Munster notes: “Mac sales remain weak, as they have been since the beginning of 2012,” but adds that this shouldn't concern investors.

“We believe the reading may be a small surprise to investors, but the focus for Apple has shifted more and more to iPhone and iPad, which represent the majority of the business,” he wrote, according to Barrons.

In fact, notes Munster, in the past two quarters Apple has outpaced the NPD projections. “We note that for both the March and June quarters, Apple-reported Mac growth outpaced NPD by 12 percentage points,” he wrote.

Based on the fact that Apple outpaced the NPD projections for the March and June quarters, Munster has estimated that Mac sales will actually be up 5% compared to the same period last year. Hence Munster has arrived at the estimate of 5.1 Million Mac sales in the September quarter.

Apple sold 4.9 million Macs in the same quarter last year, a record at that time. The current record for Mac sales came in the quarter that ended on 30 December 2011, Apple sold 5.2 million Macs in that Christmas shopping quarter, reports Apple Insider.

Follow Karen Haslam on Twitter / Follow MacworldUK on Twitter 

Related:

Apple producing 1-2 million 13-inch Retina MacBook Pro laptops

New iMac release date, rumours, and pictures

New 13-inch MacBook Pro with Retina Display release date, rumours, and leaked images

Apple stock hits all-time-high as it soars towards $700 a share

Apple will sell 10 million iPhone 5 in one week, analyst

Apple could split stock 6:1 to join the Dow