Radix Conversations


Number Types



  • Decimal
  • Hex
  • Octal
  • Binary

Possible Conversations


  • Decimal <-> Binary
  • Decimal <-> Octal
  • Decimal <-> Hex

  • Binary <-> Octal
  • Binary <-> Hex

  • Octal <-> Hex


Decimal -> Binary

-> Take decimal 49
-> 64 is big so
-> 32 X (1/0) + 16 X (1/0) + 8 X (1/0) + 4 X (1/0) + 2 X (1/0) + 1 X (1/0)
-> 32 X 1 + 16 X 1 + 8 X 0 + 4 X 0 + 2 X 0 + 1 X 1
-> 110001

Binary -> Decimal


-> Take binary 110001
-> 32 X 1 + 16 X 1 + 8 X 0 + 4 X 0 + 2 X 0 + 1 X 1
-> 49



Decimal -> Octal

-> Take decimal 49
-> 64 is big so
-> 32 X (1/0) + 16 X (1/0) + 8 X (1/0) + 4 X (1/0) + 2 X (1/0) + 1 X (1/0)
-> 32 X 1 + 16 X 1 + 8 X 0 + 4 X 0 + 2 X 0 + 1 X 1
-> 110001
-> divide into 3 digits
-> 110 and  001
-> 6 and 1
-> 61

Octal -> Decimal

-> Take octal 61
-> 6 and 1
-> convert into 3 digit binary
-> 110 and 001
-> 110001
-> 32 X 1 + 16 X 1 + 8 X 0 + 4 X 0 + 2 X 0 + 1 X 1
-> 49



Decimal -> Hex

-> Take decimal 49
-> 64 is big so
-> 32 X (1/0) + 16 X (1/0) + 8 X (1/0) + 4 X (1/0) + 2 X (1/0) + 1 X (1/0)
-> 32 X 1 + 16 X 1 + 8 X 0 + 4 X 0 + 2 X 0 + 1 X 1
-> 110001
-> divide into 4 digits
-> 0011 and  0001
-> 3 and 1
-> 31

Hex -> Decimal

-> Take hex 31
-> 3 and 1
-> convert into 4 digit binary
-> 0011 and 0001
-> 110001
-> 32 X 1 + 16 X 1 + 8 X 0 + 4 X 0 + 2 X 0 + 1 X 1
-> 49

Binary -> Hex

-> Take binary 110001
-> divide into 4 digits
-> 0011 and  0001
-> 3 and 1
-> 31

Hex -> Binary

 

-> Take hex 31
-> 3 and 1
-> convert into 4 digit binary
-> 0011 and 0001
-> 110001


Binary -> Octal

-> Take binary 110001
-> divide into 3 digits
-> 110 and  001
-> 6 and 1
-> 61

Octal -> Binary

-> Take octal 61
-> 6 and 1
-> convert into 3 digit binary
-> 110 and 001
-> 110001

Octal -> Hex

-> Take octal 61
-> 6 and 1
-> convert into 3 digit binary
-> 110 and 001
-> 110001
-> Take binary 110001
-> divide into 4 digits
-> 0011 and  0001
-> 3 and 1
-> 31

Hex -> Octal

-> Take hex 31
-> 3 and 1
-> convert into 4 digit binary
-> 0011 and 0001
-> 110001
-> divide into 3 digits
-> 110 and  001
-> 6 and 1
-> 61

মন্তব্যসমূহ

এই ব্লগটি থেকে জনপ্রিয় পোস্টগুলি

LINEAR ALGEBRA (Part-2) - Multiplying Matrices

What Is derivative? (Part - 1)

LINEAR ALGEBRA (Part-1) - Scalars, Vectors, Matrices and Tensors