IPv4 Addresses

Comprehensive IPv4 addressing fundamentals, subnetting calculators, and reference tables for networking.

About IP Addresses

IP (Internet Protocol) addresses are unique numerical identifiers assigned to devices on a network to enable communication.

  • IPv4 addresses are 32-bit numbers written in dotted decimal notation (e.g., 192.168.1.1)
  • Divided into network and host portions using subnet masks
  • Essential for routing, addressing, and network segmentation

IPv4 Ranges

ClassRangeCIDRAddressesPurpose
Class A0.0.0.0 - 127.255.255.255/816,777,216Large Networks
10.0.0.0 - 10.255.255.255/816,777,216Private networks (RFC 1918)
127.0.0.0 - 127.255.255.255/816,777,216Loopback addresses
Class B128.0.0.0 - 191.255.255.255/1665,536Medium Networks
169.254.0.0 - 169.254.255.255/1665,536Link-local (APIPA)
172.16.0.0 - 172.31.255.255/121,048,576Private networks (RFC 1918)
Class C192.0.0.0 - 223.255.255.255/24256Small Networks
192.168.0.0 - 192.168.255.255/1665,536Private networks (RFC 1918)
Class D224.0.0.0 - 239.255.255.255N/A268,435,456Multicast addresses
Class E240.0.0.0 - 255.255.255.255N/A268,435,456Reserved/Experimental

IPv4 Address Structure

Decimal Notation
Human-readable format (0-255 per octet)
Binary Representation
11000000.10101000.00000001.00001001
32 bits total (4 octets x 8 bits each)

IPv4 Networking

Enter Address with CIDR
Network Bits:24Host Bits:8Binary Mask:11111111.11111111.11111111.00000000Subnet Mask:255.255.255.0
Key Concepts
  • 32-bit address system - Four octets (8 bits each)
  • CIDR notation - Classless Internet Domain Routing
  • Network and Host portions - Determined by subnet mask
  • Reserved addresses - Network and broadcast addresses
Network Details
Network Address:192.168.1.0First Usable Host:192.168.1.1Last Usable Host:192.168.1.254Broadcast Address:192.168.1.255Subnet Mask:255.255.255.0Total Addresses:256Usable Hosts:254
Host Calculation
Hosts = 2^(32-24) - 2
Hosts = 2^8 - 2
Hosts = 256 - 2
Hosts = 254

CIDR Subnet Reference Table

CIDRSubnet MaskBinary MaskHostsNetworksClass
/8255.0.0.011111111.00000000.00000000.0000000016,777,214256A
/16255.255.0.011111111.11111111.00000000.0000000065,53465,536B
/24255.255.255.011111111.11111111.11111111.0000000025416,777,216C
/25255.255.255.12811111111.11111111.11111111.1000000012633,554,432-
/26255.255.255.19211111111.11111111.11111111.110000006267,108,864-
/27255.255.255.22411111111.11111111.11111111.1110000030134,217,728-
/28255.255.255.24011111111.11111111.11111111.1111000014268,435,456-
/29255.255.255.24811111111.11111111.11111111.111110006536,870,912-
/30255.255.255.25211111111.11111111.11111111.1111110021,073,741,824Point-to-Point
/31255.255.255.25411111111.11111111.11111111.1111111022,147,483,648Point-to-Point
/32255.255.255.25511111111.11111111.11111111.1111111114,294,967,296Host Route