Subnet calculator

What it does

The subnet calculator takes one IPv4 or IPv6 address with its prefix and shows the network it belongs to: the network and broadcast addresses, the range of host addresses, the masks, how many hosts fit, and the reverse DNS zone that covers it.

When to use it

Entering an address

Type an address and its prefix in any of these forms, then Calculate:

You type Means
192.168.1.10/24 Address with a prefix length
192.168.1.10 255.255.255.0 Address with a dotted netmask
10.0.0.0/8 A network address
2001:db8::1/64 An IPv6 address with its prefix
192.168.1.10 A single host: /32 for IPv4, /128 for IPv6

The result has its own link, such as /ip/subnet/192.168.1.10/24, which you can bookmark or send to someone.

Reading the result

Worked example

A floor switch needs a VLAN for up to 50 access points. Try 192.168.10.37/26:

Common mistakes