How to Find Your IP Address

There are two types of IP addresses you might need to find: your public IP (how the internet sees you) and your private/local IP (your address on your local network). Here's how to find both on any device.

Find Your Public IP (Easiest Method)

The fastest way to find your public IP address is to visit WhatIP.ca. Your public IP is displayed instantly along with location, ISP, and other details.

lightbulb Quick Tip

Your public IP is assigned by your ISP and shared by all devices on your home network. Your private IP is unique to each device within your local network.

Windows

Private IP via Settings

  1. Click StartSettingsNetwork & Internet
  2. Click Wi-Fi or Ethernet (depending on your connection)
  3. Click Hardware properties
  4. Find IPv4 address

Private IP via Command Prompt

ipconfig

# Look for:
# IPv4 Address. . . . . . . . . . . : 192.168.1.5
# Default Gateway . . . . . . . . . : 192.168.1.1 (your router)

Public IP via Command Line

curl ifconfig.me
# or
nslookup myip.opendns.com resolver1.opendns.com

macOS

Private IP via System Settings

  1. Click Apple menuSystem Settings
  2. Click Network
  3. Select your connection (Wi-Fi or Ethernet)
  4. Click Details
  5. Your IP is shown under IP address

Private IP via Terminal

# Wi-Fi
ipconfig getifaddr en0

# Ethernet
ipconfig getifaddr en1

# All interfaces
ifconfig | grep "inet "

Public IP via Terminal

curl ifconfig.me
# or
curl whatip.ca/api/ip

Linux

Private IP

# Modern method
ip addr show
# or
ip a

# Look for "inet" under your interface (eth0, enp0s3, wlan0, etc.)

# Older method
ifconfig

# Quick one-liner
hostname -I

Public IP

curl ifconfig.me
curl icanhazip.com
curl whatip.ca/api/ip
dig +short myip.opendns.com @resolver1.opendns.com

iPhone & Android

iPhone (Private IP)

  1. Open Settings
  2. Tap Wi-Fi
  3. Tap the next to your connected network
  4. Find IP Address

Android (Private IP)

  1. Open Settings
  2. Tap Network & Internet (or Connections)
  3. Tap Wi-Fi
  4. Tap your connected network
  5. Find IP address

Public IP on Mobile

Simply visit WhatIP.ca in your mobile browser to see your public IP.

Find Your Router's IP

Your router's IP (default gateway) is needed to access its admin panel.

Common Router IPs

Brand Common Default IP
Most routers192.168.1.1
Linksys192.168.1.1
Netgear192.168.0.1 or 192.168.1.1
D-Link192.168.0.1
ASUS192.168.1.1
TP-Link192.168.0.1
Google/Nest192.168.86.1

Find Router IP via Command

Windows:

ipconfig
# Look for "Default Gateway"

macOS:

netstat -nr | grep default

Linux:

ip route | grep default

Check Your Public IP Now

See your public IP, location, ISP, and more details instantly.

search Check My IP