The IQ of a mob (IQm) is calculated as:

IQm = IQs / n

where
IQs = the IQ of the stupidest person in the mob, and
n = the total number of people in the mob