Check my IP

Home / Learn

Public vs Private IP Address: Differences and Ranges

Published by Ishant Singh · Updated November 8, 2026 · 7 min read

A public IP address is the address the rest of the internet sees and replies to. Your internet provider gives it to your connection, and on IPv4 every device at home shares it. A private IP address is one your router hands to each phone, laptop and TV, taken from ranges that only work inside a local network. You can see your public address on our IP checker; your device settings show the private one.

In brief:

  • Private IPv4 addresses start with 10., 172.16. to 172.31., or 192.168. These are the three blocks set aside in RFC 1918.
  • Internet providers are expected to filter out private addresses, so millions of homes can reuse the same ones without clashing.
  • Your router translates between the two (NAT), which is why websites only ever see the public address.
  • A few other ranges, such as 100.64 to 100.127, 169.254 and 127, are not public either, even though RFC 1918 does not list them.

What is the difference between a public and a private IP address?

The difference is where the address works. A public address is reachable across the internet and is unique there at any given moment. A private address is meaningful only inside your own network, so the same one can exist in countless other homes.

QuestionPublic IP addressPrivate IP address
Who assigns itYour internet providerYour router (by DHCP), or you, by hand
Where it worksAcross the whole internetOnly on your local network
Unique?Yes, at any given momentOnly inside your network
Who sees itEvery website and service you connect toDevices on the same network
IPv4 example8.8.8.8 (Google Public DNS)192.168.1.23
Where to find itAn IP checker, or your router's WAN status pageYour device's network settings, ipconfig or ifconfig

Most homes have one public IPv4 address and several private ones. If you are not sure which of the two you are looking at, what is my IP address explains which one counts as yours.

Private IP address ranges

There are three private IPv4 ranges. They come from RFC 1918, published in 1996 as "Address Allocation for Private Internets". It reserves them for networks that do not need to be reached directly from the internet:

RangeCIDRAddressesOld class equivalent (RFC 1918)
10.0.0.0 to 10.255.255.25510.0.0.0/816,777,216One class A network
172.16.0.0 to 172.31.255.255172.16.0.0/121,048,57616 class B networks
192.168.0.0 to 192.168.255.255192.168.0.0/1665,536256 class C networks

The address counts follow from the prefix length: a /8 leaves 24 bits for devices, which is why RFC 1918 calls the first range the "24-bit block". Our CIDR and subnet mask guide shows how to work out the size of any range, and the subnet calculator does it for you.

RFC 1918 says packets with private source or destination addresses should not be forwarded between organisations, and that internet providers are expected to filter out routes to them. That is what makes reuse safe.

What does a private IP address look like?

It looks like any other IPv4 address: four numbers from 0 to 255 separated by dots. Only the first numbers give it away. 192.168.0.10, 192.168.1.23, 10.0.0.5 and 172.20.4.17 are all private. 172.32.0.1 and 172.15.0.1 are not, because the 172 range only runs from 172.16 to 172.31.

How to tell if an IP address is public or private

Read the first one or two numbers and compare them with the table below. Every range in it is marked "Globally Reachable: False" in the IANA IPv4 Special-Purpose Address Registry, which means packets sent to it are not meant to be forwarded beyond the network or provider that uses it. An IPv4 address outside all of these ranges is normally public. For example, 8.8.8.8 and 1.1.1.1 are public, while 10.0.0.5 and 192.168.1.23 are not.

If the address starts withIt isPublic?
10.Private (RFC 1918)No
172.16. to 172.31.Private (RFC 1918)No
192.168.Private (RFC 1918)No
100.64. to 100.127.Shared address space for carrier-grade NAT (RFC 6598)No
169.254.Link-local, self-assigned when DHCP fails (RFC 3927)No
127.Loopback, the device itself (RFC 1122)No
0."This network"No
192.0.0.IETF protocol assignmentsNo
192.0.2., 198.51.100., 203.0.113.Documentation examplesNo
198.18. or 198.19.BenchmarkingNo
224. to 239.Multicast, for one-to-many traffic rather than a single device (RFC 5771)No
240. and aboveReserved, plus 255.255.255.255 for broadcastNo
Anything elseUsually a public addressYes

For IPv6, the first characters do the same job. Addresses starting with fe80: are link-local, and those starting with fc or fd are unique local addresses, the IPv6 version of a private address. ::1 is loopback, and addresses starting with ff are multicast. IANA assigns global addresses, the IPv6 equivalent of public ones, from 2000::/3, so they start with 2 or 3. The one common exception is 2001:db8::/32, which the IANA IPv6 Special-Purpose Address Registry reserves for documentation.

To check an address without reading tables, paste it into our IP lookup. A public address comes back with a location and network; a private, shared or loopback address comes back with "That is a private or reserved address".

Which IP address is my public IP address?

Your public IP address is the one an outside website reports back to you, not the one in your device settings. Open our IP checker: the IPv4 address it shows is the public address your connection is using, and any device on the same Wi-Fi will show the same one. The address in your phone's or computer's Wi-Fi details is the private one.

Your router knows both. For example, its admin page usually shows a WAN or internet address (public side) and a LAN address (private side), such as 192.168.1.1 on the network we tested below. If the WAN address starts with 100.64 to 100.127, your provider is using carrier-grade NAT. If it is a private address such as 192.168.x.x, another router, often the provider's modem, sits in front of yours, or your provider runs carrier-grade NAT with private addresses. Either way, websites see a different address from the one on your WAN. Our guides show how to open your router's page and how to find each address on every device.

Example: what one home connection shows

We ran these checks on 8 November 2026 on a Mac (macOS 26.7.1) connected by Wi-Fi to a home router. Addresses are partly hidden.

  • ifconfig en0 showed a private address, 192.168.x.x with netmask 0xffffff00 (a /24), and an IPv6 address starting fe80::. There was no global IPv6 address, so this connection reaches the internet over IPv4 only.
  • route -n get default gave the router's private address, 192.168.1.1.
  • curl -4 https://ipcomet.com/api/ip returned the public address, which starts with 103. That is the only address websites see.
  • traceroute -n 1.1.1.1 showed the second hop answering from 100.64.x.x and the fourth from a 192.168.x.x address. Providers use shared and private addresses inside their own networks too, so seeing one on a traceroute does not mean your public address is private.
  • Our lookup API answered 192.168.1.1, 10.0.0.1, 172.20.0.1, 100.64.0.1 and 169.254.1.1 with "That is a private or reserved address, so it has no public location", and returned a location and network for 8.8.8.8 and 1.1.1.1.

How do public and private IP addresses work together?

Network address translation (NAT) is how your router lets many private addresses share one public address. RFC 3022 describes the common form, Network Address Port Translation, as translating many addresses and their TCP and UDP ports into a single address and its ports. When your laptop asks for a web page, the router swaps the laptop's private address for the public one, records which device asked, and sends the reply back to it.

Traffic that arrives from the internet without a matching record has nowhere to go, so the router drops it. NIST's IPv6 security guidelines describe the same limit: NAT does not allow sessions to be started from globally addressed hosts toward privately addressed ones. That is why you cannot reach a camera or game server at home from outside until you set up port forwarding, and under carrier-grade NAT even that will not work on its own. Our NAT guide covers the details.

What about IPv6?

IPv6 has enough addresses for each device to get its own global one. NIST Special Publication 800-119, its 2010 guide to deploying IPv6 securely, says this makes NAT unnecessary, and that unique local addresses replaced the older site-local ones. On a home network, the router's firewall decides what inbound traffic gets through. IPv6 still has local-only ranges. Unique local addresses use fc00::/7, and RFC 4193 says they are not expected to be routable on the global internet. Because RFC 4193 sets the "L" bit to 1 for locally assigned prefixes, the ones you meet in practice start with fd. Link-local addresses (fe80::/10) work on one link only, and RFC 4291 says routers must not forward them. See what is IPv6 and IPv4 vs IPv6.

Why does the difference matter?

  • To reach a device at home from outside, you have to forward a port from the public address to that device's private address.
  • Websites see only your public address. The private addresses behind it are not directly visible to them.
  • A private address on your device is normal. A 169.254 address means the device did not get one from the router, and a 100.64 address on your router's WAN means you share a public address with other customers.
  • Blocklists, rate limits and location lookups work on the public address, so they affect everyone in the home at once. Our blocklist guide shows how to check yours.

For how both kinds fit with the other address types, see what is an IP address.

Frequently asked questions

Is 192.168.1.1 a public or private IP address?

Private. Everything from 192.168.0.0 to 192.168.255.255 is in the RFC 1918 private range, and 192.168.1.1 was the router's local address on the home network we tested.

Is 100.64.x.x a private IP address?

Not in the RFC 1918 sense, but it is not public either. RFC 6598 reserves 100.64.0.0/10 as shared address space for providers running carrier-grade NAT, and says packets with these addresses must not be forwarded across provider boundaries.

Can two devices have the same private IP address?

Yes, as long as they are on different networks. Your laptop and a neighbour's laptop can both be 192.168.1.23. On the same network, each device needs its own address, which is why the router hands out a different one to each.

Is it safe to share my private IP address?

Generally yes. Packets addressed to it from the internet are not meant to be forwarded, and the same address exists in many other homes, so on its own it does not identify you or let someone connect to you. Your public address says more: see can someone track you by your IP address?

Do all my devices share one public IP address?

On the same home network and with IPv4, yes, because the router translates every device's private address to its one public address. Over IPv6, each device usually has its own global address. A phone on mobile data uses the carrier's address instead.

Sources and further reading

Try it yourself

See the real numbers for your own connection with our free tools.

Keep reading