Skip to content

What is an IP address?

Updated

An IP address is a number that identifies a device or a connection on a network, so data knows where to go and where to come back to. It works like a postal address: without one, a reply has nowhere to be delivered.

IPv4 and IPv6

IPv4 addresses are 32 bits long and written as four numbers from 0 to 255, separated by dots. That allows about 4.3 billion addresses, which the world has used up.

192.168.1.10    203.0.113.7

IPv6 addresses are 128 bits long and written as eight groups of hexadecimal digits separated by colons. One run of zero groups can be shortened to a double colon. IPv6 offers far more addresses than will ever be needed.

2001:db8::1  is short for  2001:0db8:0000:0000:0000:0000:0000:0001

Public and private addresses

Some ranges are reserved for use inside a home or an office and are never routed across the internet. In IPv4 they are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. Your router usually has one public address and gives every device a private one, translating between the two (this is called NAT).

Why the address a website sees may not be yours

A website sees the public address of the network you connect from, which is shared by every device behind your router. On a work network, mobile data or a VPN, one address can be shared by many people, and a VPN shows the VPN's address instead of your own.

Good to know. An address says which network a connection came from, not who is using it. Any location worked out from an address is approximate.

See your own public address