Network security

What Is My Public IP Address? How to Find It on Any Device

Your public IP is the return address the internet uses to reach you. Here is how to find it, how it differs from your private IP, and what it can and cannot reveal.

Cysoro Security TeamPublished · 7 min read
NETWORK SECURITY What is mypublic IP? Find it in seconds, on any device. YOUR PUBLIC IP203.0.113.45IPv4 • Example addressPrivate: 192.168.1.23IPv6 also available
Quick answer

Your public IP address is the address your internet provider assigns to your connection, and it is the address every website sees. Find it instantly with a what-is-my-IP tool, in your router's status page, or with a command such as curl ifconfig.me. Your devices also have private addresses such as 192.168.1.23, which work only inside your home network.

Key takeaways

  • Your public IP is what websites see; your private IP, such as 192.168.1.23, works only at home.
  • Find your public IP with a checker tool, your router status page, or a simple command.
  • An IP reveals your approximate location and provider, not your name or exact address.

Every website you visit sees an address for your connection. That address is your public IP. Knowing how to find it, and how it differs from the address your laptop shows in its settings, saves a lot of confusion with support desks, remote access and security checks.

What is my public IP address?

Your public IP address is the address your internet provider assigns to your connection, and it is the address every website sees. It is the return address the internet uses to send pages, video and files back to you.

The fastest way to find it is to open our free what is my IP tool. It shows the address your browser connects from, along with its version, provider and approximate location. No installation or account is needed.

You can also ask a server to echo it back from the command line. On Mac or Linux, run curl ifconfig.me for your public IP, curl -4 ifconfig.me to force IPv4, or curl -6 ifconfig.me to force IPv6. Another option is dig +short myip.opendns.com @resolver1.opendns.com.

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

A public IP is your connection's address on the internet. A private IP works only inside your home or office network. Your router translates between them with NAT, so all your devices share one public IPv4 address.

One public address serves a whole homeLaptop192.168.1.23Phone192.168.1.37TV • 192.168.1.50Your routerNAT translatesprivate to publicInternetsees one public IP203.0.113.45
Private addresses stay inside your network; the public address is what the internet sees. Illustration by Cysoro.

If your settings show 192.168.1.23, that is not the address websites see. It is your device's private address on your local network, and the same number is reused in millions of homes.

Public IPPrivate IP
Who assigns itYour internet providerYour router or DHCP server
Who can see itEvery website and serverOnly devices on your local network
Example203.0.113.45192.168.1.23
Unique?Yes, on the internetNo, reused in many networks
Where to find itIP checker tool or router status pageDevice network settings

Private addresses come from ranges set aside for local networks: 192.168.0.0/16, 10.0.0.0/8 and 172.16.0.0/12. Those ranges are defined in RFC 1918 and never travel across the internet, as explained in a plain-English public vs private IP guide.

How do I find my IP address on Windows and Mac?

On Windows, your settings show your private IP, not your public one. For the public address, use an IP checker tool or your router status page.

On Windows 11 or 10, open Settings, then Network and internet, then Wi-Fi or Ethernet, and look for the IPv4 address. Or open Command Prompt and run ipconfig, then look for IPv4 Address under your active adapter.

On a Mac, open System Settings, then Network, then your connection, then Details. Or run ipconfig getifaddr en0 in Terminal; en0 is usually Wi-Fi on a MacBook. For a full list, run ipconfig getifaddr en0 for Wi-Fi and check Ethernet separately if you use it.

For your router, open its admin page, usually at 192.168.1.1 or 192.168.0.1, and look under Status or Internet for the WAN IP. That is your public IP, unless the address starts with 100.64, which means carrier-grade NAT.

How do I find my IP address on Linux, iPhone and Android?

On Linux, open a terminal and run ip -br addr for a compact list, or hostname -I to print all of your addresses at once. Those are your private addresses; use an IP checker for the public one.

On iPhone and iPad, open Settings, then Wi-Fi, then tap the information icon next to your network. You will see the IP address and the router address. On Android, open Settings, then Network and internet, then Internet, then tap your network; menu names vary by maker, and on Samsung Galaxy phones start at Settings, then Connections, then Wi-Fi.

On every device, the address in settings is the private one. If a support desk asks for your IP, they usually mean the public one, so check it with a tool and read that number out instead.

What is the difference between IPv4 and IPv6?

IPv4 addresses are 32 bits, written as four numbers from 0 to 255, such as 203.0.113.45. There are only about 4.3 billion of them, which is why NAT exists. IPv6 addresses are 128 bits, written as eight groups of hexadecimal digits separated by colons, such as 2001:db8:85a3::8a2e:370:7334.

IPv6 has enough addresses for every device to have its own public one, so NAT is usually not needed. Most systems also use temporary IPv6 addresses that change over time, so the address a site sees can change from day to day.

Many connections have both. A site that supports IPv6 will usually be reached over it, so two IP checker pages can show different answers and both be right. According to the Internet Society's Pulse, the share of users reaching Google over IPv6 passed 50 percent for the first time on 28 March 2026.

To see both, use a checker that shows IPv4 and IPv6 at once, or run curl -4 ifconfig.me and curl -6 ifconfig.me separately. Our WebRTC leak test can also reveal whether your browser is exposing an address your VPN should be hiding.

What can someone learn from my public IP address?

An IP address can reveal your approximate city or region, your internet provider, and the network block it belongs to. It does not reveal your name, street address or precise location.

Websites also use IP addresses for security: to spot logins from unusual places, to block known abusive addresses, and to show content in the right language or region. That is why a login from a new country often triggers an extra check.

What an IP cannot do is identify you on its own. Your provider knows which customer had an address at a given time, but a website generally does not, unless you log in or give it more information.

What your IP can — and cannot — revealIt can reveal• Approximate city or region• Internet provider and network• Country and time zone• Whether it is IPv4 or IPv6It cannot reveal• Your name• Your street address• Your exact location• What is on your deviceYour provider holds the link between an address and a customer.
An IP is an approximate location signal, not an identity. Illustration by Cysoro.

Why does my public IP address change?

Most home providers assign dynamic addresses. Your address can change when your router restarts, when your lease renews, or when your provider reassigns addresses. That is normal and usually harmless.

Some providers add a second layer called carrier-grade NAT, so many customers share one public IPv4 address. If your router status page shows an address between 100.64.0.0 and 100.127.255.255, you are behind carrier-grade NAT, and the address websites see will not match your router's WAN address.

Business connections often use a static IP that does not change, because remote access, email servers and allow-lists need a stable address. If you need one, ask your provider; it usually costs extra.

Should I hide my public IP address?

A VPN hides your real public IP from websites by routing your traffic through the VPN server, so sites see the VPN's address instead. That helps against simple tracking and on untrusted Wi-Fi, but it does not make you anonymous.

Your VPN provider can still see your traffic, and sites can still track you with cookies, fingerprinting and account logins. A VPN also does not protect you from malware, phishing or a weak password.

Check for leaks after you connect a VPN. A WebRTC leak can expose your real address even when the VPN is on, which is what our WebRTC leak test checks. Also check that the VPN covers IPv6, because a VPN that only covers IPv4 can leak your IPv6 address.

For more on securing the network behind that IP, see our guide to securing your Wi-Fi.

What if my IP address looks wrong?

If an IP checker shows a different city or country than where you are, check whether a VPN is on, whether you are on a work network, or whether your provider routes traffic through another region. Those are the usual causes.

If a site blocks you or shows the wrong language, your address may have been used by a previous customer for abuse, or it may be shared with many other customers through carrier-grade NAT. Restarting your router sometimes gets a fresh dynamic address.

If your router shows a private or 100.64 address as its WAN IP, you are behind an extra layer of NAT. Port forwarding and direct remote access will not work reliably without help from your provider.

The bottom line

Your public IP is the address the internet sees; your private IP is the address your devices use at home. Find the public one with a checker tool, your router status page, or a simple command.

It reveals your approximate location and provider, not your identity. Keep it private, check for VPN leaks, and use it when a support desk or a security allow-list asks for it. You can see yours right now with our free what is my IP tool.

Frequently asked questions

What is my public IP address right now?

Open a what-is-my-IP tool and it will show the address your browser connects from, usually with your country, city, provider and whether it is IPv4 or IPv6. That address is the one websites see.

Is my public IP the same as my private IP?

No. Your public IP is assigned by your provider and is visible on the internet. Your private IP, such as 192.168.1.23, is assigned by your router and works only inside your home or office network.

Why does my IP address change?

Most home providers assign dynamic addresses that change when your router restarts or your lease renews. Some providers use carrier-grade NAT, so many customers share one public IPv4 address.

Can someone find my exact address from my IP?

No. An IP address usually reveals only an approximate city or region and the provider that owns it. It does not reveal your name, street address or precise location.

What is the difference between IPv4 and IPv6?

IPv4 uses 32-bit addresses written as four numbers, such as 203.0.113.45, with about 4.3 billion possible addresses. IPv6 uses 128-bit addresses written in hexadecimal, such as 2001:db8::1, with far more addresses available.

Should I hide my public IP address?

A VPN can hide your real public IP from websites, but it does not make you anonymous. Your VPN provider can still see your traffic, and sites can still track you with cookies and account logins.

Is it safe to share my public IP address?

Sharing it with a support desk or a trusted service is usually fine. Do not post it publicly, because it can be used to target your connection with scans or denial-of-service attacks.

Sources

  1. DNSRobot — What Is My IP Address?
  2. Remove.sh — What Is My IP Address? A Plain-English Guide
  3. Utibox — What is my IP address? Public vs private, IPv4 vs IPv6
  4. Internet Society — IPv6 deployment data
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against RFC 1918 private address ranges, IPv4 and IPv6 address formats, and current what-is-my-IP guides.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free