How to find your IP address – and what it reveals about you

Ali Cetinkaya Last updated:

Whether you are setting up a printer, forwarding a port on your router, hosting a gaming session or simply want to know what websites can see about you: you need your IP address. This guide shows you where to find it on Windows 11, macOS, iOS and Android as well as in your router – and explains the difference between the public address of your connection and the local address of your device. It is written for anyone doing this for the first time or wondering what that string of numbers actually means.

Checked with: Checked in October 2026 against the help pages of Microsoft (Windows 10/11), Apple (macOS Tahoe 26, iOS 26), Google (Android 12 and later), Samsung and FRITZ! (current FRITZ!OS); menu names may differ slightly depending on device, version and system language.

Step by step

Choose your device or app:

Public IP

The public IP address belongs to your internet connection, not to a single device. You will not find it in your computer's settings, only via the internet itself or in your router. Router method checked against the FRITZ! knowledge base on 20 October 2026.

  1. Use a search engine or website

    Open a browser and search for «my IP» or «what is my IP». Various search engines and specialised websites show you the public address your connection is currently using on the internet. There is nothing to install and nothing to type in.

  2. Tell IPv4 and IPv6 apart

    You will often see two addresses: a short one with four blocks of numbers (IPv4, e.g. 203.0.113.x) and a long one with colons (IPv6). Both belong to you; which one a website sees depends on the protocol the connection is using at that moment.

  3. Check your router

    On a FRITZ!Box, for example, open «fritz.box» in your browser, log in and click «Internet» > «Online Monitor» > the «Connection Details» tab. The line «Internet, IPv4» shows the address your provider has assigned to your connection. Other routers usually show the address on their start page or under «Status» or «Internet».

  4. Private address in the router? That is CGNAT

    If your router shows an address from the ranges 10.x.x.x, 100.64.x.x to 100.127.x.x, 172.16.x.x to 172.31.x.x or 192.168.x.x, your connection – according to FRITZ! – shares its public IPv4 address with other customers (carrier-grade NAT or DS-Lite). In that case the address in the router differs from the one a website sees, and port forwarding over IPv4 will not work.

Public and local IP address: why you have two

An IP address is the number under which a device can be reached on a network – much like a postal address. At home there are two levels of this. The public IP address is assigned to your router by your internet provider as soon as it establishes the connection. It is unique worldwide, and it is how your entire household appears on the internet: every website, every mail server, every game server sees this one address, no matter which device you happen to be using.

The local or private IP address is handed out by the router itself to every device on your home network, usually automatically via DHCP. These addresses come from reserved ranges that are not routed on the internet: 10.0.0.0 to 10.255.255.255, 172.16.0.0 to 172.31.255.255 and 192.168.0.0 to 192.168.255.255. That is why a device in millions of households can have the address 192.168.1.20 at the same time without any conflict – the addresses are only valid within their own network.

What makes this work is network address translation (NAT) in the router: it remembers which device opened which connection, swaps the local address for the public one on the way out and hands the replies back to the right device. For you this means: if you want to reach a printer, forward a port or find a device on your home network, you need the local address. If you want to know what the internet sees of you, or to access your network from outside, the public one is what counts.

IPv4 and IPv6 – and dynamic or static

IPv4 is the older protocol: addresses such as 203.0.113.45 consist of four numbers between 0 and 255, i.e. 32 bits. That gives a good four billion addresses – not enough for every device in the world. The supply is practically exhausted, which is why providers resort to tricks such as NAT and sometimes use one public IPv4 address for several customers at once (carrier-grade NAT, DS-Lite).

IPv6 solves the problem with 128-bit addresses, written as eight blocks of hexadecimal digits separated by colons, such as 2001:db8::1. That provides around 3.4 × 10³⁸ addresses, and according to FRITZ! the provider does not assign a single IPv6 address but an entire subnet: every device on your home network can get its own globally valid IPv6 address, and NAT is no longer needed. Because the transition is happening gradually, most connections today use both in parallel («dual stack») – which is why settings pages and IP websites often show you two addresses.

Regardless of the version, the public address on home connections is usually dynamic: the provider assigns it to you from its pool and may change it when a new connection is established or after a certain time. Some providers keep the address for weeks, others change it regularly. A fixed («static») public address is generally an add-on product or reserved for business connections; anyone who wants to reach a device at home from outside permanently usually uses a dynamic DNS service instead, which many routers have built in.

What your IP address reveals – and what it does not

Your public IP address is visible with every page you load, because without it the reply could not find its way back to you. Websites, advertising networks, mail servers (the address often sits in the header of every message you send), messaging servers and online games can therefore all see it. From it, one can tell which internet provider the address belongs to and in which country and roughly which region it is being used – IP addresses, as Google puts it in its help pages, follow geography only loosely.

Google describes just how imprecise this location is in its help page on location when searching: from the IP address, Google only estimates a «general area» that is larger than three square kilometres, covers at least 1,000 users and is usually considerably larger outside cities. In practice the location often lands in the wrong city, because providers manage their addresses centrally. Your name, street or house number are not revealed by your IP address; only your internet provider knows that link, and it hands it over only on an official or court order.

Someone knowing your IP address is not a security problem in itself – it is technically necessary and changes on most connections anyway. A risk only arises if someone deliberately attacks devices that are reachable from outside, for example through a carelessly set up port forward, or if they combine the address with data from other sources. Your router blocks incoming connections by default; keeping your router firmware and devices up to date therefore matters more than keeping your IP address secret.

Hiding or changing your IP address

The simplest way to get a new public IPv4 address, if yours is dynamic, is to restart your router: unplug it briefly or choose «Reconnect» in its menu. The provider will often assign a different address afterwards – but not always; some providers keep the address stable for days or weeks. If you switch from Wi-Fi to mobile data, you are automatically using a different address, namely one belonging to your mobile network operator.

If you want to hide your address from websites permanently, you need a VPN. It routes your traffic through a server run by the VPN provider, so websites see only that server's address, in a country of your choosing. To be honest, this merely shifts the visibility: the VPN provider knows your real address and sees which servers you connect to. That is why choosing a trustworthy provider is crucial; whether a VPN makes sense for you at all is covered in our guide (→ Do you really need a VPN in 2026? The honest guide), and we have looked at specific providers in (→ Surfshark review 2026: cheap, but is it good?) and (→ NordVPN review 2026: is the market leader still worth it?).

There is also Apple's iCloud Private Relay (Safari only, iCloud+ only), which according to Apple hides your IP address from network operators and websites, and the Tor Browser, which routes connections through several relays and is therefore noticeably slower. In every case, bear in mind: a different IP address does not make you anonymous as long as you are signed in to the same accounts or cookies recognise you – more on that in (→ Clear cache and cookies – in every browser, on your computer and your phone). The local IP address of your device, on the other hand, can be fixed at any time in the router or in the network settings; it plays no role on the internet.

When two devices report the same local IP (IP conflict)

If Windows reports an «IP address conflict» or a device keeps dropping off the Wi-Fi, two devices on your home network have the same local address. This usually happens when a device has been given a fixed address by hand that the router later also hands out to another device via DHCP, or when two routers on the same network are distributing addresses.

The quick fix: restart the router and the affected device so that both obtain a fresh address via DHCP. On Windows you can also do this without a restart using the commands «ipconfig /release» and «ipconfig /renew» in Command Prompt; on a Mac via «System Settings» > «Wi-Fi» > «Details» > «TCP/IP» > «Renew DHCP Lease». To avoid the conflict for good, reserve fixed addresses in the router rather than on the device – on a FRITZ!Box under «Home Network» > «Network», with the option to always assign the device the same IPv4 address.

Good to know

  • Your public IP address is not your location: according to Google, locating an address only hits a «general area» and often lands in the wrong city.
  • Your local IP address changes with every network you join: at home your phone has a different address than at the office or on a café's Wi-Fi.
  • Do not post screenshots of your router interface or network settings publicly – the public IP address and device names in them do not belong in forums or on social media.
  • «ipconfig /all» on Windows shows more than «ipconfig»: among other things the physical address (MAC), the DHCP server and when the address was last obtained.
  • You can always reach your router's interface via the gateway address from your device's network details – on a FRITZ!Box, 192.168.178.1 or «fritz.box» by default.
  • If your router itself has an address from 100.64.x.x to 100.127.x.x, you share your public IPv4 address with other customers; port forwarding then does not work over IPv4, though it often does over IPv6.

FAQ

Is it dangerous if someone knows my IP address?

Not in itself. Every website you visit necessarily knows it, and on most home connections it changes from time to time anyway. Your router blocks incoming connections by default. A risk only arises from open port forwards or outdated devices, not from the address itself.

Can someone see my location from my IP address?

Only roughly. The address reveals the internet provider and usually the country; the region or city is an estimate. Google describes the result as a «general area» of more than three square kilometres with at least 1,000 users, and considerably larger outside cities. Only your internet provider knows your name, street or house number.

How do I change my IP address?

With a dynamic assignment, the public address often changes after a router restart – but that is not guaranteed. Alternatively, switch to mobile data or use a VPN, which shows websites the address of the VPN server. Your device's local address can be set in the router or reassigned via DHCP.

What is the difference between IPv4 and IPv6?

IPv4 addresses are 32 bits long (four numbers, e.g. 192.168.1.20) and have become scarce; IPv6 addresses are 128 bits long, are written with colons and are practically unlimited. With IPv6, according to FRITZ!, every device on your home network gets its own globally valid address, and NAT is no longer needed. Most connections today use both in parallel.

Why does my phone show a different IP than my laptop?

On your home network every device has its own local address, for example 192.168.1.20 and 192.168.1.21 – that is normal. To the outside world, both appear with the same public address of the router. If a «what is my IP» website on your phone shows a completely different public address, you are probably on mobile data rather than Wi-Fi.

What is 192.168.1.1 or 192.168.178.1?

These are local addresses from the private range 192.168.0.0 to 192.168.255.255 that many routers use as their own address: 192.168.178.1 is the factory default of the FRITZ!Box, while 192.168.0.1 and 192.168.1.1 are common with other manufacturers. Type the address into your browser and your router's user interface opens.

Can my employer see my IP address?

On the company network or via the company VPN, yes: your employer runs the network and sees the local addresses of the connected devices and, depending on the setup, which servers are being accessed. If you work from home without a company VPN, they only see the public address of your connection, just like any other website.

Where do I find the IP address of my printer or TV?

Most easily in your router's device list: on a FRITZ!Box under «Home Network» > «Network», on other routers under «Connected devices» or «DHCP clients». Every device on your home network is listed there with its name and local address. Many printers can also print out their address from their own menu.

Our verdict
Want to hide your IP address from websites?

If you want to hide your public IP address from websites, there is no way around a VPN. Whether it is worth it for you – and when it simply makes no difference – is what our guide explains, soberly and without any sales pressure.

Read the guide: Do I need a VPN?

Sources

Ali Cetinkaya
Founder & editor

Ali Cetinkaya is a business IT specialist with more than 15 years of experience in IT and online marketing. For DealsScout he evaluates plans, tools and deals – honestly, transparently and without jargon.

More on Internet & Wi-Fi

Everything on Internet & Wi-Fi →