Skip to main content

Etemora

Public IP vs Private IP: What's the Difference?

Same technology. Different purposes. Understand how public and private IPs work and why the difference matters.

Every device connected to a network uses an IP address, but not every IP address works the same way.

The two main types you’ll encounter are public IP addresses and private IP addresses.

Your public IP identifies your network to the wider internet. Your private IP identifies a device inside your local network, such as your home Wi-Fi.

In simple terms: public IP is your network’s address on the internet, and private IP is your device’s address inside your local network.

Understanding the public IP vs private IP difference becomes especially useful when you’re troubleshooting Wi-Fi, configuring devices, checking your IP, using a VPN, or trying to understand what websites can actually see.

Want to see your current public IP first?

Check My IP Address →

Public IP vs Private IP: Quick Comparison

FeaturePublic IPPrivate IP
Used on the internetYesNo, not directly
IdentifiesYour network/connectionA device on your local network
Assigned byISP/network providerRouter or local network
Globally uniqueYesNo
Visible to websitesGenerally yesGenerally no
Used by home Wi-Fi devicesThrough router/NATYes
Can be shared by multiple devicesYesEach device normally has its own
Example203.0.113.42192.168.1.25
Can a VPN change it?VPN can change what websites seeUsually no

The public IP vs private IP distinction is easiest to understand if you think about your home network as a building. Your public IP is like the building’s street address. Your private IP is like the apartment or room number inside that building.

What Is a Public IP Address?

A public IP address is an address associated with your internet connection that can be used to communicate with destinations on the public internet. Your internet service provider typically assigns it to your connection. Private address ranges reserved for local networks are defined in RFC 1918.

For example: Public IP: 203.0.113.42

When you visit a website, the website doesn’t normally see the private IP address assigned to your laptop by your home router. Instead, your connection reaches the internet through your router and network address translation, so the destination generally sees your public IP.

That’s why an IP checker can show you a public IP even though your computer has a completely different local address.

Want to see yours?

What Is a Private IP Address?

A private IP address is used inside a local network. Your home router can assign different private IP addresses to your devices. For example:

  • Laptop → 192.168.1.10
  • Phone → 192.168.1.11
  • Smart TV → 192.168.1.12
  • Printer → 192.168.1.13

These addresses allow devices on the same local network to communicate with each other. Your private IP isn’t designed to be directly reachable from the public internet.

Common private IPv4 ranges include:

  • 10.0.0.0 – 10.255.255.255
  • 172.16.0.0 – 172.31.255.255
  • 192.168.0.0 – 192.168.255.255

So if your router gives your laptop an address such as 192.168.1.20, that’s a private IP.

How Public and Private IP Addresses Work Together

Here’s a typical home network in action, showing public IP vs private IP roles side by side:

Laptop (Private IP)
→
Wi-Fi Router
→
Public IP
→
Website

Your laptop communicates with the router using its private IP. The router then handles communication between your local network and the internet. This is one reason multiple devices in your home can browse the internet using a single public IP address.

Why Do Multiple Devices Share One Public IP?

This happens largely because of Network Address Translation (NAT). Imagine you have a laptop at 192.168.1.10, a phone at 192.168.1.11, and a TV at 192.168.1.12, all connecting through the same router.

Your ISP may provide one public IPv4 address, such as 203.0.113.42. The router translates the private addresses and manages the connections so that multiple devices can communicate through that public address.

So a website may see 203.0.113.42 rather than 192.168.1.10. That’s why your private IP normally isn’t what websites use to identify your internet connection.

Can Someone See Your Private IP?

Generally, websites on the public internet cannot simply see the private IP assigned to your device by your home router. For example, a website may see your public IP (203.0.113.42) rather than your private IP (192.168.1.20).

However, private IP addresses can still appear in certain local-network situations, application logs, device configurations, or communication mechanisms. So “private” doesn’t mean “secret under every circumstance.” It means the address belongs to a private network range and isn’t directly routable across the public internet in the same way as a public IP.

Can Websites See Your Public IP?

Yes, generally. When you connect directly to a website, the site’s servers need an address to send the response back to your connection. That generally means the destination can see the public source IP associated with your connection.

This is why IP-based services can sometimes provide approximate information such as country, region, city, ISP, or network information. But an IP address isn’t the same thing as your exact physical address.

Worth knowing:

  • IP geolocation is generally approximate
  • Accuracy can be affected by VPNs, mobile networks, corporate networks, and proxies
  • An IP address alone doesn’t reveal your exact street address

Public IP vs Private IP: Which One Does a VPN Change?

This is an important distinction. When you connect to a VPN, your computer’s private IP inside your home network usually doesn’t suddenly change. For example, your laptop could remain at 192.168.1.20.

But websites may now see the VPN server’s public IP instead of your normal public IP — for example, 198.51.100.24 instead of 203.0.113.42.

So a VPN primarily changes which public IP the destination sees. That’s why VPNs are commonly used to hide your normal public IP from websites.

Want the full picture on VPNs and IP addresses?

Does a VPN Change Your IP Address? →

Public IP vs Private IP When Using Wi-Fi

Your home Wi-Fi network is a good example of public IP vs private IP working together. Your router may have a public IP assigned by your ISP. Inside the network, it can assign private IPs to connected devices:

DevicePrivate IP
Router192.168.1.1
Laptop192.168.1.10
Phone192.168.1.11
TV192.168.1.12
Printer192.168.1.13

All of those devices can potentially access the internet through the same public IP.

How to Find Your Public IP

The easiest method is to use an IP checker. You don’t normally need to open your router settings or run a command.

Find your public IP instantly:

What Is My IP? →

You’ll typically see information such as your public IP address, approximate location, ISP/network, and IPv4 or IPv6 details. This is the address that matters most when you’re checking what the wider internet can see.

How to Find Your Private IP

Finding your private IP, the other half of the public IP vs private IP pair, depends on your operating system.

Windows

Open Command Prompt and run:

ipconfig

Look for IPv4 Address under your active network connection. You might see something like IPv4 Address: 192.168.1.20 — that’s your private IP.

macOS

Open System Settings → Network. Select your active connection and view its IP address.

Android

The exact menu varies by manufacturer, but you can generally find the address under your connected Wi-Fi network’s details.

iPhone

Go to Settings → Wi-Fi → tap your connected network. You’ll see network information including the local IP address.

What Happens If Your Public IP Changes?

Your public IP can change for several reasons, including:

  • Your ISP uses dynamic IP addressing
  • You restart your router
  • Your internet connection is re-established
  • You switch networks or use mobile data
  • You connect through a VPN

Not every method guarantees a new public IP. For example, restarting a router may or may not result in a different address depending on how your ISP assigns IP addresses.

Want to change your IP on purpose?

How to Change Your IP Address →

Static vs Dynamic Public IP

Public IP addresses can also be static or dynamic.

Dynamic IP

A dynamic IP can change over time. This is common for residential internet connections. You might have 203.0.113.42 on Monday and 203.0.113.87 by Friday — the exact behavior depends on your ISP.

Static IP

A static IP is intended to remain the same. Businesses sometimes use static public IP addresses when they need consistent addressing for remote access, servers, business applications, VPN infrastructure, or network administration.

IPv4 vs IPv6: Where Do They Fit?

There’s another layer to the IP-address story: IPv4 and IPv6. IPv4 addresses look like 192.168.1.20 or 203.0.113.42. IPv6 addresses are much longer and use hexadecimal notation, for example 2001:db8:1234:5678::1.

Both IPv4 and IPv6 can be used for public networking. Private/local IPv6 addressing works differently from IPv4 private ranges, so don’t assume that every local IPv6 address will look like 192.168.x.x.

For the full breakdown of address format, size, and how the two protocols compare, see IPv4 vs IPv6: What’s the Difference?

Does Your Private IP Matter for Privacy?

Your private IP isn’t normally what a public website uses to identify your internet connection. But it still matters inside your network. Someone with access to your local network may potentially interact with devices or services based on their local addresses, depending on network configuration and security.

That’s why your router’s security settings, device firewalls, and Wi-Fi security still matter. A VPN doesn’t replace basic network security.

Does Hiding Your Public IP Make You Anonymous?

No. Changing or hiding your public IP doesn’t automatically make you anonymous, since public IP vs private IP is a separate question from anonymity.

Websites can still use other signals, including:

  • Account logins
  • Cookies
  • Browser characteristics
  • Device information
  • Tracking technologies and stored preferences

A VPN can change the public IP visible to a website, but it doesn’t erase every other way a website may recognize a user. This distinction is important if you’re considering a VPN for privacy.

Considering a VPN for privacy?

See the Best VPN Services →

Public IP vs Private IP: What Should You Actually Care About?

For most everyday internet users, the public IP vs private IP distinction is simple:

  • Checking what websites can see? Look at your public IP.
  • Troubleshooting your home network? Look at your private IP.
  • Configuring devices on your Wi-Fi? You’ll usually be working with private IP addresses.
  • Trying to hide your IP from websites? You’re concerned primarily with your public IP.
  • Using a VPN? The important change is generally the public IP visible to the destination.

Frequently Asked Questions

What is the difference between public IP and private IP?

A public IP is used for internet-facing communication, while a private IP is used to identify devices within a local network.

Is 192.168.1.1 a public or private IP?

192.168.1.1 is a private IPv4 address commonly used by routers on local networks.

Can two devices have the same private IP?

They shouldn’t have the same private IP on the same local network because that can cause an IP address conflict. The same private address can, however, be used independently on different networks.

Can two devices have the same public IP?

Yes. Multiple devices in the same home or office can share a public IP through the router’s NAT system.

Can a VPN change my private IP?

A VPN may create a virtual network interface with its own address, but your local private IP assigned by your router generally remains unchanged.

Can someone find my exact address from my public IP?

A public IP can provide approximate geographic or network information, but it generally doesn’t reveal your exact street address by itself.

Does restarting my router change my public IP?

It can, but it isn’t guaranteed. It depends on how your ISP manages your connection and IP assignment.

Is a private IP safer than a public IP?

A private IP isn’t directly routable across the public internet like a public IP, but network security still depends on your router, firewall, and device configuration.

Public IP vs Private IP: Final Answer

When it comes to public IP vs private IP, the difference comes down to where the IP address is used. Your public IP represents your internet-facing connection and can generally be seen by websites and other internet services you connect to.

Your private IP identifies your device within your local network and normally isn’t directly exposed to public websites.

Think of it this way: public IP is your network’s address on the internet, and private IP is your device’s address inside your network.

Want to know what your public IP reveals right now? Check it instantly, then explore how to change or hide it if you need to.

Check Your IP Address →

Disclosure: Some links on this page may be affiliate links. If you purchase through an eligible link, Etemora may earn a commission at no additional cost to you. Our editorial recommendations are not determined solely by commission. Learn more →

Check It Now

Find Your Public IP

See exactly what websites see when you connect — instantly, no sign-up needed.

Check My IP →

Quick Answer

Which one do websites see? Your public IP.

Which one does your router use? Your private IP.

Does a VPN change your private IP? No, usually just the public one.

Full comparison →

Related Guides
Popular Topics
IP AddressNetworkingVPNPrivacyWi-Fi
Change or Hide?

Not the same thing

Changing your IP and hiding it from websites are related but different goals.

Compare the two →