Embed this tool on your site
<iframe src="https://devtoolbox.dedyn.io/tools/ip-lookup" width="100%" height="600" frameborder="0" title="IP Address Lookup"></iframe>

IP Address Lookup

Find your public IP address, validate IP addresses, and calculate subnet information. All processing runs in your browser.

Detecting...
/

Understanding IP Addresses

An IP (Internet Protocol) address is a unique numerical identifier assigned to every device connected to a network. It serves two primary functions: host identification and location addressing. There are two versions of IP addresses in use today.

IPv4 vs IPv6

FeatureIPv4IPv6
FormatFour decimal octets (e.g. 192.168.1.1)Eight hex groups (e.g. 2001:0db8::1)
Address Size32-bit (~4.3 billion addresses)128-bit (~3.4 × 1038 addresses)
Example10.0.0.1fe80::1
Header Size20-60 bytes40 bytes (fixed)
NAT RequiredOften yesNo (enough addresses)

Private IP Address Ranges (RFC 1918)

RangeCIDRNumber of AddressesClass
10.0.0.0 – 10.255.255.25510.0.0.0/816,777,216Class A
172.16.0.0 – 172.31.255.255172.16.0.0/121,048,576Class B
192.168.0.0 – 192.168.255.255192.168.0.0/1665,536Class C

CIDR Notation Quick Reference

CIDR (Classless Inter-Domain Routing) notation specifies an IP address and the number of leading bits in the subnet mask. For example, 192.168.1.0/24 means the first 24 bits define the network, leaving 8 bits (256 addresses) for hosts.

CIDRSubnet MaskAddressesUsable Hosts
/32255.255.255.25511
/30255.255.255.25242
/28255.255.255.2401614
/24255.255.255.0256254
/16255.255.0.065,53665,534
/8255.0.0.016,777,21616,777,214

Special IP Addresses

AddressPurpose
127.0.0.1Loopback (localhost)
::1IPv6 loopback
0.0.0.0Unspecified / all interfaces
255.255.255.255Broadcast (local network)
169.254.x.xLink-local (APIPA)
224.0.0.0 – 239.255.255.255Multicast

Frequently Asked Questions

What is an IP address?
An IP (Internet Protocol) address is a unique numerical label assigned to each device connected to a network. IPv4 addresses use four numbers (0-255) separated by dots (like 192.168.1.1), while IPv6 uses eight groups of hexadecimal numbers.
What is a subnet mask?
A subnet mask divides an IP address into network and host portions. For example, 255.255.255.0 (/24) means the first 24 bits identify the network, leaving 8 bits (256 addresses) for hosts. Subnet masks enable efficient network management and routing.
What's the difference between public and private IP addresses?
Public IP addresses are globally unique and routable on the internet. Private IPs (10.x.x.x, 172.16-31.x.x, 192.168.x.x) are used within local networks and aren't directly reachable from the internet. NAT translates between them.
Keyboard Shortcuts
Ctrl+Enter Run / Format
Ctrl+Shift+C Copy output
Ctrl+L Clear