The gmina covers an area of 466 sqkm , and as of 2006 its total population is 19,765 (out of which the population of Miastko amounts to 10,987, and the population of the rural part of the gmina is 8,778).