Skip to main content
SiteIndex
DeveloperSiap digunakan

Konversi bilangan biner, desimal, dan heksadesimal

Konversi bilangan bulat nonnegatif antara biner, desimal, dan heksadesimal. Anda juga dapat mengonversi daftar nilai sekaligus.

Panduan

Area kerja interaktif

Tidak perlu akun
Konverter basis bilangan

Binary (base 2)

0b11111111

Octal (base 8)

0o377

Decimal (base 10)

255

Hexadecimal (base 16)

0xFF

Base 10 → base 2: 0b11111111

112816413211618141211
Step-by-step conversion

Positional expansion in base 10: 2×10^2 + 5×10^1 + 5×10^0 = 255

Decimal to base 2, divide by the target base and read remainders from bottom to top:

  1. 255 ÷ 2 = 127 remainder 1
  2. 127 ÷ 2 = 63 remainder 1
  3. 63 ÷ 2 = 31 remainder 1
  4. 31 ÷ 2 = 15 remainder 1
  5. 15 ÷ 2 = 7 remainder 1
  6. 7 ÷ 2 = 3 remainder 1
  7. 3 ÷ 2 = 1 remainder 1
  8. 1 ÷ 2 = 0 remainder 1
Konversi sekaligus

Convert a list of numbers in the selected input base, one value per line.

Quick reference (0–255)

DecimalBinaryHexOctal
0000
81000810
101010A12
16100001020
25511111111FF377

Hex is useful for compact byte values and memory addresses. Octal is used in Unix permissions (for example, 755). Binary can be grouped into fours to convert to hexadecimal.

Common questions: Base 16 uses digits 0–9 and A–F. Octal 755 represents file permissions. Prefixes 0b, 0o and 0x select binary, octal and hexadecimal automatically.

Apa itu Konverter basis bilangan?

Konversi bilangan bulat nonnegatif antara biner, desimal, dan heksadesimal. Anda juga dapat mengonversi daftar nilai sekaligus.

Cara kerja

Konversi bilangan bulat nonnegatif antara biner, desimal, dan heksadesimal. Anda juga dapat mengonversi daftar nilai sekaligus.

Kegunaan umum

Konversi bilangan bulat nonnegatif antara biner, desimal, dan heksadesimal. Anda juga dapat mengonversi daftar nilai sekaligus.

Batasan

Hasil dapat bergantung pada browser, jaringan, input, dan layanan eksternal. Alat ini bersifat informatif dan bukan pengganti diagnosis khusus atau saran profesional.

Pertanyaan umum
Apa itu Konverter basis bilangan?
Konversi bilangan bulat nonnegatif antara biner, desimal, dan heksadesimal. Anda juga dapat mengonversi daftar nilai sekaligus.

Alat terkait