Developer tool
CIDR Calculator
Calculate IPv4 network range, subnet mask, broadcast address, and host count.
Runs in your browser- Network
- 192.168.1.0/24
- Subnet mask
- 255.255.255.0
- Broadcast
- 192.168.1.255
- Total addresses
- 256
- Usable hosts
- 254
How to use this CIDR calculator
- Enter the IPv4 address and CIDR prefix, then confirm that the prefix matches the network you intend to inspect.
- Review the calculated totals, units, and assumptions. Check syntax, escaping, and edge cases against the source before using the result in a live project.
- Change one input at a time to compare another case, then copy or save the result you plan to use.
About this CIDR calculator
Use the CIDR Calculator to calculate IPv4 network range, subnet mask, broadcast address, and host count. Each control affects a specific part of the result.
You can also use it to compare results after changing one input.
Example
Enter 192.168.1.0/24 in the CIDR Calculator to inspect the mask, network range, broadcast address, and usable hosts.
Common uses
- → calculate IPv4 network range, subnet mask, broadcast address, and host count
- → compare results after changing one input
- → save an estimate for planning or comparison