You&#x27;re not counting the license fees for the Android OS.  Only Android AOSP is free, and nobody outside of China ships that.   Android including the Play Store and all the Google apps costs real money, I&#x27;ve heard estimates of about $10 per phone.   Android ships about 1 billion phones a year, so $31B lifetime revenue sounds about right.