HelloVPN

What Is an IP Address? Public vs Private, IPv4 vs IPv6

Updated 5 min read

An IP address (Internet Protocol address) is a number that identifies a device or network on the internet, so data knows where to go and where to come back to. Every website you open sees the IP address your connection uses. It reveals your internet provider and your approximate location, usually the city or region, but not your name or street address.

What does an IP address look like?

There are two versions in use today:

  • IPv4 looks like four numbers separated by dots, for example 203.0.113.45. Each number is between 0 and 255.
  • IPv6 is longer and uses letters and numbers separated by colons, for example 2001:db8:85a3::8a2e:370:7334.

You can see your own address on our What is my IP tool. It shows your public IP and the location and provider linked to it.

What is the difference between IPv4 and IPv6?

IPv4 has about 4.3 billion possible addresses, which is not enough for every phone, laptop and smart device in the world. IPv6 was created to fix this and has a practically unlimited number of addresses.

IPv4 IPv6
Example 203.0.113.45 2001:db8::1
Length 32 bits 128 bits
Possible addresses About 4.3 billion About 340 undecillion (3.4 × 10³⁸)
Format Four numbers with dots Eight groups of hex digits with colons
Status Still the most common Growing; many networks use both

Many connections today have both an IPv4 and an IPv6 address. Websites may see either one, depending on what they support.

What is a public IP vs a private IP?

Your devices usually have two kinds of addresses at the same time.

  • Public IP: the address your whole home or mobile connection uses on the internet. Your internet provider assigns it. This is what websites see.
  • Private IP: the address your router gives each device inside your home network, such as 192.168.1.20 or 10.0.0.5. These addresses only work inside your network and are not visible to websites.

Your router sits between the two. It takes requests from all your devices, sends them out using the single public IP, and passes the answers back to the right device. On mobile data, your carrier often does the same thing for many customers at once, so you may share a public IP with other people.

What does my IP address reveal about me?

A public IP address can reveal:

  • Your internet provider or mobile carrier.
  • Your approximate location. Usually the country and city or region. Location databases are often wrong by tens of kilometres, and they don't show your street address.
  • That several visits came from the same connection, which helps websites and advertisers link your activity together.

An IP address does not reveal your name, phone number or exact home address to a website. Your internet provider, however, knows which customer had which IP at a given time, and in many countries it can be required to share that with authorities under a legal process.

You can look up what any address reveals with our IP lookup tool.

Does my IP address change?

Often, yes. Most home and mobile connections get a dynamic IP, which the provider can change when your router restarts, when you move between cell towers, or after a set period. Businesses and servers often use a static IP that stays the same.

Your private IP can also change when you reconnect to Wi-Fi, but that only matters inside your own network.

How can I hide or change my IP address?

There are a few common ways, and they differ a lot in what they protect.

  1. Use a VPN. Websites see the VPN server's IP instead of yours, and your traffic is encrypted between your device and the server. This is the simplest option on a phone. See how a VPN works.
  2. Switch networks. Moving from Wi-Fi to mobile data, or to a different Wi-Fi, gives you a different public IP. It doesn't hide your activity from the new network.
  3. Restart your router. On many home connections this gets you a new dynamic IP. It changes the number, but websites still see an address from your provider and area.
  4. Use a proxy or Tor. A proxy changes your IP for one app or browser, often without encryption. Tor routes traffic through several volunteer servers and is much slower. Our guide on VPN vs proxy vs Tor compares them.

With a VPN app such as HelloVPN, you can let the app choose a server or pick a location from the server list. Your IP then shows that server's address until you disconnect.

Can a VPN hide my IP completely?

A VPN hides your IP from the websites and apps you use, but not from everyone. Your internet provider still sees that you are connected to a VPN server. The VPN provider sees your real IP, because it has to send data back to you. And some browser features, such as WebRTC, can reveal your real IP if they aren't handled correctly. Read about DNS and WebRTC leaks to learn how to check for this.

Quick answers

Is it safe to share my IP address? Sharing it is usually low risk, but a public IP can be targeted by unwanted traffic, especially in online games.

Can someone find my house from my IP? Not from the IP alone. It points to an area and a provider, not a street address.

Is 192.168.x.x my real IP? That is your private IP inside your network. Your public IP is different.

Try HelloVPN Premium free for 3 days

Download the app and start your trial. Cancel any time before it ends and you won't be charged.

Download on the App StoreGet it on Google Play