Requests today 336
Cyber attacks today 1
Last cyber attack 2h ago
Against this website
Examples:

For authorized and educational use. Results are indicative calculations for the values you enter.

What this tool does

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.

When to use it, with examples
  • You are planning a new subnet and need the network address, broadcast address (IPv4), and usable host range for a prefix you already chose.
  • You have an address written with a prefix, such as 192.0.2.10/24, and want to see which network it belongs to.
  • You need to confirm that a dotted mask such as 255.255.255.0 is the same prefix length as /24.
  • You are reading an IPv6 prefix and want the prefix details for the range you entered (IPv6 does not use a broadcast address in the same way).

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.

How to read the result

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.

Best practices and troubleshooting
  • Double-check the prefix length or mask before you rely on the host count. The calculator reports the range you entered, not the range you meant.
  • Prefer documentation ranges such as 192.0.2.0/24 or 2001:db8::/32 when you are only practising the math.
  • If a result looks wrong, confirm you chose IPv4 or IPv6 correctly, and that a dotted mask was not mixed up with a prefix length.
  • This page does not look up WHOIS, geolocation, or DNS, and it does not scan any network. A calculated range is not evidence that a host is in use or that you may contact it.
  • Use the result as planning arithmetic. For name resolution of a host you are authorized to query, use DNS Lookup.
FAQ

What is a subnet mask?

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.

What is CIDR?

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.

How many hosts are in a /24?

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.

Does this look up WHOIS or geolocation?

No. It does address math only. It does not query WHOIS, geolocation, or DNS.

Limits and authorized use

For authorized and educational use. Results are indicative calculations for the values you enter, not a scan of any network.