Bits to Bytes Converter

Enter a value and pick the conversion direction.

How it is calculated

Type a number and choose the direction. Conversion uses the fixed ratio of 8 bits to 1 byte:

bytes = bits ÷ 8

bits = bytes × 8

In Bits to bytes mode the value is divided by 8; in Bytes to bits mode it is multiplied by 8. The result is shown with two decimals, so a partial byte stays visible: 12 bits is 1.50 bytes. The tool also repeats the original value with its unit and states the rate used. It converts the count only, with no prefixes: it never multiplies by 1,000 or 1,024, so kilobits, megabytes and the like must be written out in full bits or bytes first. Negative values give no result.

Worked example

An internet plan is advertised as 100 Mbps, which is 100 megabits or 100,000,000 bits per second. How many bytes is that?

  1. Enter 100000000 with the direction set to Bits to bytes.
  2. Divide by 8: 100,000,000 ÷ 8 = 12,500,000.

The tool shows 12,500,000.00 bytes. In decimal units that is 12.5 megabytes, so a link rated 100 Mbps can move at most about 12.5 MB of data per second, before any overhead.

Try this example →

Common mistakes

  • Typing the speed in Mbps directly. The tool counts single bits, so 100 Mbps must first be written as 100000000 bits, otherwise the answer is a million times too small.
  • Confusing the capital B and the lowercase b. MB is megabytes and Mb is megabits, which differ by a factor of 8.
  • Choosing the wrong direction. Entering a file size in bytes while the mode is Bits to bytes divides it by 8 and gives a size eight times too small.
  • Assuming kilo means 1,024 here. The tool never applies any prefix. If you need 1 KiB as bytes, enter 1024 yourself.
  • Expecting whole numbers. A bit count that is not a multiple of 8 gives a fraction, for example 12 bits is 1.50 bytes, because stored data is normally rounded up to whole bytes.

About this calculator

A byte is defined as exactly 8 bits, the fundamental building block of how computers group data for storage and addressing — a single bit is the smallest unit (a 0 or 1), while a byte is the smallest unit most systems actually operate on, such as one character in basic text encoding. This converter applies that fixed 8:1 ratio in either direction, turning a bit count into bytes or a byte count back into bits.

The distinction matters constantly in computing and networking — internet speeds are advertised in bits per second (Mbps) while file sizes are measured in bytes (MB), a mismatch that regularly confuses users comparing a download speed to a file size. Developers, IT professionals, and students use this conversion to sanity-check storage calculations, bandwidth estimates, and low-level data structure sizes.

Was this helpful?

You can pick up to 3 reactions.

Comments (1)

  • Editorial team

    To estimate a download time, convert the file size to bits with the Bytes to bits mode, then divide by your line speed in bits per second. A 1 GB file is 8,000,000,000 bits, so on a 100 Mbps line the best case is 80 seconds. Real transfers usually take longer because of protocol overhead and server limits. Have you got a download where the real time and this arithmetic disagree by a lot? Post the file size and the speed.

Popular calculators

All Calculators