IP Calculator

Enter CIDR to get network, mask, usable range and host count, plus private/public/CGNAT type detection.

Supports /24 or bare IPv4; bare means /32.

192.168.1.0/24Mask 255.255.255.0254 hosts
IP Address
192.168.1.10/24
Mask
255.255.255.0
Wildcard
0.0.0.255
Network
192.168.1.0/24
Broadcast
192.168.1.255
Usable Range
192.168.1.1 ~ 192.168.1.254
Hosts
254
Type
Private(192.168.0.0/16)
Binary IP
11000000.10101000.00000001.00001010
Binary Mask
11111111.11111111.11111111.00000000

How to use

  1. Enter IP/CIDR like 192.168.1.0/24 (bare IP counts as /32).
  2. Read network, broadcast, mask, usable range, host count and type.
  3. For subnetting: decide subnet or host count first, then derive prefix (4 subnets → /26, 8 → /27).

FAQ

What is CIDR?

CIDR like /24 means the first 24 bits are the network prefix: mask 255.255.255.0, 256 addresses, 254 usable hosts after reserving network and broadcast.

What does it show?

Network address, broadcast, subnet mask, usable range, host count, and address type (private/public/loopback/multicast).

How to split 4 subnets?

Borrow 2 bits from /24 → /26: 4 subnets × 62 hosts each; borrow 3 bits → /27 for 8 subnets.

Why 2 fewer usable hosts?

Each subnet reserves network (all-0) and broadcast (all-1) addresses; /31 and /32 per RFC 3021 reserve none.

Does it support IPv6?

No. This tool is IPv4 only. IPv6 has a different representation.

What are private ranges?

10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, plus 127 loopback, 169.254 link-local, 224+ multicast etc.