CIDR Calculator
Calculate IPv4 and IPv6 subnet information instantly from CIDR notation.
What is CIDR?
CIDR (Classless Inter-Domain Routing) is a method for allocating IP addresses and routing Internet Protocol packets. It replaces the old class-based addressing system and allows for more flexible allocation of IP address space.
A CIDR notation looks like 192.168.1.0/24, where /24 is the prefix length — indicating how many bits are used for the network portion of the address.
Common CIDR Ranges
| CIDR | Subnet Mask | Usable Hosts | Common Use |
|---|---|---|---|
/8 | 255.0.0.0 | 16,777,214 | Large enterprise / ISP |
/16 | 255.255.0.0 | 65,534 | Medium network |
/24 | 255.255.255.0 | 254 | Office / home network |
/28 | 255.255.255.240 | 14 | Small segment |
/30 | 255.255.255.252 | 2 | Point-to-point link |
/32 | 255.255.255.255 | 1 | Host route |
How to use this calculator
- Enter an IPv4 or IPv6 address with prefix length (e.g.
10.0.0.0/8). - Click Calculate or press Enter.
- View the network address, broadcast, subnet mask, host range, and binary representation.
- Copy any value with the copy button.
Frequently Asked Questions
What is the difference between /24 and /25?
A /24 network has 256 total addresses (254 usable), while a /25 splits that in half — giving two networks of 128 addresses each (126 usable).
What is a broadcast address?
The broadcast address is the last address in a subnet. Packets sent to this address are delivered to all hosts in the network.
Does Yurlie send my IP address to a server?
No. This CIDR calculator runs entirely in your browser using JavaScript. Your data never leaves your device.