CIDR Calculator

Calculate IPv4 subnet details from CIDR notation: network address, broadcast, subnet mask, wildcard mask, host range, and total IPs.

Tools run in your browser. Shared links may include your input; check the URL before sharing.

How to use

  1. Enter an IPv4 address and prefix, such as 192.168.1.0/24.
  2. Check the network address, mask and range.

This example illustrates one supported operation. Choose the matching mode and settings above; generated values and formatting may vary.

Example input or settings

192.168.1.0/24

Example result

network: 192.168.1.0
broadcast: 192.168.1.255
mask: 255.255.255.0
hosts: 192.168.1.1 – 192.168.1.254

Is the usable count always the total minus two?

Conventional subnets reserve network and broadcast addresses. /31 point-to-point links and /32 host routes follow different rules.