The level of detail in 3D city modelling, despite its usefulness and importance, is still an ambiguous and undefined term. It is used for the communication of how thoroughly real-world features have been acquired and modelled, as we demonstrate in this paper. Its definitions vary greatly between practitioners, standards and institutions. We fundamentally discuss the concept, and we provide a formal and consistent framework to define discrete and continuous levels of detail (LODs), by determining six metrics that constitute it, and by discussing their quantification and their relations. The resulting LODs are discretisations of functions of metrics that can be specified in an acquisition-modelling specification form that we introduce. The advantages of this approach over existing paradigms are formalisation, consistency, continuity, and finer specification of LODs. As an example of the realisation of the framework, we derive a series of 10 discrete LODs. We give a proposal for the integration of the framework within the OGC standard CityGML (through the Application Domain Extension).