Subnet Calculator

IPv4 subnet calculator: enter an IP address and CIDR prefix to get the network address, broadcast address, subnet mask, usable host range, and host count.

Inputs

Results

Network address
192.168.1.0
Broadcast address
192.168.1.255
Subnet mask
255.255.255.0
Wildcard mask
0.0.0.255
Usable host range
192.168.1.1 – 192.168.1.254
Usable hosts
254

About the Subnet Calculator

CIDR notation (e.g. 192.168.1.0/24) compactly describes a network and how many host addresses it contains. The /n is the number of leading bits that identify the network — the remaining 32 − n bits address hosts within it.

This calculator parses the IP and CIDR, then shows you everything you need to configure a router, plan an address scheme, or document a network.

Frequently asked questions

The first address is the network ID and the last is the broadcast address — neither can be assigned to a host. A /24 has 256 addresses but only 254 usable hosts.

More other calculators

Browse other categories