πŸ‡ΏπŸ‡Ό Built for Zimbabwe. Useful everywhere. Free networking utilities β€’ No account required
NETWORKING GUIDES

Public vs Private IP Addresses: Differences, Examples and How to Find Yours

Every device connected to a network uses an IP address to communicate. However, not all IP addresses serve the same purpose.

You may have noticed that your router shows an address such as `192.168.1.1`, while a website displays a completely different address when you check your IP online.

This happens because **public and private IP addresses** serve different roles.

In this guide, we'll explain the difference, provide examples, and show you how to find both addresses.

## What Is an IP Address?

An Internet Protocol (IP) address is a numerical identifier used to send data between devices on networks.

There are two main versions:

- **IPv4:** Uses 32-bit addresses, commonly written as four numbers separated by dots, such as `192.168.1.10`.
- **IPv6:** Uses 128-bit addresses, written in hexadecimal notation, such as `2001:db8::1`.

IP addresses can also be classified as public or private, depending on how they are assigned and used.

## What Is a Public IP Address?

A public IP address is a globally unique address used for communication across the public internet.

Public IPv4 addresses are allocated through internet address registries and typically assigned to customers by internet service providers (ISPs).

For example:

`8.8.8.8`

This is a public IPv4 address used by Google's Public DNS service.

Your home or business internet connection may have a public IP address assigned to its router.

However, not every internet connection receives its own publicly reachable IPv4 address. Some ISPs use Carrier-Grade NAT (CGNAT), which allows multiple customers to share public IPv4 addresses.

### What Is a Public IP Address Used For?

Public IP addresses help internet-connected networks and services communicate with each other.

They are used for activities such as:

- Browsing websites.
- Accessing online applications.
- Running internet-facing servers.
- Connecting to certain remote-access services.
- Routing traffic across the internet.

You can check the public IP address visible to websites using [IPZW Network Tools](https://whatismyipaddress.co.zw/).

## What Is a Private IP Address?

A private IPv4 address is an address reserved for use within local networks, such as a home, school or business network.

These addresses are not routed across the public internet.

Common examples include:

- `192.168.1.1` β€” often used by home routers.
- `192.168.1.100` β€” could be assigned to a laptop.
- `10.0.0.5` β€” commonly found on organizational networks.
- `172.16.0.10` β€” another example of a private IPv4 address.

Different private networks can use the same addresses without conflicting because they are separate networks.

### Private IPv4 Address Ranges

The three private IPv4 ranges defined by RFC 1918 are:

| Range | Common Use |
|---|---|
| 10.0.0.0 – 10.255.255.255 | Large private networks |
| 172.16.0.0 – 172.31.255.255 | Private networks |
| 192.168.0.0 – 192.168.255.255 | Home and office networks |

Not every `172.x.x.x` address is private. Only addresses within the specified `172.16.0.0/12` range are included.

## Public vs Private IP Addresses: Key Differences

| Feature | Public IP | Private IPv4 |
|---|---|---|
| Primary purpose | Internet communication | Local network communication |
| Global uniqueness | Globally unique when assigned | Can be reused across separate networks |
| Public internet routing | Routable, subject to network policies | Not publicly routed |
| Typical assignment | ISP or network operator | Router or local network administrator |
| Example | `8.8.8.8` | `192.168.1.10` |

A public IP address does not necessarily mean your device is directly accessible from the internet. Firewalls, routers and other network controls can restrict incoming connections.

## How Do Public and Private IP Addresses Work Together?

Most home networks use a router to connect multiple devices to the internet.

For example:

- Your laptop may use `192.168.1.10`.
- Your phone may use `192.168.1.11`.
- Your router may use `192.168.1.1`.
- Your internet connection may share one public IPv4 address.

Your router typically uses a process called **Network Address Translation (NAT)** to allow devices with private IPv4 addresses to communicate with services on the internet.

### What Is NAT?

NAT translates IP addresses between network environments.

In typical home IPv4 networks, Network Address and Port Translation (NAPT) allows several devices to share a single external IPv4 address by tracking their connections and port numbers.

For ordinary internet browsing, this process is generally automatic.

## How to Find Your Public IP Address

The easiest method is to use an online IP checker.

1. Open [IPZW Network Tools](https://whatismyipaddress.co.zw/).
2. Find the public IP address displayed on the homepage.
3. Check whether your connection uses IPv4 or IPv6.
4. Use [IPZW IP Lookup](https://whatismyipaddress.co.zw/ip-lookup) for additional network information.

The address shown is the public-facing address detected by the website. If you use a VPN, proxy or CGNAT connection, it may not be an address assigned exclusively to your device.

## How to Find Your Private IP Address

### On Windows 10 or 11

1. Press `Windows + R`.
2. Type `cmd` and press Enter.
3. Enter `ipconfig`.
4. Find **IPv4 Address** under your active Wi-Fi or Ethernet adapter.

You may see something like `192.168.1.105`.

### On Android

1. Open **Settings**.
2. Select **Wi-Fi** or **Network & Internet**.
3. Tap your connected Wi-Fi network.
4. Look for **IP address** under network details.

The exact menu depends on your phone manufacturer and Android version.

### On iPhone

1. Open **Settings**.
2. Tap **Wi-Fi**.
3. Tap the information icon next to your connected network.
4. Look for **IP Address** under the IPv4 section.

This typically shows your phone's local Wi-Fi address rather than its public internet address.

## Is a Public IP Address a Security Risk?

A public IP address is not automatically dangerous.

However, internet-accessible services can be targeted if they are improperly configured or left unprotected.

Useful precautions include:

- Keeping your router firmware updated.
- Using strong passwords.
- Disabling unnecessary port forwarding.
- Restricting remote administration.
- Keeping firewalls enabled.
- Applying software security updates.

Private IP addressing and NAT do not replace proper security measures.

## Frequently Asked Questions

### Can two devices have the same private IP address?

Yes, if they are on separate private networks. On the same local network, duplicate IP addresses can cause connectivity problems.

### Can two people share the same public IP address?

Yes. Devices behind the same router commonly share an external IPv4 address. ISPs using CGNAT can also allow multiple customers to share one public IPv4 address.

### Does my public IP address change?

It depends on your ISP. Some connections use dynamic addresses that can change, while others use static addresses.

### Is 192.168.1.1 a public IP address?

No. It belongs to the private `192.168.0.0/16` range and is commonly used as a home router's local address.

### Is IPv6 also public or private?

IPv6 uses different addressing terminology and mechanisms. Global unicast addresses support global routing, while Unique Local Addresses (ULAs) are intended for local communications, broadly similar in purpose to private IPv4 addressing.

### Can someone determine my home address using my public IP?

An IP lookup may estimate your city, region or ISP, but it generally does not reveal your exact home address.

## Conclusion

The main difference between public and private IP addresses is how they are used.

**Public IP addresses** support internet-wide communication, while **private IPv4 addresses** allow devices to communicate within local networks.

Understanding this difference can help you troubleshoot connectivity problems, configure routers and understand how devices connect to the internet.

Check your public-facing address with [IPZW Network Tools](https://whatismyipaddress.co.zw/) or explore IP information using our [IP Lookup Tool](https://whatismyipaddress.co.zw/ip-lookup).