Output will appear here
Click in the output to select all text
Output will appear here
Click in the output to select all text
Validate IPv4 and IPv6 addresses and classify as public, private, or loopback.
Convert standard IPv4 addresses to IPv4-mapped IPv6, 6to4, and hex formats.
Validate MAC addresses and reformat between colon, hyphen, and dot-separated notation.
Generate standard BIND-style DNS zone records for A, AAAA, CNAME, MX, TXT, and SPF.
Generate standard localhost and local development test URLs with ports and routes.
This CIDR subnet calculator takes any IP address with a CIDR prefix, like 192.168.1.0/24, and instantly computes the network address, broadcast address, subnet mask, wildcard mask, and the number of usable hosts. It's built for network engineers, sysadmins, and students learning subnetting who need accurate results without manually working through binary math. Rather than calculating a netmask by hand or guessing host ranges, this ip range calculator does the arithmetic for you and shows the full breakdown of the subnet in one view. It's equally useful for planning VLAN segmentation, configuring firewall rules, or double-checking homework on classless inter-domain routing. All calculations happen instantly in your browser - no address is ever sent to a server, and there's nothing to install or sign up for. Enter an IP address and CIDR prefix below to see the complete subnet breakdown.
A /24 subnet has 256 total addresses, with 254 usable host addresses after subtracting the network and broadcast addresses.
The netmask marks network bits with 1s and host bits with 0s, while the wildcard mask is its inverse, commonly used in ACLs and OSPF configuration.
The broadcast address is the highest address in a subnet, reserved for sending data to all hosts on that network segment.
Yes, a /32 represents a single host address with no usable range beyond that one IP.
This calculator is focused on IPv4 subnetting; use the dedicated IPv4 to IPv6 converter for IPv6-related conversions.
A /29 subnet provides 8 total addresses and 6 usable host addresses after reserving the network and broadcast addresses.
A /31 has only 2 addresses total; under RFC 3021 both can be used for point-to-point links without a traditional broadcast address.