Skip to content
henke.ws
  1. Home
  2. Tools
  3. Subnet calculator
Runs in your browserDeveloper

IPv4 and IPv6 subnet calculator

Enter an address with a prefix or netmask. Everything is calculated in your browser; nothing is looked up online.

Runs locally — nothing is uploaded
Result
Nothing yet — enter data or press Example.

How to use

  1. 1Enter an address with a prefix (192.168.10.0/24), with a netmask (10.0.0.1 255.255.0.0), or an IPv6 prefix.
  2. 2Read the network, broadcast, host range and type.
  3. 3Optionally enter a longer prefix to list the subnets.

In IPv4 the first address is the network and the last the broadcast. Exceptions: /31 point-to-point links use both (RFC 3021), and /32 is a single host.

The inverted netmask (0.0.0.255 for /24), used in Cisco ACLs and OSPF. You can enter one instead of a netmask.

10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 (RFC 1918); 100.64.0.0/10 is carrier-grade NAT and fc00::/7 is the IPv6 unique-local range. The Type row names the special range.

No. All calculations run in your browser, with no DNS or WHOIS queries.

Infrastructure headaches?

Tell us about your stack — we reply within one business day.