Subnet Calculator – CIDR, Subnet Mask & IP Range

Network
192.168.1.0/24
Broadcast
192.168.1.255
Host range
192.168.1.1 – 192.168.1.254
Usable hosts
254
Total addresses
256
Subnet mask
255.255.255.0
Wildcard mask
0.0.0.255
Prefix length
/24

About this tool

Enter an IPv4 address and, separately, a CIDR prefix (24) or a dotted subnet mask (255.255.255.0) to instantly see the network address, broadcast address, host range, number of usable hosts, subnet mask and wildcard mask. The calculation runs entirely in your browser.

How to use
  1. Enter an IP address, for example 192.168.1.0.
  2. Enter a prefix length (24) or a subnet mask (255.255.255.0).
  3. Read the network address, broadcast address, host range and usable host count, then copy the summary.
Is my data uploaded anywhere?

No. The calculation happens entirely in your browser.

How many usable hosts does a /24 subnet have?

A /24 has 256 total addresses and 254 usable hosts, because the network and broadcast addresses are reserved.