Enter an IP and choose your preferred method. See network, broadcast, and usable host totals. Download reports, compare examples, and stay audit ready always.
Choose an input method, enter values, and calculate the IPv4 block.
| Example CIDR | Subnet mask | Total addresses | Usable hosts |
|---|---|---|---|
| 10.0.0.0/8 | 255.0.0.0 | 16777216 | 16777214 |
| 192.168.0.0/16 | 255.255.0.0 | 65536 | 65534 |
| 192.168.1.0/24 | 255.255.255.0 | 256 | 254 |
An IP block is a contiguous set of IPv4 addresses defined by a network boundary. It is typically expressed as CIDR and used for routing, DHCP scopes, firewall rules, and access control lists.
CIDR is a compact notation that combines an IP with a prefix length, like 192.168.1.0/24. The prefix tells how many bits represent the network portion, and the remaining bits represent host addresses.
The network address is found by applying a bitwise AND between the IP and subnet mask. The broadcast address is the network address OR the wildcard mask (the inverted subnet mask) within 32 bits.
Traditionally, two addresses are reserved (network and broadcast). A /32 is a single host route, so it has one address. Many networks treat /31 as point‑to‑point, allowing both addresses to be used.
Yes. Choose the range method, enter start and end IPs, and the tool outputs a minimal list of CIDR blocks that exactly covers the range without adding extra addresses.
A wildcard mask is the inverse of the subnet mask. It is commonly used in access control lists to match address patterns, where 0 bits must match and 1 bits are treated as “don’t care.”
Valid IPv4 subnet masks are a sequence of 1 bits followed by 0 bits. Non‑contiguous masks break the definition of a single network prefix and can produce inconsistent routing and address calculations.
Use the computed CIDR for firewall or proxy rules to represent the whole block. For systems that require start/end ranges, use first and last usable addresses, or use the range mode to generate multiple CIDRs.
Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.