IPv4/IPv6 with CIDR or subnet mask — network, broadcast, usable hosts, masks, binary.
For authorized and educational use. Results are indicative calculations for the values you enter.
The IP Calculator performs IPv4 and IPv6 address math. Enter an IP address with a subnet mask or CIDR prefix to get the network address, broadcast address (IPv4), usable host range, prefix length, and related details.
It does address arithmetic only. It does not look up WHOIS, geolocation, or DNS, and it does not scan the network. Results describe the range you entered, not whether those addresses are in use.
192.0.2.10/24, and want to see which network it belongs to.255.255.255.0 is the same prefix length as /24.
Example: you are setting aside a documentation or lab range of 192.0.2.0/24. Enter
that prefix (or a host in it, such as 192.0.2.10/24) to see the network address,
broadcast address, and the typical usable host range. Use those figures when you write a diagram
or a plan; they do not show whether any of those addresses are assigned or reachable.
Another example: a colleague sends a mask as 255.255.255.128 and you want the
prefix length and host count. Enter the address and that mask, or the equivalent CIDR form, and
read the prefix length and range the calculator reports. If the result looks larger or smaller
than you expected, check that you did not type the wrong mask — a one-bit mistake changes the
whole range.
In IPv4, the network address identifies the subnet (host bits all zero) and the broadcast address
(host bits all one) is used to reach every host in that subnet. Those two addresses are not normally
assigned to a single host. An IPv4 /24 has 256 addresses, typically leaving 254 usable
host addresses. IPv6 does not use a broadcast address in the same way; the calculator reports prefix
details for the range you enter.
You can enter an address with a prefix in one field (for example 192.0.2.10/24) or
split the address and the mask or prefix into two fields. A dotted mask such as
255.255.255.0 is the same prefix length as /24.
192.0.2.0/24 or 2001:db8::/32 when you are only practising the math.A subnet mask (or prefix length) marks how many bits of an address identify the network versus the host. For example, 255.255.255.0 is the same prefix length as /24 in IPv4.
CIDR (Classless Inter-Domain Routing) writes a prefix as an address plus a length, such as 192.0.2.0/24, instead of relying on old classful network sizes.
An IPv4 /24 has 256 addresses. Typically the network and broadcast addresses are reserved, leaving 254 usable host addresses. This calculator reports those figures for the prefix you enter.
No. It does address math only. It does not query WHOIS, geolocation, or DNS.
For authorized and educational use. Results are indicative calculations for the values you enter, not a scan of any network.