Calculate network, broadcast address, and host count by IP and mask.
The subnet calculator computes network parameters for an IP address in CIDR format (e.g., 192.168.1.0/24): network address, broadcast address, host range, and subnet mask. Useful for VLAN planning, router configuration, or address space allocation.
CIDR (Classless Inter-Domain Routing) records the netmask as the number of consecutive one-bits after the slash, e.g., /24 corresponds to the 255.255.255.0 mask.
The first address of the subnet is reserved for the network address, and the last is for the broadcast address; therefore, they cannot be assigned to hosts.
Currently, the calculator only works with IPv4; please use a separate tool for IPv6 conversion.