Subnet calculator

Calculate the network address, broadcast, netmask and host count of an IPv4 subnet. Works with CIDR (/24) and netmask notation.

Runs in your browser ยท nothing is sentIP & subnetting

Network address192.168.1.0
Broadcast192.168.1.255
Netmask255.255.255.0 (/24)
Wildcard0.0.0.255
First host192.168.1.1
Last host192.168.1.254
Number of hosts254
ClassC
TypePrivate (RFC 1918)

About this tool

Enter an IPv4 address with CIDR notation (for example 192.168.1.10/24) or with a netmask. The calculator instantly shows the network address, broadcast, first and last usable address and the number of hosts.

๐Ÿ”’ Your input stays in your browser and is never sent anywhere.

Frequently asked questions

How many hosts fit in a /24?

A /24 has 256 addresses, of which 254 are usable for hosts. The network and broadcast addresses are reserved.

What is a wildcard mask?

The inverse of the netmask. It is used in Cisco ACLs, among other places.

What to do next

Also useful

Found a problem or have a suggestion? Tell us