b2KIT

File Size Calculator & Converter

Convert between bytes, KB, MB, GB, and TB with precise binary and decimal calculations.

How to Use File Size Calculator & Converter

  1. 1

    Enter file details

    Input the dimensions, format, and quality of your file.

  2. 2

    View estimated size

    See the calculated file size in bytes, KB, MB, or GB.

  3. 3

    Compare formats

    Check how different formats affect the final file size.

Tested tool guide Tested browser tools Checked August 16, 2026

What File Size Calculator & Converter does, with a checked example

A converter for file and storage sizes. Type a value in any common unit - bytes, KB, MB, GB, or TB - and get the equivalent in every other unit, computed in your choice of two counting systems: decimal (1000-based, how drive manufacturers label capacity) or binary (1024-based, how operating systems count and how RAM is sold). The thing that surprises most people: the two systems differ by roughly 7% at GB and 10% at TB, which is exactly why a new 1 TB hard drive appears as about 931 GB on a Windows machine. The conversion happens entirely in the browser; nothing you enter is uploaded.

Worked example

A concrete input and expected output from the current implementation.

Input

1 TB (decimal)

Expected output

1,000,000,000,000 bytes = 1,000 GB (decimal) = 931.32 GiB = 0.9095 TiB (binary)

A drive labeled 1 TB is sold in decimal: exactly 10^12 bytes. In binary, that count divides into 931.32 GiB (by 2^30) or 0.9095 TiB (by 2^40) - the figures an operating system reports for the same drive.

How the result is produced

1

Two unit systems, one conversion

The binary (IEC) chain multiplies by 1024 per step: 1 KiB = 1024 bytes, 1 MiB = 1024 KiB, up to TiB. The decimal (SI) chain multiplies by 1000: 1 KB = 1000 bytes, 1 MB = 1000 KB. The tool converts the value you enter to a byte count, then scales it to every unit shown. Both conversions are exact; the two systems diverge by 2.4% per step.

2

Reading the results

Results come back across the full unit range, with binary (KiB, MiB) and decimal (KB, MB) labels kept distinct so each figure can be matched to the base your operating system or drive label actually uses. Displayed values are rounded to a fixed number of decimal places, so converting a rounded result back to its original unit will not reproduce your exact input; a small drift there is rounding, not a calculation error.

Good uses

  • Buying storage: a drive sold as 1 TB holds 1,000,000,000,000 bytes, and the tool shows the 931.32 GiB the operating system will report once it is installed.
  • Checking a transfer limit: email attachment caps and cloud quotas are usually quoted in decimal GB, while a file's properties are often in binary - convert both sides to bytes to see whether the file fits.
  • Estimating a download: convert the file size to bytes, then divide by the connection's byte rate (a 1 Gbps line moves about 125 MB/s) for a realistic transfer time.

Limits and checks

  • An unqualified 'GB' means two different sizes. Operating systems usually count in binary (a GiB), drive boxes in decimal, so decide which system your figure came from before comparing two numbers.
  • Outputs are rounded for readability. Convert GB to MB and back and the last digits will drift; treat the first three or four significant figures as the reliable part.
  • Bytes are not bits. This tool works in bytes; network speeds and memory bandwidth are quoted in bits, so a '1 Gbps' connection is about 125 MB/s, not 1 GB/s.

Common questions

Why does my 1 TB hard drive show only about 931 GB in Windows?

The two figures count in different bases. The drive is labeled in decimal, so 1 TB = 1,000,000,000,000 bytes. Windows reports in binary, where 1 GiB = 1,073,741,824 bytes; dividing 1,000,000,000,000 by that gives 931.32 GiB. No capacity is missing or faulty - every terabyte drive loses the same ~9% to the base difference.

Is a kilobyte 1000 bytes or 1024 bytes?

Both meanings circulate. The SI standard defines kilo as exactly 1000, and the binary unit for 1024 bytes is KiB, but operating systems have long displayed 1024-based counts with plain KB labels. Use the tool's decimal side to match drive labels and its binary side to match what the OS reports, and the ambiguity stops mattering.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools