Host-prefix IPv4
8.8.8.8/24
Normalizes to 8.8.8.0/24 and shows the full 256-address range.
Calculate 8.8.8.8/24
Network tool
Calculate the address range and size of an IPv4 or IPv6 CIDR network, for example when checking a firewall rule or a hosting provider’s allocation.
Normalized 8.8.8.8/24 to the canonical network 8.8.8.0/24.
Reference
Advertisement
Examples
Host-prefix IPv4
8.8.8.8/24
Normalizes to 8.8.8.0/24 and shows the full 256-address range.
Calculate 8.8.8.8/24
IPv6 network
2001:db8::/32
Shows the first and last address in an IPv6 documentation prefix.
Calculate 2001:db8::/32
Boundaries
This calculator accepts one IPv4 or IPv6 CIDR network at a time. It does not check whether a public block is assigned to a specific organization; use the IP lookup and ASN guide for that network context. The CIDR notation guide explains prefix lengths and host bits.
Build the same kind of checks into your code using these documented libraries.
Standard-library IPv4 and IPv6 parsing, networks and membership checks.
Standard-library address and prefix types with Contains and Overlaps methods.
A third-party library for IPv4/IPv6 parsing and CIDR matching.
Next steps
Advertisement