🦁 IP Animals
🔌 Networking Fundamentals

What Is a MAC Address? MAC vs IP Explained

Every network adapter you own carries a permanent, factory-assigned name. That name is the MAC address, and understanding how it differs from an IP address clears up one of networking's most common confusions.

A MAC address (Media Access Control address) is a unique identifier burned into every network adapter, whether it is the Wi-Fi chip in your phone or the Ethernet port on your laptop. While an IP address can change every time you join a new network, the MAC address is meant to be a fixed, hardware-level name that identifies the physical device on a local network.

What a MAC address looks like

A standard MAC address is a 48-bit number, almost always written as six pairs of hexadecimal digits separated by colons or hyphens. A typical example looks like this:

00:1A:2B:3C:4D:5E

That string is not random. It is split into two meaningful halves:

Together, the two halves are designed to make every network adapter on earth distinguishable from every other one.

MAC address vs IP address

This is the heart of the matter, and a table makes the contrast clear.

AspectMAC addressIP address
Assigned byHardware manufacturerNetwork / router / ISP
Changes?Permanent (but can be spoofed)Often changes between networks
ScopeLocal network onlyAcross the whole internet
LayerData link (Layer 2)Network (Layer 3)
Format48-bit hex, e.g. 00:1A:2B:3C:4D:5Ee.g. 192.168.1.20 or an IPv6 address
JobDeliver frames to the right device on the LANRoute packets to the right network

A helpful analogy: your IP address is like the mailing address that gets a letter to the right building across the country, and your MAC address is like the name on the specific mailbox once the letter reaches that building. You need both, but they work at different scales.

Key fact

MAC addresses generally never leave your local network. As data hops from router to router across the internet, each device rewrites the MAC address to reach the next hop, while the IP address stays the same end to end.

How MAC and IP work together

When your laptop wants to send data to another device on the same network, it needs that device's MAC address, not just its IP. The translation between the two is handled by a protocol called ARP (Address Resolution Protocol) for IPv4. In effect your device shouts, "who has IP 192.168.1.20?" and the owner replies with its MAC address. From then on, frames can be delivered directly.

Once data needs to leave your local network, your router takes over. It uses the destination IP address to figure out where the packet should go next, and swaps in the MAC address of the next router along the path. This happens at every hop, which is why the MAC address you started with does not travel across the internet, but the IP addressing keeps the packet aimed at its final destination the whole way. You can see the broader journey in how data travels the internet.

Can a MAC address be changed?

The manufacturer's MAC is fixed in hardware, but nearly every modern operating system lets you override it in software. Deliberately setting a different MAC is called MAC spoofing. It has legitimate uses, such as testing, privacy, or working around a network that filters by MAC.

Privacy is now the biggest driver. Because a fixed MAC could let shops, airports, and networks track a device as it moves around, current versions of iOS and Android use MAC randomization: they present a different, randomly generated MAC to each Wi-Fi network. This makes it much harder to follow a single phone from place to place using its hardware address.

Does your MAC address affect your privacy online?

For activity on the wider internet, the short answer is no. Websites you visit see your public IP address, never your MAC address, because the MAC is stripped and replaced at the very first router. If you are worried about being identified online, the address that matters is your public IP, and you can read about what it does and does not reveal in can someone find you from your IP.

Where a MAC address does matter is on local networks: Wi-Fi access controls, device tracking within a building, and network management all lean on it. That local role, plus randomization to blunt tracking, is the modern balance.

The short version

A MAC address is the permanent, hardware-level name of a network adapter, working at the local level. An IP address is the changeable, logical name that routes your data across the internet. They cooperate at every step, one getting data to the right network and the other getting it to the right device. Curious about the address the whole internet actually sees? Visit IP Animals to meet your public IP.

Frequently asked questions

What does a MAC address look like?

A MAC address is a 48-bit identifier usually written as six pairs of hexadecimal digits separated by colons or hyphens, such as 00:1A:2B:3C:4D:5E. The first half identifies the hardware manufacturer and the second half is unique to the individual device.

What is the difference between a MAC address and an IP address?

A MAC address is a permanent hardware identifier tied to a network adapter and is used for delivery within your local network. An IP address is a logical, changeable address used to route data across the wider internet. Data uses the IP address to reach your network and the MAC address to reach the final device.

Can a MAC address be changed?

The manufacturer-assigned MAC is burned into the hardware, but most operating systems and phones can override it in software, a practice called MAC spoofing or MAC randomization. Modern phones randomize their MAC per network to make tracking harder.

Does a MAC address reveal my location on the internet?

No. MAC addresses normally do not travel beyond your local network, because routers replace them at each hop. Websites you visit see your public IP address, not your MAC address, so a MAC cannot be used to locate you across the internet.

Curious what your own IP is? Visit the IP zoo →