Unit Conversions

Data Sizes Smallest to Largest: The Full Order

If you want data sizes smallest to largest in one line, here it is: bit → byte → kilobyte (KB) → megabyte (MB) → gigabyte (GB) → terabyte (TB) → petabyte (PB) → exabyte (EB) → zettabyte (ZB) → yottabyte (YB), with two newer giants — ronnabyte (RB) and quettabyte (QB) — now sitting on top. Each step up multiplies the one below it by 1,000 (decimal) or 1,024 (binary). This guide lays the units out in order with their exact byte values, shows the one gotcha that makes a "500 GB" drive look smaller than advertised, and gives you a reference table you can keep. When you just need the number, a free converter does the multiplying for you — but two minutes here means you'll never misread a file size again.

Data sizes smallest to largest, at a glance

Reading from the tiniest unit upward, the ladder goes:

  1. Bit (b) — a single 0 or 1. The smallest piece of data there is.
  2. Nibble — 4 bits (rare, but it's exactly one hex digit).
  3. Byte (B) — 8 bits. The basic unit files are measured in.
  4. Kilobyte (KB) — ~1,000 bytes.
  5. Megabyte (MB) — ~1,000 KB.
  6. Gigabyte (GB) — ~1,000 MB.
  7. Terabyte (TB) — ~1,000 GB.
  8. Petabyte (PB), Exabyte (EB), Zettabyte (ZB), Yottabyte (YB) — each 1,000× the last.
  9. Ronnabyte (RB) and Quettabyte (QB) — added to the SI prefix set in 2022 as the two largest, at 10²⁷ and 10³⁰ bytes.

The key idea is that this is a ladder of thousands: every rung is 1,000 times the rung beneath it (in the decimal system storage vendors use). That single rule is what turns "smallest to largest" into simple multiplication.

Bit vs byte: where the ladder starts

The bottom of the ladder trips people up because two units sound almost identical. A bit (lowercase b) is one binary digit — a 0 or a 1. A byte (uppercase B) is 8 bits grouped together, enough to store one character of text or a number from 0 to 255.

That factor of 8 is the classic gotcha, because internet speeds are sold in megabits per second (Mb/s) while files are measured in megabytes (MB):

A 100 Mb/s connection moves at most 100 ÷ 8 = 12.5 MB/s. So a 1 GB (decimal) download takes at least 1,000 ÷ 12.5 = 80 seconds, not 10.

Rule of thumb: little-b is bits (speeds), big-B is bytes (files), and you divide by 8 to get from one to the other.

Decimal (KB) vs binary (KiB): two ladders, not one

Here is the twist that makes data sizes different from every other unit conversion: there are two competing definitions of each prefix, and they give different byte counts.

  • Decimal (SI): 1 KB = 1,000 bytes; each step is ×1,000 (10³). Used by hard-drive and SSD manufacturers, networking, and most marketing.
  • Binary (IEC): 1 KiB = 1,024 bytes; each step is ×1,024 (2¹⁰). Used by most operating systems' file managers — sometimes while still displaying the label "KB" or "GB".

The correct binary names use an -bi- infix: kibibyte (KiB), mebibyte (MiB), gibibyte (GiB), tebibyte (TiB). They exist precisely so you can say "1,024-based" without ambiguity. The gap between the two ladders widens at every rung:

A "500 GB" drive holds 500,000,000,000 bytes. Your operating system divides by 1,073,741,824 (that's 2³⁰, one GiB) and shows ≈ 465.66 GiB — often labelled "465 GB". Nothing is missing; the same bytes are just described in a different unit.

A "1 TB" drive is 1,000,000,000,000 ÷ 2⁴⁰ ≈ 0.909 TiB, about a 9% paper "shrinkage." This decimal-versus-binary split is the single biggest source of confusion in data sizes, and it's covered alongside the other measurement traps in our unit conversions guide.

The full reference table, smallest to largest

Exact byte values for both systems, from bit to the newest giants:

Order Decimal unit Bytes (10ⁿ) Binary unit Bytes (2ⁿ)
1 bit (b) ⅛ byte
2 byte (B) 1 byte (B) 1
3 kilobyte (KB) 1,000 kibibyte (KiB) 1,024
4 megabyte (MB) 1,000,000 mebibyte (MiB) 1,048,576
5 gigabyte (GB) 10⁹ gibibyte (GiB) 2³⁰ = 1,073,741,824
6 terabyte (TB) 10¹² tebibyte (TiB) 2⁴⁰
7 petabyte (PB) 10¹⁵ pebibyte (PiB) 2⁵⁰
8 exabyte (EB) 10¹⁸ exbibyte (EiB) 2⁶⁰
9 zettabyte (ZB) 10²¹ zebibyte (ZiB) 2⁷⁰
10 yottabyte (YB) 10²⁴ yobibyte (YiB) 2⁸⁰
11 ronnabyte (RB) 10²⁷
12 quettabyte (QB) 10³⁰

The ronna (R) and quetta (Q) prefixes were adopted by the General Conference on Weights and Measures in 2022; the IEC hasn't yet standardised binary twins for them, which is why the last two rows have no -bi- column. For everyday files you'll rarely leave the KB–TB middle of the ladder, but the pattern never changes: one rung up, one prefix along, ×1,000 (or ×1,024).

Best units in Universal Tower Defense

A quick note for a different "units" search: in the Roblox game Universal Tower Defense, "units" are the towers you deploy, not data units — so "smallest to largest" doesn't apply. Because live games rebalance towers constantly, there's no evergreen "best unit" we can honestly print here. The reliable approach is the same one that works for data prefixes: check the current in-game stats yourself (damage, range, and cost per placement) rather than trusting an old tier list, since a patch can reorder the rankings overnight.

Units: how to read an insulin syringe

Another common "units" question, and a genuinely important one. Insulin is dosed in international units (IU), and a syringe's barrel is marked in units, not millilitres. The catch is that syringes come in different capacities — commonly 30, 50, and 100 units — so the same physical distance between lines can mean a different dose on each. Always match the syringe to the insulin concentration (U-100 insulin needs a U-100 syringe) and count the marked lines to your prescribed number of units. This is a medical measurement, not a conversion to eyeball: confirm your dose and technique with a pharmacist or clinician.

Time zones: how to calculate the offset

Time is a unit system too, and it's the one where "just multiply" fails. A time-zone conversion is addition of an offset from UTC, not a scaling factor. To convert a time, express both zones as their UTC offset and take the difference:

New York is UTC−5 (standard time); Berlin is UTC+1. The gap is 1 − (−5) = 6 hours, so 09:00 in New York is 15:00 in Berlin.

The gotcha is daylight saving time: offsets shift by an hour on dates that differ by country, so a fixed "+6" can silently become "+5" for a few weeks. When it matters, convert through UTC and check each zone's DST status for the actual date.

Best metric-imperial tape measure

For a tape that shows both systems, the feature that matters isn't a brand — it's a dual-scale blade with millimetres/centimetres on one edge and inches (divided into sixteenths) on the other, so you read both without converting. Look for clearly etched fractional inch marks and a metric edge numbered every centimetre. If you'd rather convert a single measurement than buy hardware, remember the exact factor: 1 inch = 2.54 cm (exact by definition), so 12 in = 30.48 cm.

Best temperature for sleep

One more offset-unit question. Sleep guidance commonly points to a cool room — often cited around 18 °C, which converts to 64–65 °F (18 × 9/5 + 32 = 64.4 °F). Temperature is the offset unit par excellence: you can't convert it with a bare factor, you multiply by 9/5 and add 32. Treat the exact number as a personal starting point rather than a rule, and adjust to what feels right — the useful takeaway here is the conversion, not a one-size dictate.

FAQ

What is the correct order of data sizes from smallest to largest?

Bit, byte, kilobyte (KB), megabyte (MB), gigabyte (GB), terabyte (TB), petabyte (PB), exabyte (EB), zettabyte (ZB), yottabyte (YB), then the 2022 additions ronnabyte (RB) and quettabyte (QB). Each step is 1,000× the previous in the decimal system, or 1,024× in the binary (KiB, MiB, GiB…) system.

What is the smallest and largest data unit?

The smallest is the bit — a single 0 or 1. Eight bits make a byte. The largest standard unit today is the quettabyte (QB) at 10³⁰ bytes, added to the SI prefixes in 2022, just above the ronnabyte (10²⁷).

Why is a byte 8 bits?

Eight bits give 2⁸ = 256 possible patterns (0–255), which is enough to encode a single character of text or one colour channel. The grouping became the industry standard, so file sizes are counted in bytes while connection speeds are counted in bits.

Is a gigabyte 1,000 or 1,024 megabytes?

Both definitions exist. A gigabyte (GB) is 1,000 MB in the decimal system drive makers use; a gibibyte (GiB) is 1,024 MiB in the binary system operating systems use. A "500 GB" drive is about 465.66 GiB — same bytes, different unit.


Need to convert a file size right now? Medley Web is building a free hub of instant, in-browser converters — bytes, KB, MB, GB, TB and their binary twins, one input in, many formats out. Convert data sizes free at medley-web.com.

Comments are disabled for this article.