Subnet
Runs in your browser· a calculator: addresses you type are never sent anywhere
| Network address | 192.168.1.0 | |
|---|---|---|
| Subnet mask | 255.255.255.0 | |
| Wildcard mask | 0.0.0.255 | |
| Broadcast address | 192.168.1.255 | |
| First usable host | 192.168.1.1 | |
| Last usable host | 192.168.1.254 | |
| Total addresses | 256 | |
| Usable hosts | 254 | |
| CIDR notation | 192.168.1.0/24 | |
| Address type | Private (RFC 1918) |
mask 11111111.11111111.11111111.00000000
net 11000000.10101000.00000001.00000000
Is an address in this subnet?
Split into smaller subnets
4 subnets
- 192.168.1.0/26
- 192.168.1.64/26
- 192.168.1.128/26
- 192.168.1.192/26
IP range to CIDR
10.0.0.1/32, 10.0.0.2/31, 10.0.0.4/31, 10.0.0.6/32
IPv4 CIDR and subnet calculator
Type an IPv4 address with a prefix length (192.168.1.0/24) or a subnet mask and get the network and broadcast addresses, first and last usable host, subnet and wildcard masks, host counts, the binary view and what kind of address space it is. Check whether an address falls inside the subnet, split a subnet into smaller ones, or convert an IP range into the shortest list of CIDR blocks. Everything is calculated in your browser.
Frequently Asked Questions
- What does a CIDR /24 mean?
- The number after the slash is how many of the 32 address bits identify the network. A /24 fixes the first 24 bits (subnet mask 255.255.255.0), leaving 8 bits for hosts: 256 addresses, of which 254 are usable because the first is the network address and the last is the broadcast address.
- How many usable hosts are in a subnet?
- Take 2 to the power of (32 minus the prefix) and subtract 2 for the network and broadcast addresses. A /26 has 64 addresses and 62 usable hosts. The exceptions are /31, where both addresses are usable on point-to-point links (RFC 3021), and /32, a single host.
- What is the difference between a subnet mask and a wildcard mask?
- The wildcard mask is the subnet mask with every bit flipped. 255.255.255.0 becomes 0.0.0.255. Subnet masks mark the network part; wildcard masks, used in access lists and OSPF, mark the part that may vary.
- How do I convert an IP range to CIDR?
- Use the IP range section: enter the first and last address and it returns the smallest list of CIDR blocks that covers exactly that range. A range that is not aligned to a power of two needs several blocks, for example 10.0.0.1 to 10.0.0.6 becomes four.
Related Tools
Found this useful? Hexabench is free and ad-free. If it saved you time, you can support it.
Buy me a coffee →