The gmina covers an area of 136 sqkm , and as of 2006 its total population is 27,860 (out of which the population of Gostyń amounts to 20,588, and the population of the rural part of the gmina is 7,272).