Practical Guide

File Size Formatter — Usage Guide and Technical Principles

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.

Open tool

Overview

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.

Key concepts

Unit ladder

Units progress from bytes (B) through kilobytes to petabytes by applying base^exponent conversions.

Binary vs decimal

1 MB = 1,000,000 B. 1 MiB = 1,048,576 B. The output setting does not change how these input suffixes are read.

Formatting

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.

Key features

Batch formatting

Each entry is checked in full. Negative values, unknown units and trailing text are marked invalid.

Decimal or binary

Switch between SI (1000) and IEC (1024) bases to match your documentation.

Precision control

Set the number of decimal places from 0 to 6.

Copy friendly

Copy the formatted table as simple text ready for spreadsheets or tickets.

Use cases

Check disk reports

1048576 B → 1.00 MiB

FAQ

Which units are available?

1 MB = 1,000,000 B. 1 MiB = 1,048,576 B. The output setting does not change how these input suffixes are read.

What happens to fractional values?

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.

Does the copy button include headers?

Copy the formatted table as simple text ready for spreadsheets or tickets.

Related documentation

  • Binary prefixes

    NIST definitions and examples for KiB, MiB and other IEC units.

  • SI prefixes

    NIST reference for decimal prefixes such as kilo and mega.

File Size Formatter

Open the tool to try these features.

Open tool