Hex ↔ Dec ↔ Bin
Convert numbers between hexadecimal, decimal and binary instantly.
Resulttinycalc.net
- Hexadecimal
- 0xff
- Decimal
- 255
- Binary
- 0b11111111
- Octal
- 0o377
- Bit length
- 8bits
same number, bases 16, 10 and 2
How it works
Hexadecimal, decimal and binary are just different ways to write the same number: hex digit = 4 bits, so 0xFF = 255 = 0b11111111. Type in any of the three fields and the other two update live. Handy for permissions, color codes, registers and network masks.
Related calculators
IPv4 SubnetFull subnet breakdown from an IP and CIDR prefix: network, broadcast, host range, mask.CIDR ↔ NetmaskConvert between a /prefix and a dotted netmask, either direction.Is IP in CIDR RangeCheck whether an IPv4 address falls inside a CIDR block.MAC Address FormatterReformat any MAC address into colon, dash, Cisco-dot or plain style.Data-Rate ConverterConvert between bps, Kbps, Mbps, Gbps and bytes-per-second rates.File Transfer TimeHow long moving a file takes over any link speed.