IPv4 Subnet
Calculate, compare, and summarize IPv4 networks.
Loading tool…
Calculate, compare, and summarize IPv4 networks.
Loading tool…
Class presets change only the mask. Modern CIDR lets you choose any prefix, regardless of the address’s historical class.
Paste IPv4/CIDR, or enter an address and edit either mask field. CIDR 0–32 and contiguous netmasks convert both ways.
Smallest fit: /25, 126 usable addresses. LAN sizing reserves network and broadcast addresses. Applying a size keeps your IPv4 address.
Calculate to see the host range, wildcard mask, address bits, and subnet planner.
Check whether two networks are separate, identical, or one contains the other.
Enter IPv4/CIDR. Host addresses are normalized to network boundaries. Counts include every address, including network and broadcast.
Find overlapping networks and reduce a list to its smallest exact CIDR cover.
Convert an inclusive IPv4 range to exact CIDRs, or CIDRs to continuous ranges without filling gaps.