Skip to content

Subnet / CIDR Calculator

Enter an IPv4 address and CIDR prefix to compute the network address, broadcast address, usable host range, subnet mask and host count.

Runs locally in your browser

Network
192.168.1.0/24
Subnet mask255.255.255.0
Wildcard0.0.0.255
Broadcast192.168.1.255
First host192.168.1.1
Last host192.168.1.254
Usable hosts254
Total addresses256
Network in binary11000000.10101000.00000001.00000000

What is the Subnet / CIDR Calculator?

This calculator breaks an IPv4 CIDR block into its network address, broadcast address, usable host range, wildcard and subnet mask.

How to use it

  1. 1Enter an IP address such as 192.168.1.10.
  2. 2Enter a prefix length from /0 to /32.
  3. 3Read the derived network details.

How it works

The prefix defines how many leading bits are the network. The network address masks off the host bits; the broadcast sets them all to 1. Usable hosts = 2^(32−prefix) − 2 for prefixes ≤ /30.

192.168.1.10/24

Network 192.168.1.0, broadcast 192.168.1.255, usable 192.168.1.1–192.168.1.254 (254 hosts).

Limitations & notes

  • IPv4 only.
  • /31 and /32 are point-to-point/host routes with special host counts.

No directly related discussion yet.

Start a focused thread and share the question this tool helped you explore.

Ask the community about Subnet / CIDR Calculator

You might also like