Other

IP Address Converter

Convert a dotted IPv4 address to decimal and hex.

Parameters Live Compute
Calculated Output
Decimal 3,232,235,777
Hexadecimal 0xC0A80101
Formula: decimal = a*256^3 + b*256^2 + c*256 + d
Step-by-Step Breakdown
1. Values used:
2.
3. Decimal = 3,232,235,777
4. Hexadecimal = 0xC0A80101
Did this calculator solve your problem today?
Report issue to loopingon.com
Sponsored

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).

Frequently Asked Questions

Why convert?

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

Advertisement