Convert between IP addresses and their numeric representations
Results will appear here...
Results will appear here...
IP addresses can be represented as numbers, which is how computers actually process them. This conversion is useful for various networking calculations and configurations.
An IPv4 address consists of 4 octets (8-bit numbers), which together form a 32-bit number. For example, the IP address 192.168.1.1
can be represented as the decimal number 3232235777
.
The conversion is done by treating each octet as part of a 32-bit integer:
192 × 256³ + 168 × 256² + 1 × 256¹ + 1 × 256⁰ = 3232235777
IPv6 addresses are 128-bit numbers, typically represented in hexadecimal format. Due to their size, they're usually displayed as a series of 8 groups of 4 hexadecimal digits.
For example, 2001:0db8:0000:0000:0000:ff00:0042:8329
can be shortened to 2001:db8::ff00:42:8329
.
The numeric representation of IPv6 addresses is typically shown in hexadecimal due to their length.
Discover your public IP address and detailed information about your connection.
Perform a reverse DNS (rDNS) lookup to get the hostname for an IP address.
Convert CIDR notation to IP address ranges and vice versa.
Expand or collapse IPv6 addresses to their full or shortened forms.