IP Calculator

Calculate IP ranges and subnet masks.

Network Information
IP Address:192.168.1.1
Subnet Mask:255.255.255.0
Network Address:192.168.1.0
Broadcast Address:192.168.1.255
Network Bits (CIDR):/24
Total Usable Hosts:254

IP Class:C
Private IP:Yes

How to Do It Manually

IP calculators determine network information from IP and CIDR (e.g., 192.168.1.0/24). Calculate network address, broadcast address, usable hosts, and subnet mask.

Usable Hosts = 2^(32 − CIDR prefix) − 2
  1. Enter IP address and CIDR prefix (e.g., /24 for a class C network).
  2. Determine subnet mask from CIDR.
  3. Calculate network and broadcast addresses.
  4. Calculate number of usable host addresses.

Frequently Asked Questions

What's the difference between CIDR and subnet mask?

Both describe network size. CIDR notation (/24) is shorter; subnet mask is dotted decimal (255.255.255.0).

What's a typical home network CIDR?

Usually /24 (255.255.255.0), giving 254 usable addresses. Enterprise networks use /16 or /8.