Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I just came across this article (page 3) that talks about this topic. Indeed, there is a formula.