Online Number Systems Converter

Convert numerical values between binary (base-2), octal (base-8), decimal (base-10), and hexadecimal (base-16) radix systems with complete breakdown.

Decimal (DEC, base 10)
Decimal (DEC, base 10)

255

Binary (BIN, base 2)

1111 1111

Hexadecimal (HEX, base 16)

0xFF

Octal (OCT, base 8)

0o377

Bit width:8

Bitwise Logical Operations

Compute AND, OR, XOR, NOT operations on integers

OperationDECHEXBinary view (8/16 bits)
A AND B (A & B)80x800000000 00001000
A OR B (A | B)140xE00000000 00001110
A XOR B (A ^ B)60x600000000 00000110
NOT A (~A)-130xFFFFFFF311111111 11110011

How to use

  1. Select origin radix system (BIN, OCT, DEC, HEX).
  2. Input valid digit sequence for selected base.
  3. View immediate multi-base conversion table across all radices.

Number Base Conversion Examples

Decimal 10 (DEC) = 1010 (BIN) = 12 (OCT) = A (HEX).

Decimal 15 (DEC) = 1111 (BIN) = 17 (OCT) = F (HEX).

Decimal 255 (DEC) = 11111111 (BIN) = 377 (OCT) = FF (HEX).

Calculation Methodology

Positional numeral representations expand each digit multiplied by base powers. Decimal conversions use repeated division by radix with remainder recording.

Frequently Asked Questions

What bases are primarily used in computing?

Binary (base-2), octal (base-8), decimal (base-10), and hexadecimal (base-16).

What digits are used in Hexadecimal (HEX)?

Digits 0–9 and alphabetic letters A (10), B (11), C (12), D (13), E (14), F (15).

How to convert binary directly into hexadecimal?

Group bits into 4-bit nibbles starting from the least significant bit, mapping each nibble directly to its hex digit.

Are fractional radix conversions supported?

Yes, fractional numbers are transformed by successively multiplying fractional remainder by destination radix.

Related Tools