IP Address Converter

Convert a dotted IPv4 address to decimal and hex.

Decimal 3,232,235,777
Hexadecimal 0xC0A80101

Formula: decimal = a*256^3 + b*256^2 + c*256 + d

Step-by-step with your numbers:
1. Values used:
2.
3. Decimal = 3,232,235,777
4. Hexadecimal = 0xC0A80101
Did we solve your problem today?

An IPv4 address is really a single 32-bit number written as four octets.

The math behind it

decimal = a x 256^3 + b x 256^2 + c x 256 + d, combining the four octets.

Worked example

192.168.1.1 is 3232235777 (0xC0A80101).

FAQ

Why convert?

The decimal form is handy for math, sorting and database storage.