IPv4 Subnet Calculator
Network and broadcast address, usable host range, netmask and wildcard mask, host counts and the special-purpose classification for any address and prefix.
Input
Mode
Accepts 10.0.0.1/24, 10.0.0.1 255.255.255.0 or a bare address.
Summary
- Network
- 192.168.1.0/26
- Broadcast
- 192.168.1.63
- Usable range
- 192.168.1.1 – 192.168.1.62
- Total addresses
- 64
- Usable hosts
- 62
- Prefix length
- /26
2^6
Excluding network and broadcast
Masks
- Subnet mask
- 255.255.255.192
- Wildcard mask
- 0.0.0.63
Bitwise inverse — use this in Cisco ACLs and OSPF network statements.
Classification
- Scope
- Private (RFC 1918)
- Address class
- Class C
- Reverse DNS zone
- 0.1.168.192.in-addr.arpa
RFC 1918 private
Representations
The same address in every notation
- Dotted decimal
- 192.168.1.10
- Network address
- 192.168.1.0
- Hexadecimal
- c0a8010a
- Decimal (32-bit)
- 3232235786
- Binary
- 11000000.10101000.00000001.00001010
- Pointer record
- 10.1.168.192.in-addr.arpa
Frequently asked
- How many usable hosts does a /26 have?
- A /26 contains 64 addresses. The network and broadcast addresses are reserved, so 62 are assignable to hosts.
- Why does a /31 show two usable addresses?
- RFC 3021 allows both addresses of a /31 to be used on point-to-point links, which removes the need for a /30 and saves address space. The calculator applies this by default.
- What is a wildcard mask?
- It is the bitwise inverse of the subnet mask. Cisco ACLs and OSPF statements use wildcard masks, so a /24 becomes 0.0.0.255.
- Is my input sent anywhere?
- No. The calculation runs in your browser and the page makes no network requests at all.
Next
- VLSM Subnet PlannerSplit one block into right-sized VLANs: best-fit allocation for every host count, growth headroom, /31 point-to-point links, plus the leftover free blocks and a utilization figure.
- Route Summarization CalculatorReduce a list of prefixes to the minimal exact cover, the single covering supernet, and the holes that the supernet would advertise but nobody owns.
- IP Address Format ConverterRead an IPv4 address in any notation — dotted decimal, hex, dotted hex, decimal integer, octal or binary — and see all six representations plus the radix that was detected.