IP Subnet Calculator

Network, broadcast, host range and mask for any IPv4 CIDR. Free, no sign-up, works in your browser.

🔒 100% private — processing happens in your browser. Nothing is uploaded.

How to calculate an IP subnet

  1. Type an IPv4 address with a CIDR prefix, e.g. 192.168.1.10/24, or with a subnet mask.
  2. See the network address, broadcast address and usable host range.
  3. Read the subnet mask, wildcard mask and number of hosts.

Subnets made simple

A /24 network (mask 255.255.255.0) has 256 addresses and 254 usable hosts; /25 halves it to 126; /30 gives 2 usable hosts for point-to-point links. The calculator saves you from binary maths when setting up routers, firewalls, VLANs and cloud networks.

Private ranges: 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16.

Questions and answers

How many hosts in a /24?

254 usable (256 minus network and broadcast).

What is a wildcard mask?

The inverse of the subnet mask, used in Cisco ACLs.

Does it support IPv6?

No, IPv4 only.

Is it free?

Yes, no sign-up.