A megabyte (MB) is a unit of digital information commonly defined as 1,000,000 bytes in decimal notation. Historically, it was also used to represent 1,048,576 bytes in binary contexts, which caused ambiguity. Modern standards distinguish MB from MiB for clarity. Example: A 20 MB file typically contains 20 million bytes.