Unit ladder
Units progress from bytes (B) through kilobytes to petabytes by applying base^exponent conversions.
Preparing your comprehensive developer toolkit
Practical Guide
Batch format file sizes in SI or IEC units. See the exact byte count and choose how many decimal places to show in the formatted result.
Batch format file sizes in SI or IEC units. See the exact byte count and choose how many decimal places to show in the formatted result.
Units progress from bytes (B) through kilobytes to petabytes by applying base^exponent conversions.
1 MB = 1,000,000 B. 1 MiB = 1,048,576 B. The output setting does not change how these input suffixes are read.
The byte column preserves fractions. The formatted column rounds to the selected precision, for example 0.5 B appears as 0.50 B at two decimal places.
Each entry is checked in full. Negative values, unknown units and trailing text are marked invalid.
Switch between SI (1000) and IEC (1024) bases to match your documentation.
Set the number of decimal places from 0 to 6.
Copy the formatted table as simple text ready for spreadsheets or tickets.
1048576 B → 1.00 MiB
1 MB = 1,000,000 B. 1 MiB = 1,048,576 B. The output setting does not change how these input suffixes are read.
The byte column preserves fractions. The formatted column rounds to the selected precision, for example 0.5 B appears as 0.50 B at two decimal places.
Copy the formatted table as simple text ready for spreadsheets or tickets.
NIST definitions and examples for KiB, MiB and other IEC units.
NIST reference for decimal prefixes such as kilo and mega.
Open the tool to try these features.