Network tool
CIDR calculator
Enter an IPv4 or IPv6 CIDR network. Host-prefix input such as 8.8.8.8/24 is accepted and normalized to the canonical network.
- Input
- 172.16.0.0/12
- Canonical network
- 172.16.0.0/12
- IP version
- IPv4
- Prefix length
- 12
- Network address
- 172.16.0.0
- First address
- 172.16.0.0
- Last address
- 172.31.255.255
- Total addresses
- 1048576
- Netmask
- 255.240.0.0
- Broadcast
- 172.31.255.255
- Usable hosts
- 1048574
What this tool does
The CIDR calculator normalizes a network, calculates its first and last address, counts total addresses, and shows IPv4-specific netmask, broadcast, and usable host values.
Use it when a firewall, DNS provider, hosting panel, or network document gives you CIDR notation and you need the actual address range. Start with the CIDR notation guide if the slash number is unfamiliar.