← back to flaviocopes.com

CIDR calculator

← All tools

Enter CIDR notation (10.0.0.0/24) or an IP plus netmask. Get network, broadcast, host range, and a visual split of network vs host bits.

~~~
~~~

I need N hosts

~~~

About this tool

CIDR notation packs an IP and a prefix length: /24 means 24 network bits and 8 host bits in IPv4. That is 256 addresses, usually 254 usable hosts (/31 and /32 are special cases).

Everything runs locally — paste private network ranges without sending them anywhere.

~~~

Read more