IPv4 Subnet Calculator
Free online IPv4 subnet calculator: network and broadcast addresses, usable host range, wildcard mask, binary forms, and one-click subnet splitting.
Data handling: common local tools process inputs in your browser; network queries, server execution and optional AI follow their separate data-use notes.
What is IPv4 Subnet Calculator?
Planning VPC ranges, writing firewall rules, or carving up an office network all start with knowing exactly which addresses a CIDR covers. Enter 192.168.1.10/24 or an IP with a dotted mask (10.0.0.1/255.255.0.0) to get the network address, broadcast address, usable host range and count, netmask and wildcard, binary forms, plus the address class and public/private scope. Point-to-point /31 links (RFC 3021) and /32 host routes are handled per spec. You can also split the block into smaller subnets of any longer prefix. All computation is local.
How to Use
- Enter a CIDR (e.g. 192.168.1.10/24) or IP + mask
- Review the network address, usable host range and full details
- Optionally enter a longer prefix below to split the block into smaller subnets
FAQ
- Why does the usable host count subtract 2?
- The first address of a block is the network address and the last is the broadcast address — neither can be assigned to a host, so a /24 with 256 addresses has 254 usable. Exceptions: both addresses of a /31 point-to-point link are usable (RFC 3021), and a /32 is a host route.
- What is a wildcard mask for?
- It is the bitwise inverse of the netmask, used in Cisco/Huawei ACLs and OSPF network statements: 0 means the bit must match, 1 means any value.
- Does it support IPv6?
- IPv4 and IPv6 are separate systems — use the IPv6 Subnet Calculator next door for IPv6.
Practical tutorials
- IP Address Basics: Public vs. Private, IPv4 vs. IPv6, and Subnet Masks
What the four numbers of an IPv4 address mean, the three private ranges and how NAT relates to them, how to read CIDR and subnet masks, and why IPv6 exists.
- Subnetting and CIDR in Practice: Splitting a /24 and Aggregating Address Ranges
A prefix-to-mask cheat sheet, the full process of splitting a /24 for four departments, the /31 point-to-point special case, IPv6 subnet planning, and how to aggregate any address range into the shortest CIDR list.
Related Tools
Last updated 2026-09-15