Map unit

The positions and sizes of objects in Doom levels are generally described by integer values between -32768 and +32767. The unit length is often called a map unit (or simply, unit). Some example dimensions in terms of Doom's map units are:

It is difficult to translate the size of a Doom map unit into a real-world unit, since the dimensions of various objects in the game are inconsistent. Very roughly, one could attempt to translate 32 map units as 1 meter (3.28 feet) based on the height of the Doom guy (56 units). With this interpretation, a Cyberdemon would be 3.5 meters (11.48 feet) tall and a typical Doom level would have a size of approximately 120 m &times; 120 m (393.7 ft &times; 393.7 ft).

However, height and width units do not quite agree. The 1-meter interpretation would imply that the Doom guy is one meter wide, or at least cannot pass through an opening narrower than one meter, which would be to exaggerate his muscularity. The discrepancy is likely related to the fact that pixels in the video mode Doom ran in were rectangular: because pixels were higher than they were wide, and each map unit was proportional in size to a pixel of an in-game texture, flat, or sprite, height units were larger than width units. A more realistic interpretation (if there is any such thing) is perhaps that one "width unit" (w) corresponds to 3/4 of a "height unit" (h).