Skip to content

What Is My IP Address?

Your public IPv4 and IPv6 addresses as the internet sees them, with your provider, its network number and an approximate location.

Your public IP address

Looking up your address…
IPv6
Provider and network
Approximate location
Reverse DNS

The location is approximate: it comes from a geolocation database and usually points to your provider's equipment, sometimes in another city, never to your street.

Looked up on our own server in a local database. The result is not saved and your address is not sent to any third party.

What you can do with this address

From a terminal or a script: curl https://tracemapper.com/api/my-ip?format=text

Your IPv6 address only: curl https://ipv6.tracemapper.com/api/my-ip?format=text

What your IP address says

Every device that talks to the internet does it from an IP address. The one shown here is your public address: the one websites, game servers and mail servers see when you connect. At home it usually belongs to your router and is shared by every device on your Wi-Fi; on a mobile network it belongs to your operator's equipment. An IPv4 address is four numbers such as 203.0.113.42; an IPv6 address is longer, written in hexadecimal groups separated by colons. If your connection has both, both are shown: the IPv4 address first, then the IPv6 one.

The provider and the AS number say which network your traffic enters first: your internet service provider, a mobile operator, a company or a VPN service. The reverse DNS name, when there is one, is the label your provider gives the address, and it often contains a city code or the type of line. The location comes from a database that maps address blocks to places, so read it as the region of your provider's equipment rather than as your position.

Frequently asked questions

What is the difference between IPv4 and IPv6?
IPv4 addresses are 32 bits long, which allows about 4.3 billion of them, far fewer than the devices in use today. IPv6 uses 128-bit addresses, enough for every device to have its own. Many providers now give both, and your browser then prefers IPv6 when a site offers it. This page shows both: the IPv4 address first, then the IPv6 address, or “None” if your connection has no IPv6. Websites work the same over either.
Why does the location show another city?
An IP address is not tied to a place. Geolocation databases learn where address blocks are used, and many providers route all their customers in a region through a few central sites, so the city shown is often the nearest large town or a hub of your provider. Mobile networks and VPNs move it even further. No database can see your street, and neither can we.
Why does port forwarding not work when it is set up on my router?
Your provider may be using carrier-grade NAT (CGNAT): one public address shared by many customers, with your router behind it on a private one. Compare the address shown here with the WAN address in your router's settings: if they differ, or if the router shows an address between 100.64 and 100.127, incoming connections never reach you. Ask your provider for a public IPv4 address, or use IPv6 if your line has it.
Does a VPN change my IP address, and what does the trace to my IP show?
Yes: with a VPN active, websites see the address of the VPN server, and so does this page, which is a quick way to check that it works. The traceroute from our servers then ends at the VPN server, not at your home. Without a VPN, the trace shows the path from our data centre to your provider's network, the hand-over points between networks and where latency builds up; the last hop, your router, often does not reply.

Related guides

Related tools

Go further

Network glossary: CGNAT, ASN, Reverse DNS

Run a visual traceroute to this host