IPv4 Tools
Type an IPv4 address with a prefix or netmask to get the network, broadcast, host range, masks, address type and every notation. Split networks, plan subnets by host count (VLSM), merge CIDR lists, turn ranges into CIDRs, build WireGuard AllowedIPs with exclusions and find the longest-prefix match.
Address
Accepts 10.0.0.5/16, 10.0.0.5 255.255.0.0, a Cisco wildcard 10.0.0.0 0.0.255.255, a range 10.0.0.0 - 10.0.0.255, an integer 3232235786, hex 0xC0A8010A, ::ffff:192.0.2.1, an in-addr.arpa name, or a plain address (then the slider sets the prefix).
32 bits
Network bits in blue, host bits in amberNetwork
Address & formats
Split into subnets
| # | Network | First host | Last host | Broadcast | Hosts |
|---|
VLSM subnet planner
| Name | Hosts needed | Network | Usable range | Broadcast | Netmask | Spare |
|---|
Subnets are placed largest first, so every block stays aligned and nothing overlaps. Each one gets the smallest size whose usable hosts (total minus network and broadcast) cover what you asked for.
Merge, exclude & convert ranges
! to exclude it.Which network does an address belong to?
| Address | Best match | Label | Also inside |
|---|
Routers pick the most specific matching prefix (longest-prefix match). The same rule tells you which firewall object or allow-list entry covers an address.
Prefix cheat sheet
Click a row to use that prefix| CIDR | Netmask | Wildcard | Addresses | Usable hosts | Size |
|---|