Carrying capacity, or K, is the maximum population size of a species that an environment can sustain indefinitely given the available resources such as food, habitat, water, and other necessities. It is determined by environmental resistance factors and biotic potential.