I am just curious; what percentage of total users does Stack Overflow make up? I know that I could count them, but with 200+ sites that seems inefficient.
I don’t care about active users or not, nor do I care about unique users.
I am just curious; what percentage of total users does Stack Overflow make up? I know that I could count them, but with 200+ sites that seems inefficient.
I don’t care about active users or not, nor do I care about unique users.
Courtesy of Count all users on Stack Exchange (answer by rene), from the last SEDE refresh, the result is 24,983,588.
Today, https://stackexchange.com/sites reports 20,080,969 users on Stack Overflow.
So roughly 80.38%.
I copy-pasted https://stackexchange.com/sites#users to a text file users_allsites.txt
. Then I used the following Python code:
import re
multi = {"k": 1000, "m": 1000000}
users = open("users_allsites.txt", "r")
total_users = 0
for line in users:
res = re.match("(\d+)([km]) users", line)
if res:
total_users += float(res.group(1)) * multi[res.group(2)]
print("total users:", int(total_users))
print("SO: ", 20000000/total_users)
users.close()
This results in:
total users: 33752000
SO: 0.5925574780753733
sites#users
page.