Calculate IPv4 subnets and IP ranges. It is completely free and very easy to use.
Loading tool...
A method used to divide a large computer network into smaller, manageable pieces.
The IPv4 Subnet Calculator performs Classless Inter-Domain Routing (CIDR) calculations, determining network addresses, broadcast addresses, usable IP host ranges, total addresses, and netmasks for network planning and cloud VPC design.
Executes bitwise operations on 32-bit binary IPv4 integers. By applying the subnet mask bitmask to the IP address, it calculates the network prefix ($IP \land Mask$), the host wildcard ($ eg Mask$), and the broadcast address ($Network \lor Wildcard$).
IP: 192.168.1.50, CIDR: /24Netmask: 255.255.255.0 | Network: 192.168.1.0 | Usable: 192.168.1.1 - 192.168.1.254 | Broadcast: 192.168.1.255 | Total Hosts: 254Provides 256 total IP addresses, reserving the first address for the network ID and the last for broadcast.
Classless Inter-Domain Routing (CIDR) represents an IP address and its subnet mask as a prefix length (e.g. /24 indicates 24 network bits and 8 host bits, corresponding to 255.255.255.0).
The formula for usable hosts is (2^(32 - CIDR)) - 2. Two addresses are reserved: the first is the Network Identifier and the last is the Broadcast Address (except for /31 point-to-point and /32 single host routes).
A wildcard mask is the bitwise inverse of the subnet mask (e.g., 255.255.255.0 has a wildcard mask of 0.0.0.255), commonly used in Cisco access control lists (ACLs) and OSPF routing configurations.