One megabyte is equal to eight megabits, but the terms are used in specific ways: Megabits per second (mbps) are generally used to describe the speed of an Internet connection, whereas megabytes (MB) usually refer to the size of a file or storage space.