1520s, "condition of being a cardinal," from cardinal (n.) + -ity. Mathematical sense is from 1935 (see cardinal (adj.)).
carder
cardiac
cardigan
cardinal
cardinal number
cardinality
carding
cardio-
cardiogram
cardiograph
cardiology