DevNet KitTHE EVERYDAY TOOLBENCH
Code & Data · Local-first

Byte Size Calculator Online

Convert data sizes between bits, bytes, SI kB/MB/GB and binary KiB/MiB/GiB.

Open Byte Size Calculator

Free · No sign-up · Browser-based processing

What Byte Size Calculator does

Convert storage sizes using exact integer or decimal arithmetic. SI kB, MB and GB use powers of 1000; IEC KiB, MiB and GiB use powers of 1024. Lowercase b means bits and uppercase B means bytes. Values are parsed as rational numbers to preserve large integers and avoid floating-point rounding.

Common uses

  • Compare storage and transfer limits
  • Understand MB versus MiB in monitoring

How to use Byte Size Calculator

  1. Enter a size and unit such as 1 MiB, 10 MB or 8 bits.
  2. Run the calculator to see equivalent units.
  3. Copy the report and check whether a service uses decimal or binary sizing.

Privacy: Runs locally in your browser. Input is not uploaded to the DevNet Kit server.

Byte Size Calculator example

Try the tool with this representative input:

1 MiB

Expected result

1 MiB = 1048576 B = 8388608 bits = 1.048576 MB

Byte Size Calculator FAQ

Is MB the same as MiB?

No. 1 MB is 1,000,000 bytes; 1 MiB is 1,048,576 bytes.

How many bits are in a byte?

Eight. Size is different from transfer speed, which is commonly expressed in bits per second.

Convert a binary MiB limit into bytes and decimal MB

Enter a nonnegative size with its unit, such as 1 MiB. Decimal units use powers of 1000, while binary units such as KiB and MiB use powers of 1024. Uppercase B denotes bytes and lowercase b denotes bits.

The calculator uses exact rational arithmetic for the input and unit conversions. Size and transfer rate are different quantities: an upload limit in MiB is a size, while Mbps describes bits per second and also needs a time component.

Worked example

Input and settings:

1 MiB

Expected result or interpretation:

1048576 bytes
8388608 bits
1.048576 MB

Questions about this workflow

Why does 1 MiB contain more bytes than 1 MB?

MiB uses 1024 squared bytes, while MB uses 1000 squared bytes. Therefore 1 MiB is 1,048,576 bytes and 1 MB is 1,000,000 bytes.

Is 8 Mb the same size as 8 MB?

No. Lowercase b means bits and uppercase B means bytes. Eight bits make one byte, so 8 Mb corresponds to 1 MB when both use decimal prefixes.

Continue this workflow