IPv4 and IPv6 Subnet Calculator
Enter a CIDR block to find its address range and count. Add an IP address to check if it belongs to the subnet. Your entries stay in this tab.
How to read the results
In 192.0.2.130/26, the first 26 bits identify the subnet. That gives 192.0.2.128/26, from 192.0.2.128 through 192.0.2.191. The 64 total addresses include the network and broadcast addresses, leaving 62 conventional host addresses.
An IPv4 /31 uses both addresses as endpoints on a point-to-point link. An IPv4 /32 identifies a single address. IPv6 has no broadcast address. The calculator shows the full IPv6 address range and exact count. Host assignments can depend on how your network is configured.