The gmina covers an area of 240.8 square kilometres (93.0 sq mi), and as of 2006 its total population is 18,837 (out of which the population of Olesno amounts to 10,106, and the population of the rural part of the gmina is 8,731).