All stars are born in clusters out of cold molecular clouds. Within each cluster, the formed stars occupy a range of stellar masses. Typically, stars with the mass of the Sun outnumber those some eight times heavier by about tenfold. This distribution of stellar masses is called the initial mass function (IMF), and astronomers have found that it appears to be a universal value.
Astronomy magazine subscribers can read the full answer for free. Just make sure you're registered with the website.