Blog / Basics

Public IP vs static IP: what’s the difference?

9 Nov 2026

People often compare “public IP” and “static IP” as if they were opposites. They are not. They describe two different things about an address, and an IP address can be any combination of them. This guide explains both and helps you decide what you need.

Public and private: who can see the address

A public IP address is the address your internet provider gives your connection. It is unique on the internet, and websites see it when you visit them.

A private IP address is used only inside your home or office network. Your phone, laptop and TV each have one, usually starting with 192.168., 10. or 172.16 to 172.31. Your router translates between these private addresses and your single public one.

Static and dynamic: whether the address changes

A dynamic IP can change over time, for example when your router restarts or your provider renews your lease. Most home connections are dynamic.

A static IP stays the same until you or your provider change it. Providers often charge extra for a static public IP.

Putting them together

TypeExampleTypical use
Public + dynamicMost home internetBrowsing, streaming, gaming
Public + staticBusiness line, serverHosting, VPN, remote access
Private + dynamicPhone on home Wi-FiEveryday devices
Private + staticPrinter, NAS, cameraDevices you need to find reliably

How to find your public IP

Search “what is my IP” in any search engine, or open a command prompt and run curl ifconfig.me. To find your private IP on Windows, run ipconfig and look at IPv4 Address.

A common catch: shared public addresses

Many providers, especially mobile networks, put several customers behind one public address. This is called CGNAT. To check, compare the WAN or Internet IP shown in your router with the one a “what is my IP” site shows. If they differ, or the router shows an address starting with 100.64 to 100.127, you are behind CGNAT. Hosting a server or reaching your home network from outside will not work until you ask your provider for a real public IP.

Do you need a static IP?

For browsing, streaming and gaming, no. A static public IP helps when you:

Cheaper alternatives

Security note

A static public IP is a permanent, known target. Keep the firewall on, close ports you do not use, update your software, and expose only the services you need.