Code & data
MB vs MiB: convert units without changing the underlying value
Work through decimal and binary file sizes, US and Imperial gallons, and absolute temperatures with explicit unit conventions.
Convert ten megabytes into mebibytes
In the Data Size Converter, enter 10, choose MB as the source and MiB as the destination. MB uses 1,000,000 bytes; MiB uses 1,048,576 bytes. The result is approximately 9.53674316406 MiB. The number becomes smaller while the amount of data stays the same.
That conversion does not compress a file. A form’s upload limit may be written loosely as MB, so check its own rules or compare the actual byte count when it rejects a file near the boundary. Bits and bytes differ too: eight bits make one byte. The converter permits fractional byte results for arithmetic, even though a saved file has a whole-number byte length.
10 MB = 10,000,000 bytes
10,000,000 ÷ 1,048,576 ≈ 9.53674316406 MiB
1 MiB = 1.048576 MB
1 byte = 8 bitsRead the convention behind a familiar label
A gallon needs a convention. One US liquid gallon is 3.785411784 litres; one Imperial gallon is 4.54609 litres. Select the appropriate option in Volume Converter instead of choosing the first unit that resembles the label in your document. Both answers can be internally correct for different questions.
The same care applies to length and mass. KitForma labels nautical miles separately from miles, and its weight converter converts mass rather than gravitational force. Keep the unit next to the result when you paste it into another document, and do not compare bare numbers from differently labelled columns.
1 US liquid gallon → 3.785411784 L
1 Imperial gallon → 4.54609 L
Difference: 0.760678216 LA temperature is different from a temperature difference
Temperature Converter accepts absolute temperatures: 20 °C becomes 68 °F. A rise of 20 °C, however, corresponds to a rise of 36 °F because the offset cancels when subtracting temperatures. Do not use the absolute-temperature result as a change in temperature.
Values below absolute zero are rejected. General unit conversions use floating-point arithmetic and display up to 12 significant digits; more displayed digits are not evidence that the original measurement was more precise. Preserve the accuracy and convention of your source rather than padding an approximate measurement with zeros.
Absolute temperature: 20 °C × 9/5 + 32 = 68 °F
Temperature difference: 20 °C × 9/5 = 36 °FChanging number base is a separate task
Number Base Converter changes the notation of an integer, such as decimal 255 to hexadecimal FF. It does not change bytes into another storage unit. Use the data-size tool for MB/MiB and the number-base tool for how a number is written.
The base converter supports bases 2 through 36 and signed integers up to 4,096 digits. Enter digits without 0x or 0b prefixes and without separators. Reversing the source and destination bases is a useful small-sample check that the result represents the same integer.
KITFORMA
Put it into practice
No account needed. Open an article, then try the matching tool.
Further reading
How to use this guide
Published by KitForma, maintained by Fatih Erkan. The linked references explain the relevant formats and definitions. Examples use sample inputs; they do not establish a speed, quality or compatibility guarantee for your files. Check the tool’s stated limits and inspect your downloaded result.