Skip to content

Utilities

IP and CIDR calculator

Network, mask, range and host count for IPv4 and IPv6 subnets.

Private Everything on these pages runs in your browser. What you type is never sent to a server and nothing is stored.

How to use it

  1. Enter a CIDR block such as 192.168.1.0/24.
  2. Read the network, mask, first and last address, broadcast and host count.
  3. Optionally enter an address to see whether it falls inside the block.

Example

Input

192.168.1.0/24

Result

Mask 255.255.255.0, 192.168.1.1 to 192.168.1.254, 254 usable hosts, broadcast 192.168.1.255

Frequently asked questions

What does /24 mean?

The first 24 bits identify the network; the remaining 8 bits address hosts inside it. That gives 256 addresses, of which 254 are usable on a normal IPv4 subnet.

Why are two addresses not usable?

The first is the network address and the last is the broadcast address, so they are not assigned to hosts.

Related articles