Bytes to megabytes

Type a value in bytes to see it in megabytes straight away, or type in the second box to convert back.

Loading the tool…

Processing and privacy: The result is calculated inside your browser and your data is not sent to any server.

How to use it

  1. Type the value in the bytes box.
  2. Read the result in megabytes as you type, and pick the precision you need.
  3. Swap the direction to convert back, or copy the result.

How it is calculated

MB = B × 0.000001

Multiply the value in bytes by 0.000001 to get megabytes.

Example

To convert 25 B to megabytes: 25 × 0.000001 = 0.000025 MB.

Conversion table

Bytes (B)Megabytes (MB)
10.000001
20.000002
30.000003
50.000005
100.00001
200.00002
250.000025
500.00005
1000.0001
2500.00025
5000.0005
1,0000.001

About the units

Byte
A unit of storage equal to exactly 8 bits (an octet in IEC 80000-13), typically enough to store one Latin character.
Megabyte
A decimal unit equal to exactly 1,000,000 bytes (10^6), different from the binary mebibyte of 1,048,576 bytes.

Limits and caveats

  • Results are rounded for display and computed with the browser's floating point precision (about 15 significant digits).
  • Both unit factors are exact by their official definitions.

Questions about this tool

How many megabytes are in one byte?

1 B = 0.000001 MB exactly.

How do I convert bytes to megabytes?

Use MB = B × 0.000001. For example, 25 B = 0.000025 MB.

How many bytes are in one megabyte?

1 MB = 1,000,000 B.

Why does a 1 TB drive show about 931 GB on my computer?

Drive makers count 1 TB as 10^12 bytes, while Windows divides by 2^30 and labels the result GB even though it is really GiB. So 10^12 ÷ 1,073,741,824 gives about 931.32, and no space is missing.

What is the difference between a kilobyte and a kibibyte?

A kilobyte (kB) is a decimal unit of 1000 bytes and a kibibyte (KiB) is a binary unit of 1024 bytes. The same split applies to mega and mebi, giga and gibi, and the gap grows at each step.