Your IPv4 address is a set of four numbers that identifies your device on the internet, like a mailing address for data

An IPv4 address looks like this: 192.168.1.5 or 8.8.8.8. Each number can range from 0 to 255, separated by periods. When you visit a website, send an email, or stream video, your device uses this address so the internet knows where to send the response back to you. Websites, apps, and services you connect to can see this address — it's part of how the internet works, not a privacy breach, but it does mean they know roughly where you are and can identify your connection.

You actually have two IPv4 addresses working at the same time. Your private address is used only inside your home or office network — devices on your WiFi talk to each other using private addresses. Your public address is what the outside internet sees, and it's assigned by your internet service provider (ISP). When you look up "what is my IP," you're seeing the public one.

Key Takeaways

  • Your IPv4 address is four numbers (like 203.0.113.42) that identify your internet connection to websites and services you visit.
  • Websites can see your public IPv4 address automatically — it's not hidden, and that's normal internet behavior.
  • Your ISP assigns your public address and can change it, sometimes daily or when you restart your router.
  • Knowing your address is useful for troubleshooting, setting up devices at home, or understanding what information websites collect about you.

How your public IPv4 address gets assigned

Your ISP owns a block of IPv4 addresses and hands one out to your home or business connection. Most home internet uses dynamic addressing, meaning your ISP can reassign your address whenever it wants — often when you restart your modem or router, but sometimes without you doing anything. Some people keep the same address for months; others see it change weekly. There's no way to predict it.

If you need an address that doesn't change, you can pay your ISP for static addressing — a permanent address assigned just to you. This costs extra (usually $5 to $15 per month) and is mainly useful if you run a server from home or need remote access to devices on your network. Most people don't need it.

What websites and services learn from your IPv4 address

When you visit a website, your browser automatically sends your public IPv4 address as part of the connection. The website logs it. This means a website owner can see that someone from your ISP's address range visited their site, and they can match that address to the time you visited and what you looked at.

Services like Google Maps, weather apps, and location-based ads use your IPv4 address to guess your city or region — not your exact street address, but close enough to show you local results. The accuracy varies; sometimes it's right to your neighborhood, sometimes it's off by several miles. This is separate from GPS or location permission you grant an app — your address alone gives them a rough location.

Law enforcement and platforms can use your IPv4 address to identify you if they have a warrant or legal reason to contact your ISP. Your ISP keeps records of which customer had which address at which time, so the address creates a link back to your account and name.

The difference between IPv4 and IPv6

IPv4 addresses are running out. The internet was designed with about 4.3 billion possible addresses, which seemed like enough in the 1980s. Now there are more devices than addresses, so the internet is slowly moving to IPv6, which uses a longer format (like 2001:0db8:85a3:0000:0000:8a2e:0370:7334) and has vastly more addresses available.

Most websites and services still use IPv4, and your device probably has both an IPv4 and IPv6 address right now. When you look up "what is my IP," you're usually seeing the IPv4 one because it's still the standard. IPv6 adoption is slow — it's been rolling out for over 20 years — so IPv4 will remain the main address type for years to come.

How to find your public IPv4 address

The simplest way is to visit a site that shows it to you. Search "what is my IP" in any search engine, and the first result will display your public address. Sites like whatismyipaddress.com, ipinfo.io, or iplocation.net do the same thing. You'll see your address, your approximate location, and sometimes your ISP name.

If you want to find your private address (the one used inside your home network), the steps depend on your device. On Windows, open Command Prompt and type ipconfig, then look for "IPv4 Address" under your network connection. On Mac or Linux, open Terminal and type ifconfig or ip addr. On a phone or tablet, go to Settings, find your WiFi network, and tap it to see the address listed as "IP Address."

Why your IPv4 address changes and what that means

Your ISP reassigns addresses to manage their limited pool efficiently. When you turn off your modem for a few minutes and turn it back on, you're likely to get a new address. Some ISPs recycle addresses on a schedule — every 24 hours, every week, or whenever a customer disconnects. This is normal and expected.

A changing address is actually good for privacy in one way: a website can't track you across months using your address alone because you'll have a different one. But it's bad in another way: if someone wants to find you, your ISP can still look up which customer had that address at that specific time. The address changes, but the link to your account doesn't.

When you might need to know your IPv4 address

If you're setting up a device on your home network — a printer, security camera, or game console — you might need to enter your router's private address to access its settings. Knowing your device's private address helps you connect to it remotely or troubleshoot network problems.

If a service tells you to check your IP or you're troubleshooting a connection issue, knowing how to find both your public and private addresses saves time. Some games or apps require you to whitelist your address, or you might need it to set up port forwarding if you're hosting something from home. These are technical tasks, but knowing where to find your address is the first step.

Frequently Asked Questions

Can someone find my home address from my IPv4 address?

No, not directly. Your IPv4 address identifies your internet connection, not your physical location. It narrows things down to your city or neighborhood, but not your street. Only your ISP knows which customer account owns that address, and they won't share it without a warrant or legal request.

Does my IPv4 address change every time I restart my router?

Usually, but not always. Most ISPs reassign addresses when you restart, but some keep the same address for days or weeks. There's no way to predict it. If you need an address that never changes, you'd need to pay your ISP for static addressing.

Is it dangerous to share my IPv4 address?

Sharing your public address alone is low-risk — websites see it automatically, and it doesn't directly expose your personal information. However, combined with other data, it can help someone track your online activity or narrow down your location. Avoid sharing it with untrusted sources, but don't panic if a website has it.

Why do I have two different IP addresses?

Your private address is used only on your home network (WiFi or ethernet). Your public address is what the internet sees. Your router translates between them, so devices inside your network can talk to each other using private addresses while the outside internet uses your public one.

Will switching to IPv6 change how my address works?

IPv6 addresses work the same way — websites will still see it, your ISP still assigns it, and it still identifies your connection. The main difference is the format (much longer) and that there are far more addresses available, so static addresses might become more common. Most people won't notice the switch.