HandyTools
HandyTools

My IP Address

Check your current public IP address along with geolocation, network, and timezone information.

My IP Address

Complete Guide to IP Address Lookup

What is an IP Address?

An IP address (Internet Protocol Address) is a unique numerical identifier assigned to every device connected to the internet. Just as a physical mailing address is required to deliver letters and packages to a specific location, an IP address is essential for routing data packets between devices across the internet. Without IP addresses, computers, smartphones, and servers would have no way to find each other or exchange information online. IP addresses are broadly categorized into two types: public IP (also called external IP) and private IP (also called internal or local IP). A public IP address is assigned by your Internet Service Provider (ISP) and is globally unique — it is the address that websites, online services, and other internet-connected devices see when you connect to them. A private IP address, on the other hand, is assigned by your local router within your home or office network (e.g., 192.168.x.x or 10.x.x.x). Private IPs are only valid within the local network and cannot be directly reached from the internet. The IP address displayed by this tool is your public IP address — the one visible to the outside world. There are currently two versions of the IP protocol in widespread use: IPv4 and IPv6. IPv4 addresses consist of four groups of numbers separated by dots (e.g., 203.0.113.45), with each group ranging from 0 to 255. This 32-bit addressing scheme provides approximately 4.3 billion unique addresses. However, with the explosive growth of internet-connected devices — from smartphones and laptops to IoT sensors and smart home appliances — the pool of available IPv4 addresses has been effectively exhausted. To address this shortage, IPv6 was developed. IPv6 uses a 128-bit addressing scheme written in hexadecimal notation separated by colons (e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334), providing approximately 3.4 × 10^38 unique addresses — a virtually inexhaustible supply that can accommodate the continued growth of the internet for decades to come.

How to Use This Tool

This tool requires no input whatsoever — it automatically detects and displays your current public IP address the moment you open the page. When you visit this page, the server extracts your IP address from the incoming network request headers (specifically the X-Forwarded-For or X-Real-IP headers set by the reverse proxy), then queries a geolocation database to retrieve location and network information associated with that IP address. At the top of the results, your public IP address is displayed prominently in large text, along with a badge indicating whether it is an IPv4 or IPv6 address. Next to the IP address, you will find a 'Copy' button — clicking it copies the IP address to your clipboard so you can easily paste it into emails, support tickets, configuration files, or any other application. The Location Information section displays the estimated geographic details associated with your IP address, including country, region/state, city, postal/ZIP code, timezone, and approximate latitude/longitude coordinates. Keep in mind that IP-based geolocation relies on the registration data that ISPs file with Regional Internet Registries (RIRs), so the displayed location represents the ISP's network hub or point of presence rather than your precise physical location. Accuracy is typically very high at the country level (99%+) but drops to roughly 50–80% at the city level. The Network Information section reveals your Internet Service Provider (ISP), the organization associated with the IP block, and the Autonomous System (AS) number — a unique identifier assigned to a network operator for routing purposes. This information can be useful for diagnosing connectivity issues or verifying which network you are connected through. If you want to refresh the results — for example, after connecting to or disconnecting from a VPN — simply click the 'Refresh' button at the bottom to re-query your current IP and update all displayed information.

IP Address Structure and Geolocation Principles

IPv4 addresses are composed of 32 bits (4 bytes), typically written in dotted-decimal notation where each octet is converted to its decimal equivalent and separated by a period. For example, the binary address 11000000.10101000.00000001.00000001 translates to 192.168.1.1 in dotted-decimal form. The total IPv4 address space contains 2^32 (approximately 4.3 billion) possible addresses. However, several ranges are reserved for special purposes: 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 are designated for private networks; 127.0.0.0/8 is reserved for loopback (localhost) testing; 169.254.0.0/16 is used for link-local addressing when DHCP is unavailable; and several other blocks are reserved for multicast, documentation, and future use. After subtracting all reserved ranges, the number of routable public IPv4 addresses is significantly less than 4.3 billion. IPv6 addresses use a 128-bit addressing scheme, written as eight groups of four hexadecimal digits separated by colons. Leading zeros within a group can be omitted, and consecutive groups of all zeros can be replaced by a double colon (::) for brevity. For instance, 2001:0db8:0000:0000:0000:0000:0000:0001 can be shortened to 2001:db8::1. The total IPv6 address space is 2^128, which equals approximately 3.4 × 10^38 addresses — a number so astronomically large that every grain of sand on Earth could be assigned billions of unique addresses. IP geolocation is the technique of estimating a device's geographic location based on its IP address. This process relies on databases compiled from multiple sources: WHOIS registration records filed by ISPs and organizations with Regional Internet Registries (RIRs) such as APNIC, ARIN, RIPE NCC, LACNIC, and AFRINIC; active network measurements including traceroute analysis and latency triangulation; user-submitted location data; and partnerships with ISPs who share network topology information. Country-level accuracy typically exceeds 99%, while city-level accuracy ranges from 50% to 80% depending on the region, ISP, and network architecture. Mobile networks and Carrier-Grade NAT (CGNAT) deployments tend to reduce accuracy because traffic may be routed through centralized gateways located far from the actual user.

IP Address Tips and Best Practices

First, use this tool to verify your VPN is working correctly. After connecting to a VPN service, refresh this page and check whether the displayed IP address and location have changed to match the VPN server's location. If your original IP address and home location still appear, your VPN connection may have dropped or your browser may be leaking your real IP through WebRTC. Many VPN providers offer their own IP leak test pages, but this tool provides a quick, independent verification. Second, leverage this tool for network troubleshooting. When you experience connectivity problems, knowing your public IP address can help you communicate more effectively with your ISP's technical support team. You can provide your current IP address to help them identify your connection in their system, diagnose routing issues, or check whether your IP has been inadvertently blacklisted by any services. Third, understand the privacy implications of your IP address. While an IP address alone cannot pinpoint your exact home address or reveal your personal identity, it does provide a general indication of your geographic area and identifies your ISP. Through legal processes such as subpoenas or court orders, law enforcement agencies can request ISP records to identify the subscriber associated with a specific IP address at a given time. For enhanced privacy, consider using a reputable VPN service or the Tor network when browsing sensitive content, especially on public Wi-Fi networks. Fourth, know the difference between dynamic and static IP addresses. Most residential internet connections use dynamic IP allocation through DHCP (Dynamic Host Configuration Protocol), meaning your ISP assigns you a different IP address periodically or whenever your router reconnects. Restarting your router may trigger a new IP assignment. In contrast, business internet plans and server hosting services typically use static (fixed) IP addresses that remain constant, which is necessary for running web servers, email servers, or any service that others need to reach at a consistent address. Fifth, be aware of Carrier-Grade NAT (CGNAT). Some ISPs, particularly mobile carriers and newer broadband providers, use CGNAT to share a single public IP address among hundreds or even thousands of subscribers simultaneously. If your ISP uses CGNAT, the IP address shown here belongs to the ISP's NAT gateway rather than being unique to your connection. This can affect IP-based geolocation accuracy and may cause issues with services that rely on IP reputation or IP-based access controls. Sixth, this tool is useful when configuring remote access or firewall rules. If you need to whitelist your IP address in a server's firewall, cloud security group, or remote desktop configuration, you can quickly look up your current public IP here and add it to your allow list.

Frequently Asked Questions

Related Calculators