Subnet and CIDR Calculators
Choose a tool for address ranges, masks, host requirements, CIDR and IPv6 prefixes.
Which calculator should I use?
| Calculator | Best for |
|---|---|
| IPv4 Subnet Calculator | Network, broadcast, mask, wildcard, host range and address count for any IPv4 address and CIDR prefix. |
| CIDR Calculator | Turn a CIDR prefix into its mask and block size — or find the smallest block for a number of addresses. |
| Subnet Mask Converter | Convert a CIDR prefix to a dotted-decimal mask and back, with the binary form and host bits. |
| IP Range Calculator | Convert an arbitrary IPv4 range into exact CIDR blocks, with counts and the covering block. |
| IPv4 Host Calculator | The smallest IPv4 subnet that fits a given number of hosts, with the spare capacity left over. |
| Wildcard Mask Calculator | Convert between wildcard mask, subnet mask and CIDR prefix for ACL and OSPF statements. |
| IPv6 Subnet Calculator | Network prefix, compressed and expanded forms, address range and address count for any IPv6 prefix. |
| IPv6 Prefix Calculator | How many child subnets an IPv6 prefix can be divided into, and how big each one is. |
Common use cases
IPv4 Subnet Calculator
Network, broadcast, mask, wildcard, host range and address count for any IPv4 address and CIDR prefix.
CIDR Calculator
Turn a CIDR prefix into its mask and block size — or find the smallest block for a number of addresses.
Subnet Mask Converter
Convert a CIDR prefix to a dotted-decimal mask and back, with the binary form and host bits.
IP Range Calculator
Convert an arbitrary IPv4 range into exact CIDR blocks, with counts and the covering block.
IPv4 Host Calculator
The smallest IPv4 subnet that fits a given number of hosts, with the spare capacity left over.
Wildcard Mask Calculator
Convert between wildcard mask, subnet mask and CIDR prefix for ACL and OSPF statements.
IPv6 Subnet Calculator
Network prefix, compressed and expanded forms, address range and address count for any IPv6 prefix.
IPv6 Prefix Calculator
How many child subnets an IPv6 prefix can be divided into, and how big each one is.
Frequently asked questions
Can I use more than one calculator?
Yes. Start with the calculator that matches the information you know, then use a related result as the input to another tool when needed.