IP and Subnet Calculator
Enter an IPv4 or IPv6 range for its network, mask and usable addresses at once.
IP and Subnet Calculator
Enter an IP or rangeDetails
How the subnet is worked out
-
The prefix splits network and host
/26 means the first 26 bits are the network and the rest the host; a dotted mask such as 255.255.255.192 works too. Everything is worked out in your browser; nothing is sent.
-
All-zero and all-one hosts
In IPv4 the all-zero host is the network address and the all-one host the broadcast, not given to devices; both addresses of a /31 are usable (RFC 3021) and a /32 is one address.
-
IPv6 has no broadcast
IPv6 address counts are shown as powers of two; local networks usually use /64.
Reading the bits
- NetworkShared by every address in the range.
- HostDifferent for each address in the range.
Frequently asked questions
Why does a /24 have only 254 usable addresses?
Of its 256 addresses, the first is the network address and the last the broadcast, leaving 254 for devices.
Is the address sent anywhere?
No. The calculation runs entirely in your browser; this page makes no request.
Related tools: WHOIS and Network RangesIP Lookup
Start an IP lookup
See location, network ownership, network property, and provider risk results.