1840, via French format (18c.), ultimately from Modern Latin liber formatus "a book formed" (in such and such a way), referring to shape, size; from past participle of formare "to form" (see form (v.)).