1590s, from total (adj.) + -ity, or from or based on Middle French totalité, Medieval Latin totalitas. In the eclipse sense, "time of total obscuration," from 1842.
appalled by the totality of the destruction
the totality of war and its consequences
the all-embracing totality of the state