Skip to content
Local

Developer

Subnet Calculator

Work out the network, broadcast, host range and mask for any IPv4 subnet, and split it into smaller ones.

Runs in your browser. Nothing leaves this device.

How to use Subnet Calculator

  1. 1Enter an IP with a prefix, like 192.168.1.10/24, or with a mask.
  2. 2Read the network, host range, mask and class.
  3. 3Pick a number to split it into equal subnets.

Questions

Why does a /31 have 2 hosts?

A /31 is used for point-to-point links (RFC 3021), so both addresses are usable. A /32 is a single host.

Can I enter a mask instead of a prefix?

Yes. Type the IP and the mask with a space, like 10.0.0.1 255.255.255.0.

Does it support IPv6?

Not yet. It works with IPv4 only.

Is anything sent to a server?

No. The maths runs in your browser.

Is it free?

Yes. No account, no watermark and no daily limit.

Esc