What Is an IP Address?

A simple definition, the main types, and your own IP explained.

An IP address (Internet Protocol address) is the number that identifies a device on a network so data can reach it, like a postal address for your connection. It looks like 192.0.2.1 (IPv4) or 2001:db8::1 (IPv6). IP stands for Internet Protocol.

Your IP Address, Explained

This is the public IP websites see for your connection right now; it belongs to your internet provider, not your device alone.

Reading your IP address… See it on the homepage.

How Does an IP Address Work?

Every packet carries a source and a destination IP; routers read the destination and pass the packet along until it arrives.

Data travels in small packets. Each router on the way looks only at the destination address and sends the packet one hop closer; no router knows the whole path. The reply comes back the same way, addressed to the source IP. The request that loaded this page did exactly that:

Source: you your public IP your provider's network
Destination: this site 104.26.10.112 · 104.26.11.112 whatismyipnow.com through Cloudflare: these are Cloudflare's addresses, which pass the request on to our server
Diagram: a packet with source IP 198.51.100.23 and destination IP 203.0.113.10 forwarded router by router, hop by hop, to the server
Every packet carries a source and a destination IP; each router forwards it one hop closer. (Documentation addresses.)

You type names, not numbers: DNS turns example.com into its IP first (find any website's IP). At home, your router shares one public IP between all your devices with NAT, and each device keeps its own private IP.

Types of IP Addresses

IP addresses come in two versions (IPv4, IPv6), two scopes (public, private) and two lifetimes (static, dynamic).

TypeExampleWhere it's usedGuide
IPv4192.0.2.1Everywhere; 32 bits, about 4.3 billion addresses (the free pool ran out in 2011)What is IPv4?
IPv62001:db8::1A large and growing share of traffic; 128 bits, so it practically never runs outWhat is IPv6?
Public8.8.8.8Your connection on the internet, given by your providerPublic vs private
Private192.168.1.20Devices inside a home or office network (RFC 1918 ranges)Private IP ranges
Dynamicchanges over timeMost home and mobile connectionsStatic vs dynamic
Staticnever changesServers, businesses, remote accessStatic vs dynamic

Every IP is one of each pair. Behind a VPN or proxy, websites see the VPN's IP instead of your provider's.

IP Address Examples

Common examples: 192.168.1.1 (a home router), 8.8.8.8 (Google DNS), 127.0.0.1 (your own device), 2001:4860:4860::8888 (Google DNS over IPv6).

AddressWhat it is
192.168.1.1 · 192.168.0.1 · 10.0.0.1Usual home router addresses (private). Find yours
8.8.8.8 · 1.1.1.1Google and Cloudflare public DNS servers (every public DNS address)
2001:4860:4860::8888Google Public DNS over IPv6
127.0.0.1 · ::1Loopback: always "this device"
169.254.x.xLink-local: the device got no address from the router and gave itself one (how to fix it)
100.64.x.x to 100.127.x.xCarrier-grade NAT: your provider shares one public IP between customers
192.0.2.x · 198.51.100.x · 203.0.113.x · 2001:db8::Documentation ranges (RFC 5737, RFC 3849): safe for examples, never used on the internet

What Does Your IP Address Reveal?

Your provider and approximate city; not your name, home address or browsing history, which only your provider can link to you, usually by legal request.

A website can seeIt cannot see
Your IPYour name
Your providerYour street address
Your countryYour phone number or email
An approximate cityWhat you do on other sites
Two columns: an IP address reveals your internet provider, its network number, your country and an approximate city; it does not reveal your name, street address, phone number or browsing on other sites.

IP location comes from databases that map address blocks to places. It is reliable for the country, much less for the city: mobile and some broadband addresses point to the provider's hub, which can be far away. Your browser, cookies and accounts usually say far more about you than your IP. To show websites another IP, use a VPN or a proxy (how to hide your IP). What a stranger can and can't do with it: the honest answer.

How to Find Your IP Address

Your public IP is at the top of this page; your device's local IP is in its network settings (ipconfig on Windows).

  • Public IP: on our homepage, with both IPv4 and IPv6 when you have them.
  • Windows: run ipconfig and read IPv4 Address.
  • macOS: System Settings → Wi-Fi → Details, or run ipconfig getifaddr en0.
  • Linux: run ip addr.
  • iPhone and Android: open the Wi-Fi settings and tap your network.
  • Your router: it's the default gateway (step by step).

Every device step by step, with commands: how to find my IP address.

Frequently Asked Questions

What does IP stand for?
Internet Protocol: the set of rules for addressing and routing data across networks. An IP address is the number a device gets under those rules. The two versions in use are IPv4 (RFC 791) and IPv6 (RFC 8200).
What is my IP address?
It's shown at the top of this page, and on our homepage: the public IP your internet provider gave your connection. Your device also has a private IP inside your home network, shown in its network settings.
Can someone find me with my IP address?
They can see your internet provider and your approximate city or region, not your name or street. Only your provider can link the IP to you, and it usually does so only after a legal request.
What is an example of an IP address?
192.168.1.1 is a typical home router address, 8.8.8.8 is Google's public DNS server, and 2001:4860:4860::8888 is the same server over IPv6.
Does my IP address change?
Usually, from time to time: most home connections have a dynamic IP that the provider can reassign, for example after the router restarts. Mobile data IPs change often. A static IP stays the same and is mostly used by businesses and servers.
What is the difference between unicast, multicast and anycast?
Unicast goes from one device to one other device, like loading this page: most internet traffic works this way. Multicast sends one stream to every device that joined a group (addresses 224.0.0.0 to 239.255.255.255 in IPv4, ff00::/8 in IPv6), for example IPTV inside a provider's network. Anycast gives the same address to servers in many places, and each user is routed to the nearest one (nearest by network path, not always by distance): that's how 8.8.8.8 and 1.1.1.1 answer quickly worldwide. IPv4 also has broadcast, to every device on the local network; IPv6 has none.
Is an IP address the same as a MAC address?
No. The IP address identifies your connection on a network and can change. The MAC address belongs to the network hardware and only works on the local network; phones often use a random MAC per Wi-Fi network for privacy.