Numveta

networking

CIDR Subnet Calculator

Find IPv4 network, broadcast, host range, and address counts from an IP address and CIDR prefix.

Last updated

Network address
192.168.1.0
Broadcast address
192.168.1.255
First usable address
192.168.1.1
Last usable address
192.168.1.254
Usable hosts
254
Total addresses
256

How it works

Enter the values requested by the labels and confirm that each value uses the units described. CIDR Subnet Calculator validates the inputs before calculating, then applies this method: An IPv4 address contains 32 bits. A CIDR prefix specifies how many leading bits identify the network; the remaining bits identify addresses within that network. Applying the prefix mask gives the network address, while setting all host bits gives the broadcast address. This calculator also reports the address range and count. A /31 or /32 prefix has special host conventions in real networks, so the displayed count is the address count rather than a guarantee about assignability. Validate the prefix and all four decimal octets before using the result in a network configuration.. Check the displayed result against your original values and any worked example. When comparing scenarios, change one input at a time so you can see which assumption affects the outcome. This result is based on the information entered in this browser. It does not retrieve live prices, rates, institutional rules, or official records unless this page explicitly says otherwise. Use it for planning and learning, and confirm decisions that depend on current rules or precise measurements with an appropriate source.

Worked example

For 192.168.1.10/24, the network is 192.168.1.0 and the broadcast address is 192.168.1.255. The conventional usable range is 192.168.1.1 to 192.168.1.254.

Common mistakes

  • Check that the address has four decimal octets between 0 and 255.
  • Do not assume /31 and /32 ranges use conventional network and broadcast exclusions.

Frequently asked questions

What does /24 mean?

It means the first 24 of the IPv4 address's 32 bits are the network portion.

Why can a subnet have no traditional usable hosts?

Very small prefixes such as /31 and /32 follow special networking conventions and do not have the usual separate network and broadcast host exclusions.

Does the calculator accept IPv6?

No. It validates IPv4 dotted-decimal addresses only.