Public vs Private IP Address: Differences and Ranges
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.
| Question | Public IP address | Private IP address |
|---|---|---|
| Who assigns it | Your internet provider | Your router (by DHCP), or you, by hand |
| Where it works | Across the whole internet | Only on your local network |
| Unique? | Yes, at any given moment | Only inside your network |
| Who sees it | Every website and service you connect to | Devices on the same network |
| IPv4 example | 8.8.8.8 (Google Public DNS) | 192.168.1.23 |
| Where to find it | An IP checker, or your router's WAN status page | Your 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:
| Range | CIDR | Addresses | Old class equivalent (RFC 1918) |
|---|---|---|---|
| 10.0.0.0 to 10.255.255.255 | 10.0.0.0/8 | 16,777,216 | One class A network |
| 172.16.0.0 to 172.31.255.255 | 172.16.0.0/12 | 1,048,576 | 16 class B networks |
| 192.168.0.0 to 192.168.255.255 | 192.168.0.0/16 | 65,536 | 256 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 with | It is | Public? |
|---|---|---|
| 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 assignments | No |
| 192.0.2., 198.51.100., 203.0.113. | Documentation examples | No |
| 198.18. or 198.19. | Benchmarking | No |
| 224. to 239. | Multicast, for one-to-many traffic rather than a single device (RFC 5771) | No |
| 240. and above | Reserved, plus 255.255.255.255 for broadcast | No |
| Anything else | Usually a public address | Yes |
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 en0showed a private address,192.168.x.xwith netmask0xffffff00(a /24), and an IPv6 address startingfe80::. There was no global IPv6 address, so this connection reaches the internet over IPv4 only.route -n get defaultgave the router's private address,192.168.1.1.curl -4 https://ipcomet.com/api/ipreturned the public address, which starts with 103. That is the only address websites see.traceroute -n 1.1.1.1showed the second hop answering from100.64.x.xand the fourth from a192.168.x.xaddress. 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
- RFC 1918: Address Allocation for Private Internets (IETF)
- RFC 6598: IANA-Reserved IPv4 Prefix for Shared Address Space (IETF)
- RFC 3927: Dynamic Configuration of IPv4 Link-Local Addresses (IETF)
- RFC 1122: Requirements for Internet Hosts, loopback addresses (IETF)
- IANA IPv4 Special-Purpose Address Registry
- RFC 6890: Special-Purpose IP Address Registries (IETF)
- IANA IPv6 Special-Purpose Address Registry
- IANA IPv6 Global Unicast Address Assignments
- RFC 4193: Unique Local IPv6 Unicast Addresses (IETF)
- RFC 4291: IP Version 6 Addressing Architecture (IETF)
- RFC 5771: IANA Guidelines for IPv4 Multicast Address Assignments (IETF)
- RFC 3022: Traditional IP Network Address Translator (IETF)
- NIST SP 800-119: Guidelines for the Secure Deployment of IPv6 (PDF)
- Microsoft Learn: ipconfig
- Apple Support: Change TCP/IP settings on Mac
Try it yourself
See the real numbers for your own connection with our free tools.