Convert megabytes to gigabytes and back instantly, convert freely between bits, bytes, KB, MB, GB, TB, and PB, estimate file transfer or download time, or work out how many files fit on a drive — using both binary (1024) and decimal (1000) standards.
✓ Five calculators in one ✓ Binary & decimal standards ✓ Works on mobile
A megabyte (MB) and a gigabyte (GB) are both units of digital data storage, and a gigabyte is the larger of the two — but exactly how much larger depends on which measurement standard is being used, which is the single most important thing to understand about data storage units. Under the decimal standard, defined by the International System of Units (SI), 1 gigabyte equals 1,000 megabytes, following the same base-ten logic as kilograms and kilometers. Under the binary standard, historically used by operating systems and computer memory, 1 gigabyte equals 1,024 megabytes, because computer memory is naturally organized in powers of two (2¹⁰ = 1,024).
This dual-standard situation exists because storage manufacturers and computing systems have historically counted differently. Hard drive and SSD manufacturers almost universally advertise capacity using the decimal (1000-based) standard, since it produces a larger, cleaner-looking number and aligns with the SI definition of the prefix "giga." Operating systems, on the other hand, have traditionally reported file and drive sizes using the binary (1024-based) standard, a holdover from when memory addressing made powers of two the natural unit. This is exactly why a drive sold as "1 TB" often shows up in your operating system as roughly 931 GB — the drive genuinely contains 1,000,000,000,000 bytes, but the OS is reporting that figure using 1,024-based gigabytes, where the same number of bytes divides into a smaller-looking count of larger units. To resolve this ambiguity, the International Electrotechnical Commission introduced dedicated binary prefixes — kibibyte (KiB), mebibyte (MiB), gibibyte (GiB) — using 1,024-based multiples explicitly, though "MB" and "GB" remain far more common in everyday use for both standards.
Getting the conversion right — and knowing which standard applies in a given context — matters for a range of practical tasks. Checking whether a file will fit on a USB drive or memory card, understanding why your new drive shows less capacity than advertised, estimating how long a download or file transfer will take at a given internet speed, planning cloud storage or backup capacity, and understanding data plan usage on a phone or internet plan all depend on correctly converting between data storage units — and on being aware of which standard is in play, since the difference compounds noticeably at larger scales.
This calculator handles the full range of practical data-conversion tasks in one place, using both standards. The MB to GB and GB to MB modes handle the basic conversion instantly, letting you choose decimal or binary. The Universal Data Converter goes further, converting any value in bits, bytes, KB, MB, GB, TB, or PB into every other unit at once. The File Transfer Time mode estimates how long a download or file transfer will take, given a file size and a connection speed — correctly handling the common mix-up between megabits per second (a network speed unit) and megabytes per second (a file size unit). And the Storage Capacity Calculator works out how many files of a given average size will fit on a drive or storage plan of a known total capacity.
Every mode calculates live as you type, lets you choose which measurement standard applies, and shows the exact conversion factor used for every result, so there's never any ambiguity about whether a "GB" in your answer means 1,000 or 1,024 megabytes. That combination of flexibility and transparency makes this tool useful for anyone managing files, checking storage capacity, comparing internet or download speeds, or trying to understand why a drive's reported capacity doesn't quite match the number on the box.
Everything computer users, IT professionals, and students ask about megabytes, gigabytes, and the binary-vs-decimal question.
A megabyte (MB) is a unit of digital data storage. Under the decimal standard, 1 MB equals 1,000,000 bytes; under the binary standard, 1 MB equals 1,048,576 bytes (1,024²).
A gigabyte (GB) is a larger unit of digital data storage, equal to 1,000 megabytes under the decimal standard, or 1,024 megabytes under the binary standard.
A bit is the smallest unit of digital data, representing a single binary 0 or 1. A byte is a group of 8 bits. This distinction matters because network and internet speeds are conventionally measured in bits per second (like Mbps), while file sizes are conventionally measured in bytes (like MB) — mixing the two up by a factor of 8 is one of the most common data-conversion errors.
The decimal standard defines each unit as 1,000 times the previous one (KB, MB, GB, TB, PB), matching the standard SI metric prefixes used everywhere else in science and measurement. The binary standard instead defines each unit as 1,024 times the previous one, reflecting how computer memory is naturally organized in powers of two.
Storage device manufacturers (hard drives, SSDs, USB drives) almost universally market capacity using the decimal standard, since a byte count divided by 1,000 repeatedly produces a larger, rounder-looking number than dividing by 1,024. Operating systems have historically reported file and drive sizes using the binary standard. The result: a drive genuinely containing 1,000,000,000,000 bytes is sold as "1 TB" but often displays as approximately 931 GB in an operating system using binary-based gigabytes for the same underlying byte count.
To resolve this ambiguity formally, the International Electrotechnical Commission introduced explicit binary prefixes — kibibyte (KiB), mebibyte (MiB), gibibyte (GiB), and so on — defined strictly as 1,024-based multiples, leaving KB, MB, and GB free to mean the decimal (1,000-based) values as originally intended by the SI system. In practice, though, "MB" and "GB" are still used colloquially for both standards depending on context, which is exactly why specifying the standard matters.
From smallest to largest: bit, byte (8 bits), kilobyte (KB), megabyte (MB), gigabyte (GB), terabyte (TB), petabyte (PB), and beyond. Each step up multiplies by 1,000 (decimal) or 1,024 (binary), depending on the standard in use.
Typical file sizes vary enormously by type: a plain text document might be a few kilobytes, a compressed photo a few megabytes, an HD video several gigabytes, and a professional video project or large dataset multiple terabytes — understanding the relative scale of these units helps sanity-check whether a reported file size makes sense.
Internet and network speeds are conventionally measured in bits per second — Mbps (megabits per second) or Gbps (gigabits per second) — not bytes per second, even though file sizes are measured in bytes. A "100 Mbps" connection transfers roughly 12.5 megabytes per second at best, since 100 megabits divided by 8 bits per byte equals 12.5 megabytes.
To estimate transfer time accurately, convert both the file size and the connection speed to the same unit (typically bits) before dividing: Time = File Size (in bits) ÷ Speed (in bits per second). Skipping the bits-to-bytes conversion is one of the most common reasons a manual download-time estimate comes out roughly 8 times too fast.
Cloud storage plans, backup solutions, and streaming data caps are typically quoted in GB or TB using the decimal standard, similar to physical drives, making accurate conversion important when estimating how much of a storage plan a given collection of files, photos, or backups will actually consume.
Mobile data plans are almost always billed in decimal gigabytes, and since streaming, browsing, and app usage consume data continuously, understanding roughly how many megabytes different activities use helps avoid unexpectedly exceeding a data cap.
Estimating how many files of a given average size will fit on a drive or storage plan requires converting both the total capacity and the average file size to the same base unit, then dividing — exactly the calculation the Storage Capacity Calculator above automates.
The most frequent error is mixing bits and bytes without accounting for the factor of 8, especially when estimating transfer speeds from an advertised internet plan. Assuming decimal and binary gigabytes are interchangeable is another very common mistake, leading to confusion about "missing" drive capacity. Forgetting that 1,024, not 1,000, applies under the binary standard, using an outdated or inconsistent unit hierarchy, rounding too early in a multi-step conversion, and confusing megabits per second with megabytes per second when comparing internet speeds round out the most common errors.
Always be explicit about which standard — decimal or binary — a conversion is using, especially when the numbers need to match up with a specific device's reported or advertised capacity. When estimating transfer or download time, always convert file size and speed to matching units (both in bits, or both in bytes) before dividing. And remember the practical rule of thumb: divide an internet speed in Mbps by 8 to get a rough MB/s file transfer rate.
Four steps from a raw data value to a fully converted, standard-aware result.
Type in a data size, file size, transfer speed, or storage capacity, depending on the mode.
Select decimal (1000-based) or binary (1024-based), matching your specific context.
The converter applies the correct multiplier instantly across every relevant data unit.
See the converted value, transfer time, or file count, along with the exact formula used.
The core equations behind every mode on this page.
Eight worked conversions covering every mode on this page.
Common data unit conversions under both measurement standards.
| Unit | Bytes |
|---|---|
| 1 KB | 1,000 bytes |
| 1 MB | 1,000,000 bytes |
| 1 GB | 1,000,000,000 bytes |
| 1 TB | 1,000,000,000,000 bytes |
| Unit | Bytes |
|---|---|
| 1 KB | 1,024 bytes |
| 1 MB | 1,048,576 bytes |
| 1 GB | 1,073,741,824 bytes |
| 1 TB | 1,099,511,627,776 bytes |
| File Type | Typical Size |
|---|---|
| Text document | 10–100 KB |
| Compressed photo | 2–8 MB |
| Song (MP3) | 3–8 MB |
| HD movie | 1–4 GB |
| 4K movie | 15–50 GB |
Why IT professionals, students, and everyday computer users rely on a dedicated data storage tool.
Every mode updates live as you type — no manual multiplication by 1,000 or 1,024.
Switch between both storage standards to match drives, operating systems, or specs exactly.
Convert freely across bits, bytes, KB, MB, GB, TB, and PB in one place.
Correctly handles the bits-vs-bytes distinction between speed and file size units.
Estimate how many files or photos will fit on a drive or storage plan.
Every field and result card is fully responsive across phones, tablets, and desktops.
Real situations where converting between data storage units matters.
Avoid these errors when converting between data storage units.
A byte is 8 bits — confusing an internet speed in Mbps with a file size in MB produces an estimate roughly 8 times off.
They differ by about 7.4% at the gigabyte scale, growing at larger scales — this is exactly why drives show less capacity than advertised.
Operating systems and memory addressing use binary (1,024-based) units — using decimal math against an OS-reported size gives a mismatched result.
Mixing decimal KB with binary MB mid-calculation produces a result that doesn't correspond to either standard correctly.
Rounding an intermediate byte count before completing a multi-step conversion compounds small errors at larger scales.
A "100 Mbps" connection transfers about 12.5 MB/s at best — treating the numbers as interchangeable overstates real transfer speed by 8×.
Actual transfer speeds are often lower than the theoretical maximum due to network overhead, so estimated times are a best case.
Not checking whether a spec sheet uses decimal or binary units before comparing two products can lead to an inaccurate comparison.
Fifteen common questions about MB, GB, and data storage conversion, answered directly.
1,000 MB in a decimal gigabyte, or 1,024 MB in a binary gigabyte, depending on which standard applies.
Divide the MB value by 1,000 (decimal standard) or 1,024 (binary standard).
Manufacturers use the decimal standard (1,000-based) to advertise capacity, while operating systems typically report it using the binary standard (1,024-based), making the same byte count display as a smaller number of GB.
A bit is a single binary digit; a byte is a group of 8 bits. Network speeds are typically measured in bits per second, while file sizes are measured in bytes.
Convert the file size to bits, convert the connection speed to bits per second, then divide: Time = File Size (bits) ÷ Speed (bits per second).
Mbps is megabits per second (a network speed unit); MB/s is megabytes per second (a data rate unit). Divide Mbps by 8 to get an approximate MB/s figure.
Yes — the Universal Data Converter mode above converts any value across all of these units at once.
Use the Storage Capacity Calculator above, dividing your total storage by your average photo file size.
Yes — it applies the exact decimal or binary conversion factors you select, with the formula shown alongside every result.
Yes, all five converter modes are completely free with no sign-up required.
Yes — the layout and all input fields are fully responsive across phones, tablets, and desktops.
Formal binary-specific unit names (kibibyte, mebibyte, gibibyte) introduced to remove ambiguity, always using 1,024-based multiples regardless of context.
Cloud storage and mobile data plans almost always use the decimal standard, matching physical drive marketing conventions.
1 TB is exactly 1,000,000,000,000 bytes under the decimal standard, which equals about 931.32 GB when displayed using binary (1,024-based) gigabytes.
Yes — use the Copy Results button to copy your conversion for reference or documentation.
Convert between data storage units, estimate transfer time, and plan storage capacity using the converter above.