A drive label can say 256 GB while a system reports a capacity near 238 GiB. Both numbers can describe approximately the same number of bytes. A file upload can present the same problem on a smaller scale. When the instructions say 10 MB and a file manager rounds the displayed size, you may need the exact byte count before you know whether the file fits.
TinyToolbox Data Storage Converter converts a known quantity among bits, bytes, and decimal or binary storage units. Start by identifying which convention your source uses. The same number with a different suffix can represent a different amount of data, and a correct conversion will still give the wrong answer if you start with the wrong unit.
Enter the amount and select its unit
- Open Data Storage Converter.
- Enter the numeric amount under Value.
- Select the unit attached to the original value under From unit.
- Choose the desired output under To unit.
- Select Run tool and read the number together with its unit.
The tool includes Bytes, Bits, KB, MB, GB, TB, KiB, MiB, GiB, and TiB. It converts through bytes. A bit is one eighth of a byte in this calculation, so eight bits becomes one byte. The decimal options scale by powers of 1,000, and the binary options scale by powers of 1,024.
Run an easy check before processing a longer list. Enter 1 MB and select bytes. It should give 1,000,000 bytes. Now select MiB as the source, with the same input of 1 and the same output unit. That gives 1,048,576 bytes. You can see the difference directly without relying on an abbreviation that the source software may display ambiguously.
Distinguish decimal and binary units
The decimal prefixes describe groups of 1,000. Each binary step represents a factor of 1,024. The extra letter in KiB, MiB, GiB, or TiB identifies the binary convention. In the converter, KB is decimal, even if a particular application uses a similar abbreviation for binary quantities.
| Unit | Bytes per unit |
|---|---|
| KB | 1,000 |
| KiB | 1,024 |
| MB | 1,000,000 |
| MiB | 1,048,576 |
| GB | 1,000,000,000 |
| GiB | 1,073,741,824 |
If a worksheet says an archive is 5 MB, enter 5 with MB as the source if the worksheet uses decimal units. The result is five million bytes. If its documentation instead defines that field as five units of 1,048,576 bytes, enter 5 MiB to get 5,242,880 bytes. Those values differ by 242,880 bytes. The difference comes from the source convention and cannot be removed by copying additional decimal places.
When a program only presents an ambiguous “MB” label, look for an exact size in bytes or check its documentation. Start the conversion from the byte count when you have it. You can then produce a decimal MB value and a binary MiB value for readers who use different tools. Keep the labels visible on both outputs.
Check a capacity label against a system display
Suppose a device label specifies 256 GB using decimal units. In the calculator, enter 256 GB and convert to GiB. The output is about 238.42 GiB. To verify the scale, first convert the 256 GB to bytes, which gives 256,000,000,000 bytes. Dividing that figure by 1,073,741,824 gives the same binary capacity. One GiB is bigger than one GB, so the number of GiB is smaller for the same underlying bytes.
If the system display instead reports the space currently available for files, its figure may be lower for other reasons. A partition layout, filesystem data, or existing files can affect the amount available. Check the description beside the number. Total device capacity, capacity of a volume, and space currently free answer different questions. Compare matching measurements before deciding that the storage device has less capacity than you expected.
When looking at two devices, record whether each source reports total or usable capacity. Convert both figures into the same unit and keep the original data. If the product label was rounded, the converted number can show additional digits without implying that the label specified an exact byte count. A capacity comparison is easier to check when you can see both the stated convention and which area of storage was measured.
Verify a strict upload limit using the final file
Suppose a hypothetical form accepts files of at most 10,000,000 bytes. The file manager reports 9.6 MiB for your attachment. If the displayed number is approximate, use its exact file information rather than relying on that label. Taking 9.6 MiB at face value gives about 10,066,330 bytes, already above the example limit. A rounded “9.6” can look safely below 10 while referring to a larger binary unit.
If the actual file reports 10,010,000 bytes, it exceeds the limit by 10,000 bytes. A file of 9,990,000 bytes is below it by the same amount. Both might round to 10.0 MB in a short display. Use the underlying byte count for the boundary and confirm whether the instructions permit a file exactly at the limit. “Less than” and “at most” differ on that final byte.
Measure the file after your final export. A source folder and a ZIP archive made from it can have different sizes. A PDF made from several images can also end up larger or smaller than the total size of those images. This converter changes the unit of an existing measurement. It does not predict what a later export or compression tool will produce. If the exact document is a PDF, PDF Size Analyzer can report its byte count along with page details for compatible inputs.
Separate data amounts from transfer rates
A network rate in megabits per second and a file size in megabytes describe different quantities. A rate includes time in its denominator. Suppose a simplified exercise assumes a constant transfer rate of 80 megabits per second, using decimal prefixes. That is 80,000,000 bits per second. Convert the per-second bit amount to bytes and you get 10,000,000 bytes per second, or 10 MB per second. The time unit remains unchanged during that conversion.
Now assume the file is exactly 200 MB. At the assumed payload rate, divide 200 MB by 10 MB per second to get 20 seconds. A real transfer can take longer because a quoted connection rate may differ from the rate at which useful file data arrives. Wi-Fi conditions, protocol overhead, and pauses can change the observed time. Label the result as an idealized estimate when it uses a nominal rate.
If a log instead measures 200 MB transferred in 25 seconds, its average payload rate is 8 MB per second. Multiply by eight to express it as 64 megabits per second under the same decimal convention. Check the capitalization used in the log, especially when it uses b for bits and B for bytes. If the calculation also needs a different time unit, use Time Converter to align the duration before dividing.
Total a set of files without mixing units
Imagine a folder has one export measured at 740 MB and another measured at 300 MiB. Convert the 300 MiB file to bytes, giving 314,572,800. The first file contributes 740,000,000 bytes if its displayed amount is exact. Together they account for 1,054,572,800 bytes, or about 1.055 GB. Add the common-unit figures before rounding the total. Simply adding 740 and 300 would combine values with different meanings.
Check which measure an operating system reports. The exact file length and the storage space it occupies on disk can differ because disk space is assigned in blocks. For an upload, compare the file length unless the destination defines another measure. For planning free disk space, check the relevant storage report and account for any temporary files the operation creates. Two correctly converted figures can differ because they measure different things.
If the set will be distributed as one archive, measure that final archive separately. An archive can compress some types of source files and add container data of its own. Keep the source total if you need it for a separate question, such as how much space recipients will need after extraction. The downloaded archive size is the one to check against a file attachment limit.
Keep rounding and exact counts with the result
For a summary, showing 256 GB as about 238 GiB may be enough. For a limit check, compare exact bytes when you have them. The converter uses JavaScript numbers and formats the result for reading, so an unusually large integer or a heavily rounded display may not preserve every trailing digit. Save the original byte count if exact large-integer arithmetic is required, and avoid recreating that count from a shortened value in GB or GiB.
Before handing off a conversion, record the original number, its unit convention, the converted number, and whether the value is exact or rounded. Add what the number measures if that could be ambiguous, such as file length, total capacity, or free space. A note that reads “10,010,000 bytes, approximately 10.01 MB, final attachment” is easy to check against a quoted limit.
To diagnose a mismatch, convert both reported values to bytes and compare them before changing any assumptions. A factor of eight often points to bits versus bytes. A smaller discrepancy can come from decimal versus binary units or rounding. If those agree, check the original objects or intervals being measured. With the unit convention and the source count visible, the next reader can reproduce the comparison and understand what the result actually describes.
Check how much storage a repeated export needs
Suppose an export creates one file of 64 MiB per run, and you plan to keep 20 finished runs. First multiply the original amounts to get 1,280 MiB. Convert to GiB and the result is 1.25 GiB, since one GiB equals 1,024 MiB. In decimal GB that is approximately 1.342 GB. Comparing 1,280 MiB with a free-space figure in decimal GB requires one more step than comparing the printed numbers directly.
If the application also writes a temporary file while creating the next export, account for that separately. A plan for 20 completed files can fit while peak storage exceeds the final total. Check the size of a representative temporary or output file rather than assuming it matches the finished file. Document whether your estimate describes retained files, the space needed while an export is running, or both.
When you repeat the estimate with a new sample, record its exact bytes if available. File sizes may differ with the amount of material in each run. Use a representative value for an average and an appropriate larger value when testing a storage margin.