🇺🇸 English
🇹🇼 繁體中文
🇨🇳 简体中文
🇯🇵 日本語
🇰🇷 한국어
🇪🇸 Español
🇫🇷 Français
🇩🇪 Deutsch
🇧🇷 Português
🇷🇺 Русский
🇮🇹 Italiano
🇳🇱 Nederlands
🇵🇱 Polski
🇹🇷 Türkçe
🇸🇦 العربية
🇹🇭 ไทย
🇻🇳 Tiếng Việt
🇮🇩 Indonesia
🇲🇾 Melayu
🇮🇳 हिन्दी

What is My IP Address? Everything You Need to Know

A complete guide to understanding IP addresses and what they reveal about you

Table of Contents

1. What is an IP Address?

An IP (Internet Protocol) address is a unique numerical label assigned to every device connected to a computer network that uses the Internet Protocol for communication. Think of it as a postal address for your computer -- just as your home address tells the mail carrier where to deliver letters, your IP address tells the internet where to send the data you request.

Every time you visit a website, stream a video, send an email, or do anything online, your device uses its IP address to communicate with servers around the world. Without IP addresses, the internet simply could not function, as there would be no way to route data between billions of connected devices.

IP addresses are assigned and managed by the Internet Assigned Numbers Authority (IANA), which delegates regional allocations to five Regional Internet Registries (RIRs). Your Internet Service Provider (ISP) receives a block of IP addresses from the appropriate RIR and assigns one to your connection.

Quick Check: Want to see your current IP address right now? Use our free IP lookup tool to instantly see your public IP, location, and ISP information.

2. IPv4 vs IPv6 Explained

There are two versions of IP addresses currently in use: IPv4 and IPv6. Understanding the difference is important because the internet is gradually transitioning from the older format to the newer one.

IPv4 (Internet Protocol version 4)

IPv4 is the original and most widely used IP address format. It uses a 32-bit address space, written as four groups of numbers separated by dots. Each group ranges from 0 to 255.

IPv6 (Internet Protocol version 6)

IPv6 was developed to solve the IPv4 address exhaustion problem. It uses a 128-bit address space, providing a virtually unlimited number of unique addresses. IPv6 addresses are written in hexadecimal notation.

FeatureIPv4IPv6
Address Length32 bits128 bits
FormatDecimal (192.168.1.1)Hexadecimal (2001:db8::1)
Total Addresses~4.3 billion~340 undecillion
SecurityOptional IPsecBuilt-in IPsec
NAT RequiredYes (commonly)No
Adoption~60% of traffic~40% and growing

Transition in Progress: The world is gradually moving from IPv4 to IPv6. Most modern devices and operating systems support both protocols (dual-stack). During this transition, you may have both an IPv4 and IPv6 address assigned to your device.

3. Public vs Private IP Addresses

Not all IP addresses are the same. There is a crucial distinction between public and private IP addresses, and understanding it helps you grasp how your home network connects to the wider internet.

Public IP Address

Your public IP address is the one visible to the outside world. It is assigned to your router by your ISP and is unique across the entire internet. Every website, service, and server you connect to can see this address.

Private IP Address

Private IP addresses are used within your local network (home WiFi, office LAN). They are assigned by your router and are only meaningful within your local network. Multiple networks around the world can and do use the same private IP ranges.

How NAT Connects Them

Your router uses Network Address Translation (NAT) to bridge the gap between your private and public IPs. When your computer (e.g., 192.168.1.5) requests a webpage, the router translates that request to come from your public IP address. When the response arrives, the router knows which private device to forward it to. This allows dozens of devices in your home to share a single public IP address.

Find Your IPs: Use our IP lookup tool to see your public IP. To find your private IP, check your device's network settings (on Windows, run ipconfig; on Mac/Linux, run ifconfig or ip addr).

4. What Your IP Address Reveals

Your public IP address is not just a random number -- it carries information that can be used to learn about you. Here is what various parties can determine from your IP:

Geographic Location

IP geolocation databases can determine your approximate location, usually accurate to the city level. This includes your country, region/state, city, and sometimes your ZIP/postal code. This is how websites show you local weather, nearby stores, or content in your language without you telling them where you are.

Internet Service Provider

Your IP reveals which ISP you use (e.g., Comcast, AT&T, BT, NTT). This information is public and easily accessible. Websites can also determine if you are connecting from a residential, business, or data center IP address.

Online Activity Tracking

Websites, ad networks, and analytics services use your IP address along with browser fingerprinting to track your activity across the web. This enables targeted advertising, content personalization, and user profiling. Your ISP can also see every website you visit, as all your DNS queries pass through their servers by default.

Privacy Concern: While your IP alone cannot reveal your exact home address to a random website, your ISP does have records linking your IP to your identity. Law enforcement can request these records with a court order. Additionally, data breaches at companies that log your IP can expose your browsing patterns.

Check What Your IP Reveals

5. How Websites See Your IP

Every time you connect to a website, a multi-step process takes place that inevitably exposes your IP address:

  1. DNS Resolution: You type a URL (e.g., google.com). Your device sends a DNS query to translate that domain name into an IP address. This query typically goes to your ISP's DNS servers, revealing which websites you visit.
  2. TCP Connection: Your device establishes a TCP connection directly with the web server. This handshake requires your IP address in every packet header -- there is no way around this at the protocol level.
  3. HTTP Request: Your browser sends an HTTP request that includes headers like User-Agent and sometimes X-Forwarded-For. The server's access logs record your IP address along with every page you visit.
  4. Third-Party Requests: The webpage may load resources from third-party servers (ads, analytics, social media widgets). Each of these servers also receives your IP address, enabling cross-site tracking.

WebRTC Warning: Even if you use a proxy or some VPNs, your browser's WebRTC feature can leak your real IP address through JavaScript. Test for WebRTC leaks to check if you are affected.

Additionally, DNS leaks can occur when your DNS queries bypass your VPN tunnel and go directly to your ISP's DNS servers. This means your ISP can see which websites you are visiting even when you think you are protected. Use our DNS leak test to verify your protection.

6. How to Find Your IP Address

There are several ways to find your IP address, depending on whether you need your public IP or your private (local) IP.

Find Your Public IP

The easiest way is to use our free tool:

Check Your Public IP Now

Our tool shows your public IP address along with your geolocation, ISP, and other network details -- all without installing any software.

Find Your Private IP

Windows:

  1. Open Command Prompt (search "cmd" in Start menu)
  2. Type ipconfig and press Enter
  3. Look for "IPv4 Address" under your active adapter

macOS:

  1. Open System Preferences > Network
  2. Select your active connection (WiFi or Ethernet)
  3. Your IP address is displayed on the right panel

Linux:

  1. Open Terminal
  2. Type ip addr show or hostname -I
  3. Look for the inet address on your active interface

7. How to Protect Your IP Address

If you are concerned about your IP address being tracked, there are several effective methods to hide your IP address and protect your online privacy:

Use a VPN

A VPN (Virtual Private Network) is the most popular and effective solution. It encrypts all your internet traffic and routes it through a remote server, replacing your real IP with the VPN server's IP. This protects all applications on your device, not just your browser.

Use Tor Browser

The Tor network routes your traffic through multiple encrypted relays, providing the highest level of anonymity. However, it is significantly slower than a VPN and only protects browser traffic.

Secure Your DNS

Use DNS over HTTPS (DoH) or DNS over TLS (DoT) to encrypt your DNS queries. This prevents your ISP from seeing which websites you visit. Run our DNS leak test to check if your DNS queries are exposed.

Disable WebRTC

WebRTC can leak your real IP address even through a VPN. Disable it in your browser settings or use our WebRTC leak test to check your exposure. On Firefox, set media.peerconnection.enabled to false in about:config.

Be Careful on Public WiFi

When using public WiFi networks, always use a VPN. Public networks make it easy for attackers to intercept your traffic and discover your device's IP address and other sensitive information.

Complete Protection Checklist: (1) Connect to a VPN, (2) verify your IP has changed, (3) run a DNS leak test, (4) check for WebRTC leaks. Do this each time you connect to a new network.

8. Frequently Asked Questions

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

A public IP address is assigned by your ISP and is visible to the entire internet. It uniquely identifies your network on the web. A private IP address is used within your local network (home or office) and is not directly accessible from the internet. Private IPs typically start with 192.168.x.x, 10.x.x.x, or 172.16-31.x.x. Your router uses NAT to translate between the two.

Can someone find my exact location from my IP address?

No, an IP address cannot reveal your exact home address to a random person. IP geolocation is typically accurate only to the city or regional level. It can identify your approximate area, ISP, and country, but not your street address. However, your ISP does have records linking your IP to your billing address, and law enforcement can request this with a court order.

What is the difference between IPv4 and IPv6?

IPv4 uses 32-bit addresses in dotted decimal format (e.g., 192.168.1.1) and supports about 4.3 billion addresses. IPv6 uses 128-bit addresses in hexadecimal format (e.g., 2001:0db8::1) and supports 340 undecillion addresses. IPv6 was created to solve IPv4 address exhaustion and includes built-in security features like mandatory IPsec support.