answersLogoWhite

0


Best Answer

"Binary decimal" is a contradiction in terms. Decimal has a base of 10, binary a base of 2 and hexadecimal a base of 16.

The way I would do it is:

If you have a value in binary then convert this to a decimal value. Then convert it to hexadecimal remembering that the number will now be comprised by the following (where x represents the digit):

The first digit (from right to left) will equal x * 160, the next will equal x * 161 and so forth...

An example:

So in binary 11111 = (1 * 20) + (1 * 21) + (1 * 22) + (1 * 23) + (1 * 24) = 1 + 2 + 4 + 8 + 16 = 31 (in decimal).

To write this in hexadecimal, 31 would be (15 * 160) + (1 * 161) = 1F

Note: A tip - If you are using a Windows operating system, then if you go to the Start menu and choose search/run and type in "calc" or "calculator" then you will get a virtual calculator to use. If you choose "programmer" from the View menu and then choose the "Bin" button and type in a binary value and then choose the "Hex" button then the binary value will be converted to hexadecimal. (The above certainly applies for Windows 7).

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you convert binary decimal values into hexadecimal value?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Math & Arithmetic

Convert the following decimal values to binary values 118?

0111 0110


Why do people use the decimal system instead of the binary octal or hexadecimal systems?

I think people use the decimal system because we have 10 fingers and it's more intuitive that way. Computers use octal or hex because the base is a power of 2 (8=2^3, 16=2^4), and the computers work in binary, 0 or 1, 2 values.


What are the binary and decimal values for ASCII ltter K?

ASCII for K is 0x4b = 75 = 0100 1011


Why binary numbers need more places for counting?

Since a binary digit has only two possible values, each digit bears less information than in decimal, where each digit can have ten different values.


What is binary encoded hexadecimal?

There is no such thing as a binary encoded hexadecimal value. The encoding is simply the representation of a number. E.g., the symbol 42 is not a number, it is merely the representation of a number. Forty-two is an actual number. This is because 42 is only the number forty-two when the digits are base-10 (decimal). In octal notation, 42 is thirty-four and in hexadecimal notation 42 is sixty-six. Humans use decimal encoding to represent numbers simply because that's the way we were taught from an early age. We consider them easy to work with simply because we consider it easier to work in powers of 10. However, it's really no easier than working in powers of 5 or 12. Before decimalisation became the norm we actually used sexagesimal, base-60, because of its high divisibility (it's the lowest number that has all the factors 2, 3, 4, 5 and 6). Hence there are 60 seconds to the minute, 60 minutes to the hour, 24 hours in the day (2x2x2x3) and 360 degrees in a rotation. Binary and hexadecimal are simply different ways of encoding the same number. Computers only understand binary, but binary notation is tedious for humans because there are only two symbols to work with. Higher bases allow us to work with numbers more quickly because there are more symbols to play with and therefore more values we can represent with just a single digit. However, any base that is itself a power of two gives us a very simple conversion to and from binary. That is; base-4, base-8 and base-16 are more closely related to binary than is decimal. For instance, two binary digits have four possible combinations, each of which can be represented by just one base-4 digit. Three binary digits have eight possible combinations each of which can be represented by just one base-8 digit (octal notation). It therefore follows that a single base-16 digit can represent any combination of 4-bits. Since a byte is typically 8-bits in length, a hexadecimal digit is known as nybble because it is half-a-byte. Knowing this we can easily convert any number from hexadecimal to binary and back again. And if we can do it easily then a computer can do it just as easily. Converting to and from decimal is not so straightforward, but the computer can be programmed to do that for us as well, since decimal is the notation we're more used to. But when we want to instruct the computer in its own language, hexadecimal is easier to work with than decimal.

Related questions

Convert the following decimal values to binary values 118?

0111 0110


How do you convert binary to hexadecimal using assembly language?

Well, honey, in assembly language, you convert binary to hexadecimal by grouping the binary digits into sets of four, then converting each group into its hexadecimal equivalent. You can use bitwise operations like shifting and masking to make the conversion process smoother. Just remember, in the end, hexadecimal is just a fancy way of saying "base 16."


How do you convert hexadecimal numbers into binary numbers?

Binary to hexadecimal is very easy because hexadecimal numbers are designed specifically so that each hex digit is exactly 4 bits (i.e. 16 different values). So if you had this binary number: binary: 100011011011110101000100001 You could put in commas every four places (starting on the left): binary: 100,0110,1101,1110,1010,0010,0001 Then you could write the hex values immediately below: binary: 0100,0110,1101,1110,1010,0010,0001 hex: 4 6 D E A 2 1 and the hex value would be 46DEA21.


What are the advantage of hexadecimal numbering system?

Each hexadecimal digit represents four binary digits (bits) (also called a "nibble"), and the primary use of hexadecimal notation is as a human-friendly representation of values in computing and digital electronics. For example, binary coded byte values can range from 0 to 255 (decimal) but may be more conveniently represented as two hexadecimal digits in the range 00 through FF. Hexadecimal is also commonly used to represent computer memory adresses.


What is the purpose of the hexadecimal numbering system?

Hexadecimal number system is a number sytem with a Base of 16. The 'regular' system which we use every day is base-ten (decimal), with the digits 0-9.Having a base 16 system makes it easier to represent values of computer memory, as computers deal in binary (base 2), where every value is either one or zero (on or off).With hexadecimal, the digit values range from zero to fifteen, so symbols are needed to represent ten, eleven, ... fifteen as single digits. The letters A through F were chosen, so:A represents tenB = elevenC = twelveD = thirteenE = fourteenF = fifteen


Why is it easier to convert numbers from binary to hexadecimal than decimal to hexadecimal?

A binary number system has two states '0' '1' for a long word in bits it can be as follows 101010101010101010101011 intimidating RIGHT? it can be represented in groups of 3 bits in octal 10/010/101/010/101/010/101/011= 22525253 digital or in group of 4 bits as 10/1010/1010/1010/1010/1010 = 2AAAAA 111 =7 octal 1111=f F in hexadecimal numbers 1000 =8 1010 =10 or A


What are the binary and decimal values of the ASCII letter g?

Binary- 01100111 Decimal Value- 103


What is the binary number of the decimal value 181?

The binary values is 10110101.


What is the binary values of the decimal number 15?

It is 1111.


What is the Decimal Binary and Hexadecimal system?

It is a numerical system where each significant numeral represents a change of 2^16th power. Decimal, or, "base 10", is the normal system of decimals. For example, 124 is "10 ^ 2 + 2 * 10 ^ 1 + 4 * 10 ^ 0" (or "one hundred twenty four"). In hexadecimal, each position is 16 base units instead of 10. This makes reading binary code easier, as binary and hex easily convert to each other directly.


What does U0001f52aU0001f60f mean?

It's 32-bit unsigned hexadecimal notation for two decimal values, 128298 and 128527. However, the spacing is wrong and there should be an operator between the two values. E.g., U0001f52a OR U0001f60f = U0001f72f In binary, this would equate to: 00000000000000011111010100101010 OR 00000000000000011111011000001111 = 00000000000000011111011100101111


Would you give me a 8085 microprocessor program to convert hexadecimal number to binary number?

Certainly! To convert a hexadecimal number to a binary number using an 8085 microprocessor, you would typically use a series of instructions involving logical operations such as AND, OR, and shifts. One common approach is to isolate each hexadecimal digit, convert it to its binary equivalent, and then combine the binary values to form the final binary number. The specific program code would depend on factors such as the starting memory address, the input method, and the desired output format.