 The gmina covers an area of , 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).Apart from the town of Gostyń, Gmina Gostyń contains the villages and settlements of Aleksandrowo, Bogusławki, Bronisławki, Brzezie, Brzezie-Huby, Czachorowo, Czajkowo, Dalabuszki, Daleszyn, Dusina, Gaj, Gola, Klony, Kosowo, Krajewice, Kunowo, Malewo, Markowo, Miranowo, Osowo, Ostrowo, Otówko, Pijanowskie Huby, Płaczkowo, Poraj, Siemowo, Sikorzyn, Skowronki, Stankowo, Stary Gostyń, Stężyca, Szczodrochowo, Tworzymirki, Witoldowo and Ziółkowo.Gmina Gostyń is bordered by the gminas of Dolsk, Krobia, Krzemieniewo, Krzywiń, Piaski and Poniec.