Switch from base 16 to base 10

Hexadecimal and decimal system

Hexadecimal with 16 digits. The digits 1 to 9 are the same as in the decimal system, followed by the decimal numbers 10 to 15 replaced by the letters A, B, C, D, E and F in the English alphabet.

The decimal system (also known as the base 10 system) is the standard system for denoting integers and integers (decimals). This is an extension to the integers of the Hindu-Arabic number system.

Switch from base 16 to base 10 Picture 1

How to transfer base 16 to base 10

Hex (hexadecimal) is the base system 16 and the decimal system is the base number 10. Sometimes, we need to know the equivalent value in the decimal of a hexadecimal number.

Here are the steps to convert from base 16 to base 10:

  1. Take the equivalent decimal number of hexadecimal digits from the table.
  2. Multiply each digit by the power of 16 (the exponent is equivalent to the position of the digit, the rightmost digit is equivalent to position 0). For example, in 7DE, position E is 0, position D is 1 and position 7 is 2.
  3. Calculate the sum of all multiplications.

Here's an example:

7DE is a hexadecimal number

  1. 7DE = (7 * 16 2 ) + (13 * 16 1 ) + (14 * 16 0 )
  2. 7DE = (7 * 256) + (13 * 16) + (14 * 1)
  3. 7DE = 1792 + 208 + 14

7DE = 2014 (in decimal)

Switch from base 16 to base 10 Picture 2

Example of moving from base 16 to base 10:

  1. (1D9) 16 = (473) 10
  2. (80E1) 16 = (32993) 10
  3. (10CE) 16 = (4302) 10

Table switch from base 16 to base 10

Base system 16 System number 100 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 A 10 B 11 C 12 D 13 E 14 F 15

Explore more:

  1. Switch from base 2 to base 16
  2. Switch from base 16 to base 2
  3. Transfer from base 10 to base 16
3.8 ★ | 146 Vote

May be interested

  • Function strtol () in CFunction strtol () in C
    the function long int strtol (const char * str, char ** endptr, int base) in standard c library converts part of the original string in str to a value of long int corresponding to the base base, but must are 2, 8, ..., 36, or special value 0.
  • Ways to Power Off Nintendo SwitchWays to Power Off Nintendo Switch
    despite the growth of the smartphone game market, the nintendo switch is still a handheld gaming device with a distinct and appreciated identity.
  • How to add a passcode to Nintendo SwitchHow to add a passcode to Nintendo Switch
    just because you share a console with someone doesn't mean they can see everything in your account. here's how to set up a password (or pin) on your nintendo switch or switch lite.
  • How to capture screen and record video on Nintendo Switch game consoleHow to capture screen and record video on Nintendo Switch game console
    nintendo switch has a dedicated button for screen capture and now it can even record videos in some games. these screenshots and videos will be saved to the internal storage of the microsd switch or memory card so that players can view and share on facebook or twitter right from the switch.
  • Top 5 Best Ethernet Switch 2021Top 5 Best Ethernet Switch 2021
    in today's article, tipsmake will take you to look at 5 most popular ethernet switches today. we'll talk about the pros and cons of each, and explain what they can do to improve your local area network.
  • Why should you buy the base iPhone 16 instead of the Pro model?Why should you buy the base iPhone 16 instead of the Pro model?
    the iphone 16 lineup is here, and of course most of the attention has been on the pro models. but the base iphone 16 and 16 plus come with a number of improvements that mean you're not missing out if you don't buy the pro.
  •  Top 5 keyboards with red switches worth buying Top 5 keyboards with red switches worth buying
     top 5 keyboards with red switch keyboards to buy in 2023, genuine supply at hacom. genuine cheap red switch mechanical keyboard, brown switch, blue switch.
  • Review of PoE 8 Port TP-Link Switch TL-SG1008P: Indispensable for home securityReview of PoE 8 Port TP-Link Switch TL-SG1008P: Indispensable for home security
    the metal body of the poe tl-sg1008p switch is high quality and gives it a solid appearance. just plug in the power adapter and devices with an ethernet cable, and turn on the power and you're ready to use.
  • How to update games on Nintendo SwitchHow to update games on Nintendo Switch
    last time, the nintendo switch games had updates and bug fixes. sometimes, those updates add huge features, like new characters or levels. here's how to ensure your game on the switch has been updated regularly.
  • How to turn an old router into a switchHow to turn an old router into a switch
    how to configure the router as a switch? most likely you will ask this question if you are planning to expand your home network, but only have an ethernet router, not a switch.