KiloAtlas
EN
EnglishBahasa IndonesiaTiếng Việt

Number base converter

Convert an integer into four number bases.

Decimal

—
Binary
—
Octal
—
Hexadecimal
—

Your result is calculated in your browser.

Formula

Value = sum of each digit × base^position; the sign is preserved.

How to use

  1. Enter up to 256 digits without a prefix.
  2. Choose the input base.
  3. Copy the four exact integer forms.

Examples

  • 255 decimal = FF hexadecimal = 377 octal.

Frequently asked questions

How do I convert decimal to binary?

Choose Decimal and enter an integer; 255 becomes 11111111.

Are large integers rounded?

No. Integer arithmetic preserves all entered digits. Fractions and exponents are not accepted.

How are negative numbers shown?

With a minus sign, not fixed-width two’s complement. Do not enter 0x, 0b or 0o prefixes.

Sources

Updated:

Related tools

Search conversion tools