Number Base Converter
Convert numbers between binary, octal, decimal, and hexadecimal.
Calculate network address, broadcast, subnet mask, and usable hosts from an IP/CIDR.
This tool calculates all the network information you need from an IP address and CIDR prefix length. It supports subnet design, firewall rule configuration, and routing setup — essential tasks for network engineers.
CIDR (Classless Inter-Domain Routing) is a notation that combines an IP address and a network prefix length separated by a slash. For example, "192.168.1.0/24" specifies the IP address "192.168.1.0" with a prefix length of 24 (equivalent to subnet mask 255.255.255.0).
A /24 network (subnet mask 255.255.255.0) has 256 total addresses. Excluding the network address and broadcast address, it can accommodate 254 usable hosts.
Private IP addresses are ranges reserved for internal networks that are not directly routable on the internet. Defined by RFC 1918, there are three blocks - 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16.
A wildcard mask is the bitwise inverse (logical NOT) of a subnet mask. It is commonly used in router configurations such as Cisco ACLs and OSPF. For example, the wildcard for subnet mask 255.255.255.0 is 0.0.0.255.
/32 is used to specify a single host (e.g. host routes or route aggregation). /31, defined in RFC 3021, is used for point-to-point links and allows both addresses to be used as valid hosts.