As per Alexa ( The Web Information Company ) "Alexa computes traffic rankings by analyzing the Web usage of millions of Alexa Toolbar users. The information is sorted, sifted, anonymized, counted, and computed, until, finally, we get the traffic rankings shown in the Alexa service."
Source: Alexa The Web Information Company http://www.alexa.com/site/help/traffic_learn_more