TechKnowSurge
CompTIA Tech+ 1.1 CompTIA Tech+ 1.2
VideoComputeFree

DEMO: Hexadecimal to Decimal

Hexadecimal-to-decimal conversion is covered using two methods: direct positional calculation and binary as an intermediate step. Both approaches produce the same result and reinforce foundational number system fluency.

Complete this video to capture a CTF flag worth 1 point.

About this video

Hexadecimal-to-decimal conversion is a foundational skill in networking and computing, and it can be approached in more than one way depending on familiarity and preference. The direct method involves multiplying each hexadecimal digit by its positional power of 16 and summing the products. For example, the hex value A4 is calculated as 10 times 16 plus 4, yielding 164. This approach is straightforward and efficient once the hex digit values are committed to memory. An alternative method routes the conversion through binary, which is useful for those already comfortable with hex-to-binary and binary-to-decimal relationships. Each hex digit is expanded into its four-bit binary equivalent, and the resulting binary number is then evaluated using standard positional weights. Both approaches arrive at the same answer and serve as complementary tools depending on the context. While hex-to-decimal conversion is not the most heavily applied skill in advanced networking topics, a solid grasp of the concept supports a stronger overall understanding of how number systems interact across IT and cybersecurity disciplines.

What you'll learn

What's covered

Hex to Decimal Conversion

Aligned to

CompTIA Tech+
1.1 Compare and contrast notational systems.
1.2 Compare and contrast fundamental data types and their characteristics.

Key terms

Hexadecimal
Hex
A base-16 number system using digits 0–9 and letters A–F; each hex digit maps to exactly 4 bits, making it a compact shorthand for representing binary data.
Decimal
The base-10 number system using digits 0–9; the standard system used in everyday counting and arithmetic, and the most common format for presenting numeric output to humans.
Binary
The base-2 number system that uses only the digits 0 and 1; the native language of digital computers, which store and process data as electrical on/off states.
Positional Notation
A numbering system where the value of a digit is determined by both the digit itself and its position within the number.

Transcript

Straight From Hexadecimal to Decimal

Let's jump into converting from hexadecimal to decimal, and I'm going to show you a couple of ways to do that as well.

One method that we could use is just going straight from hexadecimal to decimal, which is really easy, so probably my preferred method of doing it. Let's say I had an A4 right here. All I would do is take A, which is 10, times 16, since it's in the 16 column, plus 4. So that'd be 160 plus 4, or 164. Pretty fast, easy conversion if you use this method.

Going Through Binary

Since we've been getting used to going in and out of decimal to binary, we could use that method as well. If I were to have an A4 in here, I would know that I'd have a 0 1 0 0, and for the A I would have a 1 0 1 0. So now what I could do is 128, because I've got a 1 in that column, plus 32 plus 32 2. So I'll do it this way, so I can add these up. That would be 160 right there, plus four, so 164. So that's the other method that I could use to come up with the same answer.

Practice

There is a list of hexadecimal numbers. Go ahead and figure out what the decimal equivalent is for each one of those. There are the answers — go ahead and see how well you did.

Hopefully you did well with that. This is not something that's going to be ultra critical moving forward, but it is nice to have this base foundational knowledge, so feel free to advance forward as long as you've got the basic concepts of this down.

About TechKnowSurge

TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.

Explore free tools and programs →