IP Address Guide

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

Your phone, computer, router, and other connected devices can use several IP addresses at the same time. Some work only inside your local network, while another address may represent your connection to the wider internet.

What is a public IP address?

A public IP address is an internet-routable address associated with your connection to the public internet. When you connect directly to a website, the website generally receives the public IP address used by that connection.

For a typical home connection, the public IPv4 address may be assigned to your router or to infrastructure operated by your internet provider. Devices inside your home can then share that internet connection.

If you connect through a VPN or certain types of proxy, websites may see an address belonging to that service instead of the public address normally associated with your internet connection.

What is a private IP address?

Private IP addresses are used within local IPv4 networks. Your router can assign private addresses to computers, phones, televisions, game consoles, printers, and other devices connected to your home or office network.

These private IPv4 addresses are not routed across the public internet in the same way as public addresses. The same private address can therefore appear on many unrelated local networks.

Common private IPv4 address ranges

IPv4 reserves several address ranges for private networks:

  • 10.0.0.0 through 10.255.255.255
  • 172.16.0.0 through 172.31.255.255
  • 192.168.0.0 through 192.168.255.255

That is why addresses beginning with values such as 192.168 or 10 are common when you inspect a device's local network settings.

Why can one device have multiple IP addresses?

Different addresses can serve different purposes. A laptop on your Wi-Fi network might have a private IPv4 address used to communicate with your router while its internet traffic ultimately leaves through a public address.

The same device may also have one or more IPv6 addresses. Modern networks commonly support IPv4 and IPv6 at the same time, a configuration often called dual stack.

How does NAT fit into this?

Network Address Translation, or NAT, is commonly used on IPv4 networks to let multiple local devices share a public internet connection. Your router keeps track of connections so returning traffic can be directed to the correct device.

This is one reason the private IP shown in your computer's network settings can be completely different from the public IP shown by an internet IP checker.

Which IP address can websites see?

For a normal web connection, the destination needs an address to send data back to. The address visible at that point is the public-facing address used by your connection.

A website generally does not learn every private address on your local network simply because you visit the site. Browser technologies and network configurations can expose additional network information in some circumstances, which is why tools such as a WebRTC test can be useful when checking browser behavior.

Does a public IP reveal your exact location?

Not usually. IP geolocation databases can associate an address with an approximate geographic area and network provider, but those results can be inaccurate or represent the location of provider infrastructure rather than the physical location of a device.

An IP address by itself should not be treated as a precise home address or proof of a person's identity.

Public vs. private IP at a glance

FeaturePublic IPPrivate IP
Main purposeInternet communicationLocal network communication
Publicly routableGenerally yesNo
Can be reused elsewhereMust be unique while publicly routedYes, on separate private networks
Typical sourceISP, mobile provider, VPN, or network operatorRouter or local network administrator

Want to see your public IP?

Use iSeeMyIP to see the public address your current connection presents to our service. You can also learn how to find the local address assigned to your device.