Units

Convert bytes, durations and number bases, with the binary-versus-decimal distinction made explicit.

Runs in your browser — nothing you type here is sent anywhere.
Bytes
1.50 GB
decimal · 1000
1.40 GiB
binary · 1024
bytes1500000000
grouped1,500,000,000
bits12,000,000,000
KB / KiB1,500,000 / 1,464,843.75
MB / MiB1,500 / 1,430.51
GB / GiB1.5 / 1.4

KB/MB/GB are 1000-based, KiB/MiB/GiB are 1024-based. A bare K, M or G is read the shell’s way, as 1024.

Duration
1h 30m
normalised
milliseconds5400000
seconds5,400
minutes90
hours1.5
days0.0625
from now1970-01-01 01:30:00Z

Compounds like 1h30m5s stack up; mm:ss and hh:mm:ss work too. A bare number is taken as seconds.

Number base
from
255
base 10 → decimal
binary11111111
octal377
decimal255
hexff
0x form0xFF
bit width8
1111 1111
to base73

Converted with BigInt, so 128-bit values stay exact. 0x, 0o and 0b prefixes are accepted when they match the source base.

A gigabyte is either 1,000,000,000 bytes or 1,073,741,824 depending on who is counting, and the gap is why a drive sold as 1TB shows up smaller. Disk quotas and transfer estimates inherit the same ambiguity.

Convert byte sizes in both conventions with the difference shown rather than assumed, durations between milliseconds and days, and integers between binary, octal, decimal and hex.

What people open it for

In the terminal

bytes 1.5 GB

Every utility is also a command in the desktop's shell.

More data tools

Open the full desktop, with all 47 utilities