Memory limits, image sizes and backup logs in MiB

Container platforms and virtual machine tools often express quantities in mebibytes. Kubernetes resource quantities, for example, use the suffixes Mi and Gi for binary amounts, and many backup and imaging programs print totals in MiB. When a volume is described in tebibytes and a log line reports a job as 2,400,000 MiB, you need a common unit to see how full the volume is. This page multiplies a tebibyte value by 1,048,576 and returns mebibytes. Because both units are binary, the answer is a whole number for any whole or binary-fraction input, with no rounding between decimal and binary systems.

Two steps of 1,024

The mebibyte is 2^20 bytes and the tebibyte is 2^40 bytes, so one tebibyte equals 2^20 mebibytes, or 1,024 × 1,024 = 1,048,576. The formula is MiB = TiB × 1,048,576. The factor is a definition, so results are as precise as the number you type. By hand you can double the value twenty times, which is tedious, or multiply by 1,000,000 and add 4.8576 percent of the product. For instance, 3 TiB is 3,145,728 MiB, and 0.75 TiB is 786,432 MiB. Anchors like these, 786,432 for three quarters and 262,144 for a quarter, let you spot a wrong factor at a glance. If the output of a calculation has about the same number of digits as the input, the factor was dropped.

Ten tebibytes in mebibytes

The default 10 TiB returns 10,485,760 MiB. The figure appears in capacity reports and quotas, and it is easy to confuse with 10,000,000, the count you would get from decimal megabytes in a decimal terabyte pair. The two differ by 485,760, about 4.9 percent, which is the gap between 1,048,576 and 1,000,000. For planning, remember that a tebibyte holds just over a million mebibytes. If a script that converts 10 TiB prints 10,000,000, it applied the decimal factor to a binary unit, and the capacity it reports is short by nearly half a million mebibytes. Catching the error early matters because quotas set from the wrong total can block backups or leave a volume overcommitted.

Multipart uploads of a 1 TiB object

Object storage services split large uploads into parts. Amazon S3, for example, allows up to 10,000 parts per upload, with parts between 5 MiB and 5 GiB, and other providers set their own limits, so check the documentation of the one you use. One tebibyte is 1,048,576 MiB. Dividing by 10,000 parts gives 104.86 MiB, so the part size must be at least about 105 MiB, and a 100 MiB part would produce 10,486 parts, which is too many. A 128 MiB part size gives 8,192 parts, which stays under the limit and leaves room for retries. Converting to mebibytes first makes this calculation direct. The page supplies the total in MiB, and the division by the part limit is a step you do in your own tool.

Fractions and multiples of a tebibyte

Most volumes are not whole tebibytes. A quarter of a tebibyte is 262,144 MiB, three quarters is 786,432 MiB, and 1.5 TiB is 1,572,864 MiB. Because 1,048,576 is a power of two, these results are exact integers for such fractions. A value like 0.3 TiB gives 314,572.8 MiB, which is not a whole number, and storage tools will round it. If you need whole mebibytes for a quota field, round down when the limit must not be exceeded and up when the amount must be covered, and note which you chose so a reviewer can follow the decision.

From mebibytes back to tebibytes

Set mebibytes as the source and tebibytes as the target to reverse the calculation. The page divides by 1,048,576. A job log that reports 500,000 MiB corresponds to about 0.4768 TiB, and 2,097,152 MiB corresponds to 2 TiB. Backup software often shows totals as MiB with thousands separators, which makes the digits easy to read, but when you paste them into a calculator, remove the separators first. A typed comma can silently change the number in some tools. Locale matters as well, since some regions write 500.000 for five hundred thousand and a decimal point would be read as a fraction. Reporting the result as TiB with two decimals, such as 0.48 TiB, is usually enough, and the mebibyte total remains available in the log for audits.

MiB against decimal MB in one dashboard

A dashboard that shows MiB in one panel and MB in another invites a misreading. One mebibyte is 1.048576 MB, so a figure of 100 MiB is 104.8576 MB. For a single file this hardly matters, but at the tebibyte scale a mix-up changes a total by about 4.9 percent, which is more than most monitoring thresholds allow. When you build or read a report, set one unit family for every number and label each axis. If you inherit a chart that lacks labels, compare one known value, such as a file of 1,048,576 bytes, with what the chart shows to identify the convention in use.

Virtual machine memory and disk sizes

Hypervisors let you give a virtual machine memory in mebibytes or gibibytes, and disk images in gibibytes. A machine with 16,384 MiB of memory has 16 GiB, since 16 × 1,024 is 16,384. Disk images in the tebibyte range are less common, but a database host may have a 2 TiB data disk, which is 2,097,152 MiB. When two settings in a configuration file use different units, convert both to mebibytes before comparing them, because a field accepting MiB and another accepting GiB are easy to mix up. This page covers the tebibyte to mebibyte step and leaves the sizing decisions to you. Large guests are often provisioned in round mebibyte counts, so keep a note of the unit alongside every figure.

A sanity check on the order of magnitude

The tool turns one number into another in a different unit. It does not choose a disk size, estimate how much memory a workload needs or check platform limits. Whether a job can use all of a volume depends on the filesystem, on reserved space, and on any quota set by the platform. If a result looks off, check the order of magnitude first: a tebibyte must give a number slightly above one million mebibytes. If it does not, a unit was probably chosen in the wrong place. Write the TiB value beside the MiB value so the source stays easy to trace.