Skip to content
Jellykit

IP Subnet Calculator

Calculate an IPv4 subnet from CIDR or netmask: network and broadcast address, first and last usable host, host count, wildcard mask and address type. Free.

Runs in your browser. Nothing is uploaded.

About IP Subnet Calculator

Enter an IPv4 address with a prefix length (192.168.1.77/26) or a dotted netmask (192.168.1.77/255.255.255.192) and see the whole subnet: network address, broadcast address, the first and last usable host, how many hosts fit, the subnet and wildcard masks and the mask in binary.

It also tells you whether the address is private (RFC 1918), loopback, link-local, carrier-grade NAT or public. Handy for planning VPCs, firewall rules, Docker networks and home labs.

How to use IP Subnet Calculator

  1. Enter your values in the fields.
  2. The answer updates instantly as you type.
  3. Press Copy result to save the breakdown.

Frequently asked questions

Why are 2 addresses subtracted from the host count?

In a normal subnet the first address identifies the network and the last is the broadcast address, so neither can be given to a host.

What about /31 and /32?

A /31 is a point-to-point link where both addresses are usable, and a /32 is a single host. Neither has a broadcast address.

What is a wildcard mask?

The inverse of the subnet mask, used by Cisco ACLs and OSPF. 255.255.255.192 becomes 0.0.0.63.

Is IP Subnet Calculator free and private?

Yes. IP Subnet Calculator is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.

See all developer tools →