The mebibyte is closely related to the megabyte (MB), which can either be a synonym for mebibyte, or refer to 106 bytes = 1 000 000 bytes, depending on context (see binary prefix). The two numbers are relatively close together, but mistaking the two has nevertheless occasionally led to problems.
One mebibyte equals 1024 (= 210) kibibytes, and 1024 mebibytes equal one gibibyte.
Mibibyte is a common misspelling, presumably from the 'i' in the abbreviation. The 'i' is actually from the end of the prefix. Tebi- and pebi- are similarly abbreviated Ti- and Pi-, but they are not usually misspelled, as storage sizes (and corresponding terms) currently are only this large in specialized situations.