All the IPv4 figures
Network, broadcast, netmask, wildcard mask, first and last host, total addresses and usable hosts.
Work out the network, broadcast, netmask, wildcard, first and last host and host count of an IPv4 CIDR block, or the range of an IPv6 prefix.
Type an address and prefix, such as 192.168.1.10/24
Press Work out the subnet
Read the range and the host count
An IPv4 address with a prefix, such as 192.168.1.10/24, describes a whole block of addresses. The prefix says how many leading bits name the network; the rest number the hosts inside it. Type one or more blocks, one per line, and each is worked out.
Network is the first address of the block, with every host bit zero. Broadcast is the last, with every host bit one, and a packet sent to it reaches every host on the network. Netmask is the prefix written as an address, 255.255.255.0 for /24, and wildcard is its inverse, 0.0.0.255, with a one for every host bit. First host and last host bound the addresses you can give to devices.
The block holds 2 to the power of (32 minus the prefix) addresses. Two of them, the network and broadcast addresses, are not given to hosts, so a /24 has 254 usable addresses and a /30 has 2. The exceptions are /31, which RFC 3021 allows on point-to-point links with both addresses usable, and /32, a single host.
The result names the kind of range the address falls in, using the IANA special-purpose registry: the RFC 1918 private ranges (10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16), the carrier-grade NAT range 100.64.0.0/10, loopback, link-local, multicast and the three documentation ranges. Anything else is shown as public.
Type an IPv6 address with a prefix, such as 2001:db8::1/64. The result gives the address in RFC 5952’s short form and written out in full, the network, the first and last address, and the number of addresses, worked out exactly however large. IPv6 has no broadcast address and no reserved host addresses.
Nothing is uploaded. Addresses are worked out in this tab.
Network, broadcast, netmask, wildcard mask, first and last host, total addresses and usable hosts.
Private, carrier-grade NAT, loopback, link-local and documentation ranges are named from the IANA registry.
Addresses are worked out in your browser and never sent anywhere.
Nothing uploaded: open the Network panel while it runs and check.
No daily limits or watermarks: free batches take up to 20 images.
Works offline: once the page has loaded, on any current browser.
256 addresses, of which 254 can be hosts. The first address names the network and the last is the broadcast address, so the usable range of 192.168.1.0/24 is 192.168.1.1 to 192.168.1.254.
RFC 3021 lets a point-to-point link use a /31, with both addresses as hosts and no network or broadcast address, which saves addresses on router links. A /32 is a single host.
Yes. Write the address, a space and the mask, such as 10.0.0.5 255.255.255.0. The mask must have all its one bits on the left, which every real netmask has; 255.0.255.0 is refused.
The address in its short and full forms, the network, the first and last address of the prefix, and how many addresses it holds. IPv6 has no broadcast address, and a prefix shorter than /64 also shows how many /64 subnets fit in it.