Join FunTrivia for Free: Hourly trivia games, quizzes, community, and more!
Fun Trivia
Ask FunTrivia: Questions and Answers
Answers to 100,000 Fascinating Questions
Welcome to FunTrivia's Question & Answer forum!

Search All Questions


Please cite any factual claims with citation links or references from authoritative sources. Editors continuously recheck submissions and claims.

Archived Questions

Goto Qn #


How does the hexadecimal system work?

Question #121338. Asked by metsfan1001.
Last updated Jan 11 2017.

Watchkeeper
Answer has 7 votes
Currently Best Answer
Watchkeeper
18 year member
412 replies

Answer has 7 votes.

Currently voted the best answer.
We are all familiar with numbers in the decimal system, where each place has a value 10 times the place immediately to the right. Thus the number 12,345 in decimal is 5 units plus 4 tens plus 3 hundreds plus 2 thousands plus 1 ten-thousands, or twelve thousand three hundred and forty-five.

Any number is made up of combinations of the ten digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.

Now it doesn't have to be this way - we don't have to count in tens. In the hexadecimal (hex = 6, deci = 10) system we count in sixteens rather than in tens. Instead of place values being 1, 10, 100, 1,000, 10,000 etc (reading from the right, equivalent to 1, 10, 10 x 10, 10 x 10 x 10, 10 x 10 x 10 x 10 etc) we can have place values of 1, 16, 256, 4096, 65,536 etc (equivalent to 1, 16, 16 x 16, 16 x 16 x 16, 16 x 16 x 16 x 16 etc).

Thus, on the hexadecimal system, the number 12,345 would have the value 5 units plus 4 sixteens plus 3 two-hundred-and-fifty-sixes plus 2 four-thousand-and-ninety-sixes plus 1 sixty-five-thousands-five-hundred-and-thirty-sixes, or 74,565 in decimal numbers.

There remains one problem. We've seen that the decimal system requires the ten digits 0 to 9. In the hexadecimal system we need 16 digits, so we add on the first six letters of the alphabet i.e. 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E and F. A represents 10, B represents 11 down to F representing 15.

For instance, the hexadecimal number CAD has the value 13 units (D = 13) plus 10 sixteens (A = 10 in the 16's column) plus 12 two-hundred-and-fifty-sixes (C = 12 in the 256's column) which is 13 + 160 + 3072 or 3245.

Hexadecimal is used because it makes binary numbers (the basis of computing, where you go up in 2's rather than 10's or 16's) more intelligible. For example, 10101011 in binary is AB in hexadecimal and 171 in decimal.

link https://simple.wikipedia.org/wiki/Hexadecimal_numeral_system

Response last updated by satguru on Jan 11 2017.
May 07 2011, 8:24 AM
avatar
nautilator star
Answer has 0 votes
nautilator star
Moderator
13 year member
467 replies avatar

Answer has 0 votes.
Simple answer: our decimal system is base 10. Hexadecimal is base 16, and is commonly used in relation to computers as 16 is a power of 2.

Because we normally use a base of 10, our digits run from 0-9. In hexadecimal, they run from 0-15. Each digit must be a single character (that's the whole point of it being a single digit), so we use the letters A, B, C, D, E, and F to represent the numbers 10, 11, 12, 13, 14, and 15 in hexadecimal.

Jan 11 2017, 10:41 PM
free email trivia FREE! Get a new mixed Fun Trivia quiz each day in your email. It's a fun way to start your day!


arrow Your Email Address:

Sign in or Create Free User ID to participate in the discussion