ToolNest logoToolNest.

How Many Megabytes in a Terabyte? (Formula + Chart)

One terabyte holds 1,048,576 megabytes in binary (the system computers use) or exactly 1,000,000 megabytes in decimal (the system drive makers advertise). The formula is MB = TB × 1,024 × 1,024. Convert any data size with our free terabytes to megabytes converter.

The Short Answer: 1,048,576 MB

How many megabytes in a terabyte? 1,048,576 MB — that is 1,024 × 1,024. Computers count in powers of two, so each step up the data ladder multiplies by 1,024: 1,024 kilobytes make a megabyte, and 1,024 megabytes make a gigabyte, and 1,024 gigabytes make a terabyte. Multiply the two 1,024s together and you get 1,048,576. There is a second answer you will see everywhere — an even 1,000,000 — and it is not wrong, just measured differently: hard-drive makers count in powers of ten. Which answer applies depends on who is counting, and the section below explains exactly when each one shows up. For instant conversions in either system, our terabytes to megabytes converter handles the arithmetic.

The Formula: TB × 1,024 × 1,024

The megabytes-in-a-terabyte formula is MB = TB × 1,024 × 1,024. Half a terabyte is 524,288 MB. Two terabytes is 2,097,152 MB. A quarter terabyte (256 GB) is 262,144 MB. The double multiplication looks awkward, so most people collapse it: MB = TB × 1,048,576, one step. Going the other way — megabytes to terabytes — divide instead: 500,000 MB ÷ 1,048,576 = 0.477 TB. The mental-math shortcut: a terabyte is roughly a million megabytes, so 3 TB ≈ 3 million MB, then add about 5% for the binary correction (3,145,728 actual). That 5% gap between the rough and exact answers is the whole binary-vs-decimal story, and it compounds at every rung of the ladder — which is why a “1 TB” drive never shows a full terabyte, a mystery our 1 TB drive guide unravels completely.

Why There Are Two Answers: Binary vs Decimal

The two answers exist because two industries count differently. Binary (1,048,576): operating systems, RAM makers, and software measure in powers of 1,024 — a kilobyte is 1,024 bytes, a megabyte is 1,024 KB, and so on up. Decimal (1,000,000): hard-drive and SSD makers measure in powers of 1,000 — a “megabyte” on the box is 1,000,000 bytes. Neither side is cheating; the decimal side follows SI convention, the binary side follows how memory addressing actually works. In 1998 the IEC tried to end the confusion with distinct names — mebibyte (MiB) for 1,048,576 bytes, megabyte (MB) for 1,000,000 — but almost nobody outside technical documentation uses them, so the ambiguity persists. Rule of thumb: if software reports the size, expect binary; if a box advertises the size, expect decimal. Our gigabytes to megabytes converter works the same binary math one rung down the ladder.

The Full Data Ladder: KB to PB Chart

The whole ladder in binary (what your computer reports): 1 KB = 1,024 bytes. 1 MB = 1,024 KB = 1,048,576 bytes. 1 GB = 1,024 MB = 1,073,741,824 bytes. 1 TB = 1,024 GB = 1,048,576 MB. 1 PB (petabyte) = 1,024 TB ≈ 1.126 × 10¹⁵ MB. In decimal (what the box advertises): 1 KB = 1,000 bytes, 1 MB = 1,000 KB, 1 GB = 1,000 MB, 1 TB = 1,000 GB = 1,000,000 MB, 1 PB = 1,000 TB. The gap between the systems grows with size: at the megabyte level it is 4.9%, at the gigabyte level 7.4%, at the terabyte level 10.0% — which is precisely why the “missing” space on a 1 TB drive is about 10%, not a rounding error. Memorize the ladder as powers: KB=2¹⁰ bytes, MB=2²⁰, GB=2³⁰, TB=2⁴⁰ bytes — each rung adds ten to the exponent, which is why engineers just say “a terabyte is 2-to-the-40 bytes.”

What Actually Fits in a Terabyte?

A terabyte is abstract until you fill it. Roughly: 250,000 photos (12 MP JPEGs at ~4 MB each) — about 680 years of one-photo-a-day. 500 hours of HD video (1080p at ~2 GB/hour) or ~170 hours of 4K. 17,000 hours of music (MP3 at ~1 MB/minute) — nearly two straight years. 10–20 modern games at 50–100 GB each, which is why console owners feel 1 TB shrinking. ~6.5 million Word documents, if anyone still counts those. Two practical takeaways: first, photos and video dominate — a phone shooting 4K video can eat 400 MB per minute, so a terabyte is about 40 hours of footage, not the near-infinite archive it sounds like. Second, cloud backup math: uploading a full terabyte at 20 Mbps takes roughly 5 days of continuous transfer, so seed large backups over weeks, not a weekend. When you are sizing drives, convert first with our terabytes to megabytes converter — then compare against the file sizes you actually have.

Why Your 1 TB Drive Shows Less Than 1 TB

The classic complaint — “my 1 TB drive shows only 931 GB” — is the binary/decimal gap in action, not a defect. The maker sold you 1,000,000,000,000 bytes (decimal terabyte); your operating system divides by 1,099,511,627,776 (binary tebibyte) and reports 0.9095 “TB,” which it labels 931 GB. Add a few gigabytes of filesystem overhead and hidden recovery partitions, and 931 GB is exactly what the math predicts. SSDs shave a little more: ~7% of the NAND is reserved for over-provisioning (wear leveling and bad-block replacement), invisible to you by design. Nothing is wrong, nothing was stolen — the drive holds every byte advertised, just counted in a different base. Our dedicated guide to why a 1 TB drive shows 931 GB works the full calculation step by step, including the formatting overhead most explanations skip.

Converting in Excel and Python

In Excel, binary terabytes to megabytes is =A2*1048576 (fill down for a column of drive sizes); decimal is =A2*1000000. To go from megabytes back to terabytes, =A2/1048576. In Python: mb = tb * 1024 * 1024 for binary, or tb * 1000 * 1000 for decimal — name the variable honestly (mb_binary vs mb_decimal) because the next person reading your code will thank you. One gotcha in both: very large byte counts exceed 32-bit integers, so if you are working in raw bytes (tb * 1024**3), use 64-bit or Python’s arbitrary-precision ints — JavaScript’s Number type is safe up to 2⁵³, which covers petabytes comfortably. For quick one-off conversions, skip the spreadsheet entirely: our terabytes to megabytes converter and our gigabytes to megabytes converter cover the two rungs everyone actually converts — our megabytes to gigabytes formula guide walks through the rung just below this one the same way — and the full converter family on our homepage handles the rest of the ladder.

Do it in one click

Convert terabytes, gigabytes, and megabytes both directions — free, no signup.

Open the Free Tool →