Back in 2012, Apple (AAPL -1.70%) accounted for 52.2% of all mobile device shipments to U.S. K-12 schools, according to Futuresource Consulting. Microsoft came in second, with a 42.6% share, while Alphabet's (GOOG 0.27%) (GOOGL 0.21%) Google took the remaining 5.2%.

However, Google overtook both tech giants in 2014, and accounted for 59% of all mobile device shipments to schools last year. That incredible result was fueled by the rise of Chromebooks.

Pie chart showing shipments of mobile devices to schools in 2017 by operating system

Data source: Futuresource Consulting. Chart by author.

Google introduced Chromebooks as low-cost alternatives to Windows laptops, Macbooks, and iPads in 2011. The devices run Google's Chrome OS, a free Linux-based operating system that is tethered to the company's cloud services.

Schools embraced Chromebooks because they were cheap and easy to administer. Google's cloud services simplified many tasks, like turning in homework and tracking grades, and allowed teachers to collaborate on projects. Consistent software updates from Google also reduced maintenance costs.

Apple could struggle to win this market back from Google. The Mac maker recently unveiled a cheaper iPad squarely aimed at the education market, but the price tag wasn't very competitive.