IP Subnet Calculator
Calculate the network, address range and address count for IPv4 or IPv6. The calculation runs in your browser.
How it works
-
Enter an address and prefix
Use CIDR notation such as 192.0.2.25/24. For IPv4, a dotted subnet mask after the slash also works.
-
Calculate the range
Read the network address, first and last addresses, and the address count.
How to read a subnet calculation
The network uses the given prefix. The total counts every address in that prefix. For an ordinary IPv4 subnet, the host range excludes the network and broadcast addresses. IPv4 point-to-point links can use both addresses of a /31 prefix. IPv6 shows the full numeric range.
FAQ
Common questions
What does /24 mean?
The first 24 bits of the address identify the subnet. An IPv4 /24 contains 256 addresses, of which 254 are host addresses on an ordinary subnet.
Why are both addresses usable in a /31?
RFC 3021 allows both IPv4 addresses on a point-to-point link. A /32 identifies a single address.
Does IPv6 have a broadcast address?
IPv6 uses multicast where needed. The calculator displays the full range without an IPv4-style broadcast address.
Catch the changes that matter.
Before your team does.
- Free 7-day trial
- No credit card
- 3 monitors free, forever