What is an IP address?
An IP address is the return address on everything you send across the internet. Without one, websites would have no idea where to send the page you asked for.
The short version
Every device that talks on a network gets an Internet Protocol (IP) address. When your phone asks a website for a page, the request carries your IP address as the "from" line, and the website's IP address as the "to" line. Routers along the way read those addresses and pass the data hop by hop until it arrives, a little like mail carriers reading envelopes.
What one looks like
There are two kinds in use today:
- IPv4: four numbers from 0 to 255 separated by dots, like
203.0.113.42. There are only about 4.3 billion of these, which the world ran short of years ago. - IPv6: longer addresses written in hexadecimal with colons, like
2001:db8:85a3::8a2e:370:7334. There are enough of these to give every grain of sand its own few trillion.
Dig explains the difference in IPv4 vs. IPv6.
Who gives you one?
Your public IP address comes from whoever connects you to the internet: your home internet provider, your phone carrier, your office network, or a VPN service. Inside your home, your router hands out private addresses (often starting with 192.168.) to each laptop, phone, and smart speaker. To the outside world, all of those devices share the router's single public address. More on that in public vs. private IP addresses.
Is my IP address the same as my location?
No. An IP address points to a network, not a front door. Location databases can usually name the right country and often a nearby city, because providers hand out addresses region by region. They can't see your street. See how accurate IP location is.
Does it ever change?
Often, yes. Most home connections get a dynamic address that can change after a router restart or every so often on its own. Phones change addresses as they move between Wi-Fi and cellular. Servers and businesses usually pay for a static address that stays put. Details in why did my IP address change?
Why would I need to know mine?
- To allowlist yourself on a server, database, or admin panel.
- To tell tech support what you're connecting from.
- To check that a VPN is actually doing its job (your IP should change when it's on).
- To set up remote access, a game server, or a home camera.
The quickest way to see yours is right on the GopherIP home page. Dig keeps it ready.