myip.ph › IP & Network

Subnet / CIDR calculator

Runs in your browser.

How to read the result

  • Network and broadcast are the first and last addresses of the block; hosts use the ones in between.
  • Usable hosts = total addresses − 2, except /31 (point-to-point links, 2 usable) and /32 (a single address).

Example

192.168.1.0/24 → netmask 255.255.255.0, hosts 192.168.1.1–192.168.1.254, 254 usable. A /26 splits it into four blocks of 62 usable hosts each.

FAQ

What does /24 mean?

The first 24 bits are the network part, leaving 8 bits (256 addresses) for hosts.

Which subnet should I use at home?

A /24 such as 192.168.1.0/24 is plenty for almost every home or small office.

Related tools