Cardinality The cardinality of a set A is the number of elements in A. We denote the cardinality of A by ∣A∣, also denoted by card(A) or #A.