5
TYML
9y

Can you explain hexadecimal to me?!? #storyofmylife 😁

Comments
  • 2
    Decimal = 10 possible values (0-9) for each digit. ("Dec" = 10)
    Hexadecimal = 16 possible values per digit (0123456789abcdef) so f is equal to 15 in decimal.

    A byte can be represented by two hex numerals, since each hex numeral represents 4 bits.

    Shall I go on, or is that sufficient?
  • 2
    To add on to what @garrettw is saying, hexadecimal is a base16 number system, because it consists of 16 possible digits (0123456789abcdef). Same with binary how that is a base2 number system because it consists of just 2 digits (0 and 1)
  • 2
    I think this is a simple way of imagining different numerical systems:

    Imagine that each place is a box.

    For example a decimal place goes:
    0 - 1 - 2 - 4 - 5 - 6 - 7 - 8 - 9

    Adding one more to that completes the box and it is now 10.

    Now let's talk hexadecimal.
    0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - a - b - c -d - e - f

    Adding one more to that completes the box and it is now 10.

    So a full "box" in decimal equals ten.
    A full "box" in hexadecimal equals sixteen.
  • 1
    Continuing on:

    This scales for every place.

    The next place in decimal needs ten full "boxes" and equals 10 x 10 or one hundred.

    The next place in hexadecimal needs 16 full "boxes" and equals in decimal 16 x 16 = 256. But if we WROTE it in hexadecimal 10 x 10 = 100.
  • 1
    Here is an example of counting up in Binary:

    https://upload.wikimedia.org/wikipe...

    The same thing applies to hexadecimal:

    http://datateca.unad.edu.co/conteni...

    This gif shows how to count up in decimal, binary, octal, and hexadecimal at the same time.
  • 1
    Sorry...I was making a joke. I understand it very well, but a lot of people ask me. But Thank you so much for answering! 😎
Add Comment