Utilities

Byte Converter

Convert bytes between decimal and binary storage units.

Storage value

Enter a number and select its current unit.

Quick values

Convert a storage value

Enter a number and select a byte unit to compare decimal and binary representations.

Decimal vs binary units

Storage manufacturers and operating systems may use different calculation systems.

Decimal

1 MB = 1,000,000 B

Uses powers of 1,000 and the symbols KB, MB, GB and TB.

Binary

1 MiB = 1,048,576 B

Uses powers of 1,024 and the symbols KiB, MiB, GiB and TiB.

Byte conversions are calculated entirely inside your browser.

About this tool

What is Byte Converter?

A byte converter translates file and storage sizes between decimal units based on powers of 1000 and binary units based on powers of 1024. This helps explain differences between values such as MB and MiB.

Features

Built for fast developer workflows

  • Convert between bytes and decimal storage units.
  • Convert between binary KiB, MiB, GiB, TiB and PiB units.
  • Compare decimal and binary values side by side.
  • Control the displayed decimal precision.
  • Copy individual values or every conversion.
  • Perform all calculations locally in your browser.

Frequently asked questions

Questions about Byte Converter

What is the difference between MB and MiB?

One megabyte is 1,000,000 bytes, while one mebibyte is 1,048,576 bytes. MB uses decimal powers and MiB uses binary powers.

Why does an operating system show a different file size?

Some systems display binary calculations while labeling them with decimal symbols such as MB or GB, which can make the reported size appear different.

How many bytes are in one gigabyte?

One decimal gigabyte contains 1,000,000,000 bytes. One binary gibibyte contains 1,073,741,824 bytes.

Are values sent to a server?

No. Every conversion is calculated locally inside your browser.

Related tools