محول الثنائي
Binary (base-2), octal (base-8), decimal (base-10), and hexadecimal (base-16) are the four number systems every developer works with. Our converter instantly translates between all four, shows the bit-level breakdown for binary, and supports both unsigned and two's complement signed representation for negative numbers.
أنظمة الأرقام
عشري: Base 10 (0-9)
ثنائي: Base 2 (0-1)
سداسي عشري: Base 16 (0-F)
ثماني: Base 8 (0-7)
أمثلة سريعة
10 = 1010 = A = 12
255 = 11111111 = FF = 377
16 = 10000 = 10 = 20
فهم أنظمة الأرقام
عشري (أساس 10)
The number system we use daily. Each digit position represents a power of 10.
ثنائي (أساس 2)
Used in computers. Each digit is either 0 or 1. Fundamental to digital systems.
سداسي عشري (أساس 16)
Used in programming for colors (#FF5733), memory addresses, and more. More compact than binary.
حول Binary Converter
Binary (base-2), octal (base-8), decimal (base-10), and hexadecimal (base-16) are the four number systems every developer works with. Our converter instantly translates between all four, shows the bit-level breakdown for binary, and supports both unsigned and two's complement signed representation for negative numbers.
كيفية الاستخدام
- Enter a number in any base: binary (0/1), octal (0–7), decimal (0–9), or hex (0–9, A–F).
- See instant conversion to all other bases.
- For binary: view the 8-bit, 16-bit, and 32-bit representation with padding.
- Toggle two's complement for signed integer representation.
الصيغة والمنهجية
Decimal to binary: repeatedly divide by 2, record remainders in reverse. Binary to decimal: Σ(bit × 2^position). Hex to binary: each hex digit = 4 bits (0=0000, F=1111). Two's complement negative: flip all bits, add 1. Example: −5 in 8-bit = 11111011.
حالات الاستخدام الشائعة
- Understanding CPU register values in debuggers
- Working with bitwise operators (AND, OR, XOR, NOT, shifts)
- RGB color values: hex #FF5733 = R:255 G:87 B:51
- Network subnetting: IP addresses as binary
- Embedded systems: reading sensor register values
الأسئلة الشائعة
أدوات ذات صلة
كل الأدوات →دمج هذه الأداة في موقعك
مجاني للاستخدام الشخصي والتجاري. فقط انسخ الكود أدناه.