Subnet Calculator
IPv4 and IPv6 subnet calculator: network, broadcast, host range, netmask and wildcard, plus subnet splitting, VLSM planning, range to CIDR and route summarization.
Examples: 10.0.0.5/24, 10.0.0.5 255.255.255.0, a wildcard mask, or any IPv6 form.
Details
- Network address
- 192.168.1.0
- Broadcast address
- 192.168.1.255
- First usable host
- 192.168.1.1
- Last usable host
- 192.168.1.254
- Netmask
- 255.255.255.0
- Wildcard mask
- 0.0.0.255
- CIDR notation
- 192.168.1.0/24
- Prefix length
- /24
- Address as integer
- 3232235786
- Address in hex
- 0xC0A8010A
- Reverse DNS zone
- 1.168.192.in-addr.arpa
- IPv4-mapped IPv6
- ::ffff:192.168.1.10
Binary
Coloured bits are the network part (24 bits); the rest are host bits.
Is an address in this network?
About this tool
Type an address with a prefix (10.0.0.5/24), a netmask (10.0.0.5 255.255.255.0), a Cisco wildcard mask or any IPv6 form, and see the network and broadcast addresses, first and last usable host, host count, netmask, wildcard, address type (private, CGNAT, link-local, documentation…), binary view and reverse DNS zone. Split a network into equal subnets by prefix or by count, plan VLSM subnets from host counts with the biggest blocks first, turn an address range into the fewest CIDR blocks, and merge a list of CIDRs into a summarized route. Everything runs in your browser.
How to calculate a subnet
Work out a network's addresses and split it into subnets.
- 1
Enter an address
Type an IP address with a prefix such as 192.168.1.10/24, a netmask, or an IPv6 block.
- 2
Read the results
See the network, broadcast, host range, netmask, wildcard, type and binary view at once.
- 3
Split or plan
Open Split & VLSM to divide the network by prefix, by count or by the hosts each subnet needs.