The gmina covers an area of 340 sqkm , and as of 2006 its total population is 31,541 (out of which the population of Oborniki amounts to 17,850, and the population of the rural part of the gmina is 13,691).