Input limits
This browser calculator accepts non-negative safe integers so the displayed base conversion remains reliable in JavaScript.
Example
The decimal number 42 is 101010 in binary, 52 in octal and 2A in hexadecimal.
Where binary is used
Binary is base 2, using only 0 and 1. It is common in computing because digital systems represent data with two states.
Common mistakes
This page converts ordinary non-negative integers. It does not interpret signed integer formats, floating-point values, byte order or two's-complement negatives.
Last reviewed: 2026-05-17