IPv4 Subnet Calculator

Calculate network, broadcast, mask, wildcard, host range and host counts from an IPv4 address and CIDR prefix or subnet mask.

How to use IPv4 Subnet Calculator

  1. Enter an address with a prefix like 192.168.1.10/24, or an address and mask.
  2. Read the network details.

Supported features and limitations

IPv4 only; IPv6 is not supported. /31 and /32 networks treat every address as usable. The private-range check covers the RFC 1918 ranges only.

Privacy

Everything you type is processed locally in your browser and is not sent to our servers. No account is needed and there is no watermark.

Frequently asked questions

How many hosts are in a /24?

254 usable addresses (256 total, minus network and broadcast).

What is a wildcard mask?

The inverse of the subnet mask, used in some router access lists.

Related tools

More Developer & Webmaster Tools · All free tools