IPv4, short for Internet Protocol version 4, is the addressing and packet-delivery system used to move data between networks. This explainer clarifies what an IPv4 address means, how routers use it, and how IPv4 differs from IPv6; it is informational rather than a calculator, so there is no numeric result to enter.
What IPv4 means
IPv4 is the fourth version of the Internet Protocol, a core network protocol that provides logical addresses and rules for forwarding packets across interconnected networks. The term is a standard technical name, not slang or an informal expression. “IPv4” is the conventional written form; it expands to “Internet Protocol version 4.” In a sentence: “The router received an IPv4 address from the internet provider.”
The protocol identifies a source and destination address in each packet so network equipment can forward it toward the destination. IPv4 does not, by itself, guarantee delivery, encrypt information, or specify how an application such as a browser formats its data. It works alongside other protocols: TCP, for example, can provide ordered, reliable delivery, while UDP provides a different transport service.
Where IPv4 came from
IPv4 grew out of the internet’s early packet-switched networking research. The Internet Protocol was specified in the 1970s and formalized in the early internet standards process. RFC 791, published in 1981, is the foundational specification commonly associated with IPv4. The “4” is a version identifier, not a claim that four different protocols must be running at once.
IPv4 became the widely deployed protocol for the expanding internet. Its address field is 32 bits long, allowing 232, or 4,294,967,296, possible bit patterns. Not all of those patterns are available as ordinary public host addresses: some are reserved for special purposes, and many address blocks are used privately or for other functions. As demand grew, the limited size of the address space became a central reason for developing IPv6.
How an IPv4 address is written
People usually see IPv4 addresses in dotted-decimal form: four numbers separated by periods. Each number represents eight bits, called an octet, and ranges from 0 to 255. For example, 192.0.2.25 is a syntactically valid IPv4 address. The range 192.0.2.0/24 is reserved for documentation, so this example is not intended as a real public destination.
An address has a network portion and a host portion, but the boundary is determined by a subnet mask or prefix length, not by the dots alone. For example, 192.168.1.25/24 indicates a 24-bit network prefix. In this example, the network is 192.168.1.0/24, and the address identifies a point within that subnet. The notation “/24” means that the first 24 bits are the network prefix; it does not mean that the address contains 24 devices.
- Public addresses are globally coordinated for use across the public internet, subject to routing and allocation policies.
- Private addresses are used within local networks and are not routed across the public internet as ordinary public destinations. Common private ranges include 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16.
- Special-purpose addresses include loopback addresses such as 127.0.0.1, used by a device to refer to itself, and link-local addresses used for communication on a local network segment.
How IPv4 moves data
When an application sends data, networking software divides it into packets and adds protocol headers. An IPv4 header carries information such as the source and destination addresses, packet length, and a field that limits how many router hops the packet can make. Each router checks the destination address and consults its forwarding information to choose a next step. The packet may cross several networks before reaching the destination network.
On a local network, a device also needs a link-layer destination address to deliver a frame to the next device. IPv4 does not replace that local delivery mechanism. For example, a computer sending traffic to an address outside its own subnet normally sends the local frame to its configured default gateway, which then forwards the IP packet onward.
IPv4 is connectionless: sending an IP packet does not first establish an IP-level session, and IP alone does not promise that the packet will arrive. Packets can be delayed, dropped, duplicated, or delivered out of order. Higher-layer protocols and applications handle reliability or tolerate loss as needed. The IPv4 header includes a time-to-live (TTL) value, decremented by routers, to prevent a packet from circulating indefinitely.
Private networks, NAT, and address limits
Because public IPv4 addresses are limited, many homes and organizations use private IPv4 addresses internally. A router commonly uses network address translation (NAT) to let multiple devices share one public IPv4 address for many outbound connections. The router tracks those connections and directs returning traffic to the appropriate internal device.
NAT helps conserve public addresses, but it is not the same thing as a firewall and does not automatically make a network secure. Nor does it mean devices lack IPv4 addresses: a laptop might have a private address on Wi-Fi while the router has a public address on its internet-facing connection. Some providers also use carrier-grade NAT, placing another translation layer within the provider’s network.
IPv4 and IPv6 compared
IPv6 is the newer Internet Protocol version, designed in part to provide a vastly larger address space. IPv6 addresses are 128 bits and are usually written as groups of hexadecimal digits separated by colons. IPv4 uses 32-bit addresses in dotted-decimal notation. The two protocols are distinct; an IPv4 address cannot simply be rewritten as an IPv6 address to make it an IPv6 endpoint.
Networks often support both protocols through dual-stack operation, where a device can use IPv4 or IPv6 according to the destination and available network path. Other transition methods can carry or translate traffic between environments. IPv4 remains widely used, so the arrival of IPv6 has not made IPv4 instantly obsolete. A device or service may support one protocol, both, or different protocols on different interfaces.
Common IPv4 questions and problems
A device’s displayed address can be private rather than public. If two devices show addresses beginning with 192.168, for example, they may both be using private local addresses; that does not reveal the public address seen by internet services. Also, an address alone does not identify a person or exact physical location. Address assignment, shared connections, and changing addresses make such conclusions unreliable.
When troubleshooting, check whether the device has an address, a subnet prefix or mask, and a default gateway. A missing or self-assigned address can point to a local configuration or address-assignment problem; a valid local address does not prove that the internet connection is working. A failed connection may instead involve the router, provider, DNS lookup, destination service, or a firewall rule. Avoid changing network settings at random: incorrect subnet or gateway values can disconnect a device from its local network.
Frequently Asked Questions
What does IPv4 stand for?
IPv4 stands for Internet Protocol version 4. It is the fourth version of the Internet Protocol and is used to address and forward packets between networks.
How many numbers are in an IPv4 address?
An IPv4 address is normally displayed as four decimal numbers, called octets, separated by periods. Each octet ranges from 0 to 255, as in 203.0.113.7.
Is 192.168.1.1 an IPv4 address?
Yes. It is a valid dotted-decimal IPv4 address and lies within the private range 192.168.0.0/16. It is often used as a local network address, but the address alone does not guarantee that a particular router uses it.
Is IPv4 the same as an IP address?
Not exactly. “IP address” is a general term for an address used by the Internet Protocol. An IP address can be IPv4 or IPv6; IPv4 specifically refers to the version with 32-bit addresses.
Why do we still use IPv4 if IPv6 exists?
IPv4 remains embedded in many networks, devices, and services. IPv6 adoption continues, and networks may run both protocols, but deployment is gradual and IPv4 is still needed for destinations that do not support IPv6.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Secure Boot Battlefield 6 ASUS: Fix & Enable Guide
- Best Tech Websites to Follow for Pros & Beginners
- Second Wind Quest Walkthrough: Where Winds Meet6.00 min/km
- Enshrouded Weapon Upgrade Guide: How to Improve Gear5.00 min/km
- Connect Phone to Controller for Cloud Gaming
- Python Search Highlighting: Snippets & Matches