Is there a simple way to see the total amount of users on StackExchange? I ran a query on data explorer but it looks like it's only StackOverflow. Adding up every community would be tedious and I would probably get a lot of duplicates. Are these stats available for the whole network somewhere?

EDIT: More specifically, is it possible to run queries on all sites at once?

  • You could try bribing a community manager or dev in chat. I think they can run queries cross site. – AJ Henderson Apr 6 '14 at 5:06
  • 1
    @AJHenderson With... what? Cookies? Hugs? Unicoins? :P – Blue Ice Apr 6 '14 at 5:12
  • The following page says 5.2 million, presumably it would be all sites: stackexchange.com – PeterJ Apr 6 '14 at 5:26
  • I'm assuming that's a rounded number ;-) – curious Apr 6 '14 at 5:28

The accurate number of both registered and unregistered users in all of Stack Exchange network at the moment of writing the answer is: 5,178,736.

How did I find it? JavaScript. Yep. In the All Sites list, open up a console and run the following code:

var totalUsers = 0;
$(".lv-stats-box:contains('users')").each(function() {
    totalUsers += parseInt($(this).find(".number").find("span").first().attr("title").replace(/\,/g, ''));

Note that the per site Users page (e.g. Stack Overflow users) show only registered users so it's also a way to calculate amount of unregistered users per site. For example on Stack Overflow, there are 75204 pages of users, 36 in each page resulting in about 2707344 registered users. On the sites list it says "2,990,649 registered and unregistered users" so it means 283,305 unregistered user accounts.

  • Amazing! Are you aware if this counts duplicates? (i.e. if I have an account here and in graphic design and other places, am I repeated on the list?) – curious Apr 6 '14 at 15:43
  • I fear you are repeated. :-) – Shadow Wizard is Ear For You Apr 6 '14 at 16:49
  • 1
    +1 because your answer is a little more accurate than mine :) – Blue Ice Apr 6 '14 at 17:26
  • 2
    @Emilie on a second thought, maybe we can use the API to get exact count without duplicates... stay tuned! – Shadow Wizard is Ear For You Apr 6 '14 at 17:34

Try the front page, it says that there are 5.2 million users currently:

enter image description here

  • I think I see a freehand circle – curious Apr 6 '14 at 5:31
  • 4
    @Emilie Nope, that was definitely the circle tool. :P – Blue Ice Apr 6 '14 at 5:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .