Capacity planning in large binary units

Backup administrators, storage engineers and data analysts count in mebibytes when they look at individual files and in tebibytes when they plan capacity. A monitoring tool reports 3,500,000 MiB of log data, and the purchase plan uses tebibytes. This page performs the step between them, dividing by 1,048,576. Both units are binary, so the factor is a pure power of two and the result is exact. The answers are small decimals for ordinary inputs, so the page is most helpful when the mebibyte count is large and you would otherwise count digits by hand to find the matching number of tebibytes.

Two steps of 1,024

A tebibyte is 2⁴⁰ bytes and a mebibyte is 2²⁰ bytes, so one tebibyte holds 2²⁰ = 1,048,576 mebibytes. The formula is TiB = MiB ÷ 1,048,576, equal to MiB × 9.53674316406e-7. The two prefixes sit two steps apart in the IEC series, mebi then gibi then tebi, and each step is 1,024. A value of 1,048,576 MiB is therefore exactly 1 TiB, and 2,097,152 MiB is 2 TiB. Keeping the powers of two in mind lets you check a result without a calculator: a number just above one million mebibytes must give a result just above one tebibyte.

Ten mebibytes against a tebibyte

The opening example gives 9.5367431640625e-6 TiB for 10 MiB, which is 0.0000095367431640625. The expansion terminates because the divisor is a power of two. Such a small figure shows how little a ten mebibyte file is on the scale of a modern storage system: roughly one hundred thousandth of a tebibyte. The page displays the exponent form when the number is small. Read e-6 as six places to the left. For reports, writing 9.5e-6 TiB is enough, and for most planning purposes the file simply disappears into rounding, which is the right conclusion. To see the other end of the scale, a set of 524,288 MiB is 0.5 TiB, and the same arithmetic gives 0.25 TiB for 262,144 MiB. Those half and quarter values are quick anchors for checking any large result: 300,000 MiB comes to 0.286102 TiB, a little above 0.25 TiB, and a figure far from that signals a slipped exponent.

Sizing a backup set

A backup job reports 750,000 MiB of protected data. The page returns 0.715256 TiB, which tells the administrator that a volume of 1 TiB holds the set with about 28 percent of space left. A larger job of 3,500,000 MiB converts to 3.33786 TiB and needs at least four tebibytes of space once you leave room for growth and copies. Retention rules multiply the figure: keeping seven daily copies of a 0.715 TiB set takes about 5 TiB before compression or deduplication. Convert the total of the data first, then apply the multiplier, to avoid carrying rounding errors through several steps.

Drive labels in tebibytes

Storage makers label drives in decimal terabytes, and operating systems often display binary tebibytes. A drive sold as 2 TB holds 2,000,000,000,000 bytes, which is 1,907,348.63 MiB and 1.81899 TiB. That explains why a new 2 TB drive appears as roughly 1.82 TiB in a file manager that uses binary units. No space is missing. The label and the display follow different prefix systems, and the gap at the tera level is about 9 percent. If you compare a mebibyte count from a monitoring tool with a drive label, convert through bytes or to tebibytes first, then compare the figures in one system.

Daily volume over a year

Small daily numbers add up. A camera system that writes 250 MiB each day produces 91,250 MiB in a 365-day year, and the page converts that to 0.087023 TiB, a little under nine hundredths of a tebibyte. Day by day the pile looks harmless, since 250 MiB is about 0.00024 TiB, yet after a year it matters for a small network recorder. Ten such cameras need 0.87 TiB per year, so a 1 TiB drive nearly fills in the first year with a small margin. For a surveillance or logging plan, add the growth of retention, the size of indexes and the space that the file system reserves for itself. The conversion gives a clear first figure, and the margins decide the final purchase.

Going back to mebibytes

To read a capacity as a count of mebibytes, choose tebibytes as the source. One tebibyte is 1,048,576 MiB and 2 TiB is 2,097,152 MiB. A target such as 0.5 TiB is 524,288 MiB. Quoting a capacity in mebibytes is rare, but some quota systems and database settings work in those units, and a limit of 2,097,152 in a configuration file is a recognizable two-tebibyte value. If you see a number like 2,000,000 in a quota field, it stands for 1.907 TiB and not 2 TiB, a 4.6 percent difference worth knowing before you promise a customer a full two tebibytes.

Reading exponent output

Tebibyte results for small inputs have many leading zeros and the page may show them as exponents. A value such as 9.5367431640625e-6 means 0.0000095367431640625. When you copy the output into a spreadsheet, keep the exponent, because some programs read e-6 correctly and others drop it. Rounding at the third significant digit is usually adequate for planning, giving 9.54e-6 TiB. The page shows up to 12 significant digits for completeness, and long strings of digits beyond the third rarely add information to a capacity discussion. A purchase request that says 3.34 TiB for the 3,500,000 MiB log set is precise enough, and adding more digits would suggest a certainty about future growth that nobody has.

Notation and prefix care

The symbol TiB has a capital T, a lowercase i and a capital B. The decimal terabyte is TB, and the two differ by 10 percent. Writing Ti instead of T in a document tells the reader that the quantity is binary. Mebibyte is written MiB, and the lowercase mib is not a valid symbol. Prefix names matter too: kibi, mebi, gibi and tebi come from kilo, mega, giga and tera with binary in mind. Use the same system for every figure in one table, and name the system in the table title so the reader does not have to guess. In a purchase order, write the capacity in the same system as the product label, and put the binary equivalent in a note.