PCMag editors select and review products independently. If you buy through affiliate links, we may earn commissions, which help support our testing.

How to Find Your IP Address

Need to know the IP address of your router, as assigned by your ISP, or the IP of your computer, as assigned by your router? These numbers are easy to find when you know where to look.

 & Eric Griffith Senior Editor, Features

Our team tests, rates, and reviews more than 1,500 products each year to help you make better buying decisions and get more from technology.

Our Expert
LOOK INSIDE PC LABS HOW WE TEST
65 EXPERTS
43 YEARS
41,500+ REVIEWS
(Credit: FlashMovie/Shutterstock)

Networks, and the internet, don't identify computers (of any size, even your smartphone) by the name you give them. Computers prefer numbers, and the numbers they use as identifiers are called IP addresses.

The "IP" stands for "internet protocol," which is part of the Transmission Control Protocol/internet Protocol (TPC/IP). It's all called IP for short, and TCP/IP is the language used for communication by most networks.

When it comes to your computer(s), there are actually several IP addresses involved. One is how the computer talks to the internet at large, which is the IP address of your router. That IP address is generally assigned to the router by your internet service provider (ISP); the router, in turn, handles all the traffic from your computers and other devices out to the internet. So even though a website only sees a request come in from the IP address on the router, the router knows how to route the information to/from the computer. (That's why it's called a router.)

Computers on internal networks, be it Wi-Fi or Ethernet, at home or in the office, have their own IP addresses assigned to them (usually by the router). That way, all the nodes on the internal network can communicate. The protocol used by the router to assign IP addresses is called Dynamic Host Control Protocol (DHCP).

If you have an IP address assigned, it's typically considered a "dynamic IP" because it could be temporary; the router might give the node in question a different IP address at a later time (same with the IP address your ISP gives your router). However, you can set up "static IP addresses" on computers so they never change—this can be important for some kinds of network communications, especially if it's crucial to be able to find that same node over and over. You could also get a static IP for your router—which is handy if you run a web server, for example, but expect your ISP to charge extra.

IP addresses are typically in the same format as a 32-bit number, shown as four decimal numbers each with a range of 0 to 255, separated by dots—each set of three numbers is called an octet. This format is used by IP version 4 (or IPv4). With it, you could—in theory—have 0.0.0.0 to 255.255.255.255 out there. However, this limited the world to a possible 4+ billion IP addresses, which isn't enough.

So, there's also IPv6, which is 128-bit, with eight groups of four hexadecimal digits (numbers and lower-case letters mixed), all separated by a colon (for example: 2001:0db8:85a3:0000:0000:8a2e:0370:7334). That offers a lot more than 4 billion addresses. The actual number is a 34 with 37 zeros after it (or 2 to the 128th power), which is technically 340,282,366,920,938,463,463,374,607,431,768,211,455. That's a lot of addresses.

That's all good to know, but how do you find your IP address?


Find Your Internet/Public IP Address

There may come a time when you need to know the IP address of your router, as assigned by your ISP. This can be particularly handy for things like VoIP calls or remote control software.

What you'll also find is that there's lots of information about you attached to that IP address, specifically your ISP's name and your general location (called a GeoIP). That's because ISPs dole out a range of IP addresses. Figuring out your provider and general location based on IP address is as simple as consulting a public list.

The simplest way to check your router's public IP address is to search "what is my IP?" on a search engine.

(Credit: Google/PCMag)

With Google, that's all you see. There are plenty of sites out there that will show you the exact same thing. They see it simply because by visiting the site, your router has made a request, and thus revealed the IP address. Sites like WhatIsMyIP.com and IPLocation all go farther, showing off the names of your ISP, your city, and even maps.

The GeoIP info is far from foolproof. Generally, you're going to get an approximation of location—where the provider is, not the actual computer. In visiting those sites, I was told I was in Ithaca, New York...and Syracuse, New York. One gave a latitude/longitude that put me in North Carolina (which could be where my ISP has a data center, for all I know). Be sure to log out of your VPN service, too. Getting a real address for the public IP address usually requires a search warrant taken to the ISP.


Find Your Internal IP Address

Every device that connects to your internal network, be it at home or the office, has an IP address (your PC, your smartphone, your smart TV, your network printer, etc.) It doesn't matter if it's using Wi-Fi or Ethernet. They've all got an IP address if they're talking to the internet, or each other, through your router.

In the most basic network, your router is going to have an IP address like 192.168.0.1, and that will be called the "gateway." You'll see it pop up a lot as you look for the IP addresses of other devices. That typically means your router will use DHCP to assign addresses to devices, where only the last octet changes. So 192.168.0.101, or 192.168.0.102, for example. It depends on the range defined by your router.

This is pretty much the same on all internal networks, because they're hidden behind the router, which routes all that communication in and out to the proper places. If you have a big internal network, another number called a subnet will help divide your network into groups. The subnet mask used by most home networks is 255.255.255.0.

So how do you find it? In Windows there are a couple of methods. You can go to Start > Settings > Network & Internet. Under Wi-Fi click the wireless network you're on and look under Properties. If you're on an Ethernet connection, click Ethernet. You'll find all the data, plus buttons to copy it to paste in elsewhere.

The old-school method requires the command prompt. Search for "cmd" (without the quotes) using Windows search. Click to get the Command Line. In the resulting pop-up box, type "ipconfig" (no quote marks) then Return/Enter.

(Credit: Microsoft/PCMag)

What is revealed is more than just the IP address: you'll see the IPv4 address (and IPv6 if supported), the subnet mask, plus the Default Gateway (that's your router). Look above that row of data in the middle, and it shows the type of connection: "Wireless LAN adapter Wi-Fi." If I was using a wired connection it would have information under "Ethernet adapter."

On the Mac, go to the System Preferences, select Network, and it should be right there. Click the connection type on the left to see the IPs for each type. You may need to click the TCP/IP tab at the top with slightly older versions. Optionally, go full geek and open the Terminal and type "ipconfig" just like on Windows.

On an iOS/iPadOS, go into Settings > Wi-Fi, and click the "i" in a circle next to the network you're on. The IP address, subnet, and router (gateway) will all be there under both an IPv4 and IPv6 section, as seen below.

(Credit: Apple/PCMag)

If you need the IP address of other devices on your network, go into the router. How you access your router depends on the brand and the software it runs. In general, you should be able to type the router's gateway IP address into a web browser on the same network to access it. From there, you need to navigate to something like "attached devices." Then you get a full list of all the devices currently (or recently) attached to the network—and that list includes the IP address assigned to each device.

If you're lucky, you've got a modern router (or set of routers, like a mesh system) that can be controlled with mobile apps. The app may make it a lot easier to find the IP address(es) you want. Click the icon next to each device to show the IP address and more info for each.

About Our Expert

Eric Griffith

Eric Griffith

Senior Editor, Features

My Experience

I've been writing about computers, the internet, and technology professionally since 1992, more than half of that time with PCMag. I arrived at the end of the print era of PC Magazine as a senior writer. I served for a time as managing editor of business coverage before settling back into the features team for the last decade and a half. I write features on all tech topics, plus I handle several special projects, including the Readers' Choice and Business Choice surveys and yearly coverage of the Best ISPs and Best Gaming ISPs, Best Products of the Year, and Best Brands (plus the Best Brands for Tech Support, Longevity, and Reliability).

I started in tech publishing right out of college, writing and editing stories about hardware and development tools. I migrated to software and hardware coverage for families, and I spent several years exclusively writing about the then-burgeoning technology called Wi-Fi. I was on the founding staff of several magazines, including Windows Sources, FamilyPC, and Access Internet Magazine. All of which are now defunct, and it's not my fault. I have freelanced for publications as diverse as Sony Style, Playboy.com, and Flux. I got my degree at Ithaca College in, of all things, television/radio. But I minored in writing so I'd have a future.

In my long-lost free time, I wrote some novels, a couple of which are not just on my hard drive: BETA TEST ("an unusually lighthearted apocalyptic tale," according to Publishers' Weekly) and a YA book called KALI: THE GHOSTING OF SEPULCHER BAY. Go get them on Kindle.

I work from my home in Ithaca, NY, and did it long before pandemics made it cool.

The Technology I Use

My first computer was a Laser 128, an Apple II-compatible clone with an integrated keyboard, matched with an eye-straining monochrome green monitor. I used it to type papers in college for other people for money...until I discovered the Mac SE in the college computer room. That changed my life. My first cellphone was a Samsung Uproar—the silver one with the built-in MP3 player from the Napster days (the pre-iPod era).

I use an iPhone 15 Pro hourly and an iPad Air infrequently (but I'm always in the market for a cheap Android tablet). I have a PlayStation 5 just to play Spider-Man, and several Windows machines, including a work-issued Lenovo ThinkPad. I talk to Alexa and Siri all day long. I do the majority of my computing on a 15-inch LG Gram laptop attached to a Thunderbolt hub to run a multi-monitor setup—I overdid it on the power needed to simply work from home.

I'm most at home in Microsoft Word after decades of writing there. More and more, I turn to services like Google Docs, using tools like Grammarly. I use Google's Chrome browser due to an addiction to several extensions I think I can't live without, but probably could. I use Excel extensively on data-intensive stories, but for chart creation, we've switched over entirely to using Infogram for interactive features that are hard to find elsewhere. I do a lot of graphics work for my stories, but limit myself to the free and amazing Paint.NET software to edit images.

I'm a firm evangelist for using the cloud for backup and syncing of files; I'm primarily using Dropbox, which has never failed me, but I also have redundant setups on Microsoft OneDrive, plus extra picture backups on Amazon Photos and iCloud. Why take chances? For entertainment, mine is a streaming-only household—my kid has never seen network TV and barely been exposed to commercials, thanks to Roku and Amazon Music. The house is peppered with smart speakers from Amazon for instant gratification and control of smart home devices like multiple Wyze cameras and Nest Protect smoke detectors. I've got accounts on all the major social networks, to my horror. I have a robot vacuum for each floor of the house. I want a 3D printer, but not sure what I'd use it for.

Read full bio