Networking
IPv4 address octets and port numbers are usually shown in decimal for readability.
Base-10
Decimal is the number system people use every day. In computing, it serves as the readable layer that helps humans interpret binary and hexadecimal values more comfortably.
IPv4 address octets and port numbers are usually shown in decimal for readability.
Storage sizes, counters, and dashboards often present values in decimal even when the machine stores them in binary.
Most human-facing forms, scripts, and settings use decimal input by default.
Learning decimal place values makes binary and hexadecimal conversions easier to reason about.
Decimal uses the digits 0–9. Each position is worth ten times the one to its right. Count positions from zero at the right: the ones position is 100 = 1. Multiply each digit by its place value, then add.
Thousands
10 to the power of 3
Value:1000
4 × 1000 = 4000
Hundreds
10 to the power of 2
Value:100
7 × 100 = 700
Tens
10 to the power of 1
Value:10
2 × 10 = 20
Ones
10 to the power of 0
Value:1
9 × 1 = 9
4,729
4 × 1000 + 7 × 100 + 2 × 10 + 9 × 1
4000 + 700 + 20 + 9 = 4729
Why It Helps
Once you are comfortable decomposing decimal values into place values, converting between decimal, binary, octal, and hexadecimal becomes much more intuitive.
Write 8,456 as four digit × place-value terms before opening the worked answer. Then explain what the zero contributes in 8,406.
8 × 1000 + 4 × 100 + 5 × 10 + 6 × 1 = 8456
In 8,406 the tens contribution is zero. That placeholder keeps the 4 in the hundreds position; removing it would produce 846, a different value.
Keep the idea of a place-value sum as you continue to binary. The positions change to powers of two, but the method stays the same.
Try these without the converter or reference table. Check each answer to reveal its explanation.