Subnet Calculator

Calculate subnet details from an IP and CIDR.

  • Network address192.168.1.0
  • Broadcast address192.168.1.255
  • First usable host192.168.1.1
  • Last usable host192.168.1.254
  • Usable host range192.168.1.1 – 192.168.1.254
  • Subnet mask255.255.255.0
  • Wildcard mask0.0.0.255
  • Total addresses256
  • Usable hosts254

Free IPv4 subnet calculator. Enter an IP address and CIDR prefix to get the network and broadcast addresses, first and last usable host, host count, subnet mask and wildcard mask. Runs in your browser.

How to use the Subnet Calculator

  1. 01Enter an IPv4 address such as 192.168.1.10.
  2. 02Choose a CIDR prefix from /0 to /32.
  3. 03Read the network, broadcast, usable host range, mask and wildcard.

Frequently asked questions

Why do /31 and /32 show different host counts?

A /32 describes a single host, and a /31 (per RFC 3021) uses both addresses for point-to-point links, so neither reserves separate network and broadcast addresses like larger subnets do.