The quality or state of being capable; competence, ability, or fitness to perform tasks.
From capable (from Latin capax meaning 'able to hold') plus -ness, a suffix forming abstract nouns. This compound structure became standard in English for creating quality/state nouns.
Try Another Word