Byte conversion calculator
Convert digital storage values across decimal units, binary units, bytes, and bits with exact base-unit arithmetic.
Conversion inputs
Live result
Equivalent values
| Unit | Symbol | Value | Bytes per unit |
|---|
How to use the byte conversion calculator
What this calculator does. This tool converts one digital-information quantity into another using a common byte base. It handles bits, bytes, decimal SI multiples such as kilobytes and gigabytes, and binary IEC multiples such as kibibytes and gibibytes. It is useful for exact unit conversion; it does not estimate compression, filesystem overhead, transfer time, or the usable capacity left after formatting.
When to use it. Use it when comparing a file size with a storage-device label, translating an operating system's binary-style display into a vendor's decimal unit, checking a network figure expressed in bits, or documenting storage requirements consistently in a technical report.
How to calculate. The calculator opens with a ready-to-use demonstration: 1.5 gibibytes converted to gigabytes, and the Excel workbook is available immediately. Follow these steps:
- Replace Value with a nonnegative decimal number. The accepted convention is en-US: use a period for decimals and optional commas only as standard three-digit grouping.
- Choose the From unit. This tells the calculator which factor converts the entered amount to bytes.
- Choose the To unit. The primary result shows that destination, while the table shows every supported equivalent.
- Select Displayed precision to control visible rounding. This does not change the underlying conversion.
- Use Download Excel to export the current inputs, primary result, and full conversion table as a validated XLSX workbook. Reset clears the demonstration data and may disable export until a complete valid value is entered again.
Input guide. Value is required, accepts a finite nonnegative number, and is unitless until paired with the source selector; for example, enter 1.5. Increasing it increases every output proportionally. Do not enter units, a percent sign, a decimal comma, or scientific notation. From unit is required and identifies the source magnitude; selecting GiB means each unit contains 1,073,741,824 bytes. A common mistake is treating GB and GiB as interchangeable. To unit is required and selects the primary destination without changing the base quantity. Displayed precision accepts 2, 4, 6, or 8 decimal places and only affects presentation; it is not a rounding rule for the exported canonical values.
Output guide. Converted value is the exact identity expressed in the chosen target unit, rounded only for display. Exact bytes and Exact bits show the common base quantities; fractional values may appear when the source amount is fractional. Source system and Target system classify the selected units as decimal, binary, or base. The header pills repeat the source classification and base quantities for quick scanning. In the Equivalent values table, Unit and Symbol identify each unit, Value gives the current equivalent, and Bytes per unit states the conversion factor. Zero is a valid exact quantity; negative values are rejected because a data amount cannot be negative in this calculator.
Worked example. The startup value is 1.5 GiB. One GiB equals 1,073,741,824 bytes, so the base amount is 1.5 × 1,073,741,824 = 1,610,612,736 bytes. One decimal GB equals 1,000,000,000 bytes, therefore 1,610,612,736 ÷ 1,000,000,000 = 1.610612736 GB, displayed as 1.6106 GB at four decimals. Multiplying the byte count by eight gives 12,884,901,888 bits.
Learn more. The distinction between decimal and binary prefixes follows the NIST overview of SI units and the IEC explanation of binary prefixes. For the byte's role in information technology, see the IEC 80000-13 quantities and units standard.
Decimal versus binary storage units
Decimal prefixes scale by powers of 1,000: 1 kB is 1,000 bytes, 1 MB is 1,000,000 bytes, and 1 GB is 1,000,000,000 bytes. Binary prefixes scale by powers of 1,024: 1 KiB is 1,024 bytes, 1 MiB is 1,048,576 bytes, and 1 GiB is 1,073,741,824 bytes. The labels matter because the numerical gap grows with each prefix level. A nominal 1 TB decimal drive contains 1,000,000,000,000 bytes, which is about 0.9095 TiB.
Accuracy and interpretation
Every conversion in this calculator is an exact unit identity based on the stated factors. Visible rounding can hide small differences, so raise the displayed precision when comparing close values. Storage devices, filesystems, cloud services, and operating systems may present capacities differently, and practical usable space can be lower because of formatting, metadata, redundancy, reserved blocks, or compression. Those operational effects are outside this unit converter and should be evaluated separately.