Skip to content
Frisbly
Sign in

Subnet calculator

Enter an IPv4 or IPv6 CIDR and see the network, host range, masks and host count, then split it into equal subnets.

The address stays in this browser. It is not uploaded, saved or put in the address bar.

The address you enter never leaves this device.

How to use it

  1. 1

    Type an address with a prefix

    Enter an IPv4 or IPv6 address and its prefix, such as 192.168.1.0/24 or 2001:db8::/32. An address without a prefix is read as a single address.

  2. 2

    Read the result

    You see the network address, the first and last host, the mask, the wildcard mask for IPv4 and how many hosts fit. If the address has bits set in the host part, it is changed to the network address and the tool says so.

  3. 3

    Split into equal subnets

    Type a longer prefix to list equal subnets. Only the first 256 rows are shown, and the tool tells you how many subnets there are in total.

  4. 4

    Copy the result

    Press Copy result. The address never leaves this browser. /31 and /127 are point-to-point links where both addresses are used, and /32 and /128 are single addresses.

Cookie choices

We use essential local storage for your choices. Optional anonymous analytics help us understand aggregate usage and improve reliability. Privacy Policy