The gmina covers an area of 126 sqkm , and as of 2006 its total population is 10,313 (out of which the population of Piwniczna-Zdrój amounts to 5,717, and the population of the rural part of the gmina is 4,596).