NumberTruthUnit Converter · Calculator Grid

Number System Converter (Binary, Octal, Decimal, Hex)

Convert numbers between binary, octal, decimal and hexadecimal. Handles arbitrarily large integers using BigInt.

Number Systems

Binary · Octal · Decimal · Hex

Equivalents
Binary11111111
Octal377
Decimal255
HexadecimalFF
Your inputs are encoded in this URL — copy it to share a configured calculator.

About this tool

Convert integers between base-2, base-8, base-10 and base-16. Optional 0x / 0b / 0o prefixes are accepted. Negative values are supported.

Formula

For a digit string dₙ…d₁d₀ in base b, value = Σ dᵢ × bⁱ. Re-encoding to base b' is repeated division by b' with the remainders read in reverse.

Worked example

Decimal 255 → binary 11111111 → octal 377 → hex FF

Notes

This tool uses BigInt internally, so values much larger than 64 bits convert without precision loss — useful for cryptographic constants, color values, and bitfields.