NETWORK TOOL NO. 01

Know your network.

From a single address to the whole subnet. Explore IPv4 and IPv6 ranges without sending your input anywhere.

CIDR Lab

IPv4 + IPv6

Host bits are welcome. No prefix? We use /32 for IPv4 or /128 for IPv6.

Try

01 / LOCAL

Your network stays yours.

Address calculations happen in your browser. No analytics, cookies, or third-party scripts. Share links keep the input after a #, which browsers do not send to the server.

02 / PRECISE

128 bits. No shortcuts.

Integer arithmetic keeps even the largest IPv6 ranges exact. IPv4 /31 uses the point-to-point convention; /32 represents a single host. IPv6 has no broadcast address.

03 / PRACTICAL

A range, not a route.

This tool does not scan addresses or check reachability. Address counts describe the range, not what your network provider or cloud platform makes available.

A quick guide to CIDR

A prefix tells you how many bits identify the network. The remaining bits identify addresses inside it. A larger prefix means a smaller network.

192.168.1.42/2432 bits − 24 network bits = 8 host bits.
2⁸ = 256 addresses, from .0 through .255.

2001:db8::1/64128 bits − 64 network bits = 64 host bits.
2⁶⁴ = 18,446,744,073,709,551,616 addresses.

IPv6 examples use the documentation prefix 2001:db8::/32. See RFC 4632 for CIDR, RFC 4291 for IPv6 addressing, and RFC 3021 for IPv4 /31 links.