What you can do here
- IPv4 and CIDR validation
- Subnet and wildcard masks
- Network and last address
- Usable host counts
- /31 and /32 handling
- Binary octet breakdown
- Copy subnet summary
- Browser-local processing
IPv4 network planning
Enter an IPv4 address such as 192.168.10.42/24 to calculate its subnet mask, network and last address, usable host range, address counts, and binary octets. Processing is entirely local. This tool is free to use. No account or payment is required.
Last updated
An IPv4 address uses 32 bits. A CIDR prefix /24 means the first 24 bits identify the network and the remaining 8 bits identify addresses inside that subnet. The corresponding mask is 255.255.255.0.
This calculator uses IPv4 arithmetic locally and displays both dotted-decimal and binary representations. It does not scan or contact any network endpoint.
In ordinary IPv4 subnets, the first address names the network and the last is traditionally the broadcast address. The displayed conventional usable host count excludes those two addresses.
For a /31 point-to-point subnet, RFC 3021 permits both endpoints, so it has two usable addresses and no separate broadcast address. A /32 represents exactly one address. Actual address assignment depends on routing and local network conventions.
Check a host inside a 256-address private IPv4 subnet.
192.168.10.42/24Network: 192.168.10.0/24; mask: 255.255.255.0; usable: 192.168.10.1–192.168.10.254Common questions
There are 256 total addresses and 254 conventional usable host addresses, excluding the network and broadcast addresses.
RFC 3021 permits both addresses of a /31 point-to-point link. A /32 contains just one individual address, not a conventional network with broadcast.
No. It only performs arithmetic on the IPv4 address you enter in the browser.
No. A plain IPv4 address is treated as /32; enter an explicit prefix to calculate a broader subnet.
Looking for broader references? Browse all developer guides.