Subnet calculator
Enter an IPv4 or IPv6 address with its prefix: the network address, usable range, address count, mask and address type are calculated, and you can split the network into smaller subnets.
Result
Split into subnets
How to use it
- Type it as 192.168.1.10/24, 10.0.0.0 255.255.255.0 or 2001:db8::1/48; IPv4 and IPv6 are recognised automatically.
- Without a prefix, /24 is assumed for IPv4 and /64 for IPv6.
- To split the network, choose the target prefix; the first 256 subnets are listed and the total is always shown.
FAQ
Why are there two fewer usable addresses?
In IPv4 the first address of a network identifies the network itself and the last is the broadcast address; neither is given to devices. /31 (RFC 3021, point-to-point links) and /32 are exceptions. IPv6 has no broadcast address.
What is a wildcard mask?
The inverse of the netmask (0.0.0.255 for a /24, for example). It is used in Cisco access lists and OSPF configuration.
Why /64 in IPv6?
IPv6 LANs should be /64 for SLAAC and most operating systems. Users are usually given a /48 or /56, which is 65,536 or 256 /64s.
Can you see the data I paste?
No. The tools run in your browser; what you enter is not sent to our server and is not stored anywhere. When you open the page, the web server keeps an access log as on any site (IP address, date, requested address, browser identifier); it contains none of your data and is deleted after about 10 days. Your browser remembers only your preferences (such as indentation). See the privacy policy for details.