CIDR Calculator
// Calculate CIDR ranges, subnet masks, host counts
Network Address192.168.1.0
Broadcast Address192.168.1.255
Subnet Mask255.255.255.0
Wildcard Mask0.0.0.255
Subnet (Binary)11111111.11111111.11111111.00000000
First Usable Host192.168.1.1
Last Usable Host192.168.1.254
Total Addresses256
Usable Hosts254
CIDR Prefix/24
IP ClassC
#About CIDR Calculator
Free online CIDR calculator. Calculate network address, broadcast address, subnet mask, wildcard mask, and host count from any CIDR notation. This tool runs entirely in your browser — your data is never sent to a server. Just paste your input, get instant results, and copy with one click. No sign-up or installation required.
#FAQ
What is CIDR notation? ▾
CIDR (Classless Inter-Domain Routing) notation represents an IP address and its network prefix length, written as IP/prefix (e.g., 192.168.1.0/24). The prefix length indicates how many bits define the network portion.
How do I calculate the number of hosts in a subnet? ▾
The number of usable hosts is 2^(32 - prefix length) - 2. The subtraction of 2 accounts for the network address and broadcast address. For example, a /24 network has 2^8 - 2 = 254 usable hosts.
</> Embed this tool ▾
Copy this code to embed the tool on your website. Adjust the height to fit your layout.
<iframe src="https://www.browserutils.dev/embed/cidr-calculator" width="100%" height="500" frameborder="0" title="CIDR Calculator"></iframe>