Subnet Calculator
A subnet is a block of IP addresses written in CIDR notation, such as 192.168.1.0/24, where the prefix length sets how many addresses it holds. This calculator shows the network and broadcast addresses, mask, wildcard, usable host range, and host count for IPv4 and IPv6.
When to use this: You are planning an address range, writing a firewall rule, or checking whether an IP falls inside a block. Command prefix subnet:
About the Subnet Calculator
Calculate network and broadcast addresses, usable host ranges, masks and wildcards for IPv4 and IPv6 prefixes.
FAQ
- How many hosts fit in a /24?
- 256 addresses, 254 usable for hosts in a traditional IPv4 subnet.
- What size is a typical IPv6 LAN?
- A /64 is the standard size for a single IPv6 network segment.