The gmina covers an area of 266 sqkm , and as of 2006 its total population is 21,413 (out of which the population of Olecko amounts to 16,169, and the population of the rural part of the gmina is 5,244).