Subnet / CIDR Calculator
Calculate network, netmask, wildcard, broadcast, host range and binary bits for IPv4 CIDR.
- CIDR block
192.168.10.0/24- Network address
192.168.10.0- Netmask
255.255.255.0- Wildcard mask
0.0.0.255- Broadcast address
192.168.10.255- Usable host range
192.168.10.1 – 192.168.10.254- Usable hosts
254- Total addresses
256- Class / Scope
Class C · Private (RFC 1918)- Binary IP
11000000.10101000.00001010.00101010- Binary Netmask
11111111.11111111.11111111.00000000
Your input is processed locally in this browser tab.
How to use Subnet / CIDR Calculator
Enter an IPv4 CIDR (e.g. 192.168.10.42/24) or dotted mask (10.0.0.5/255.255.240.0).
Inspect Network, Netmask, Wildcard, Broadcast, Usable IP range, Class/Scope, and 32-bit binary layout.
Click Copy next to any field.
Frequently asked questions
How are /31 and /32 point-to-point or host routes counted?
Following RFC 3021, /31 reports 2 usable host addresses and /32 reports 1 host address.
Are non-contiguous subnet masks rejected?
Yes. Invalid masks like 255.0.255.0 trigger a clear validation message.