IPv4 subnet calculator

Enter an address with a prefix, such as 192.168.1.0/26, to see the network and broadcast addresses, the usable host range, the number of hosts, and the subnet and wildcard masks. Pick a longer prefix to split it into smaller subnets.

  • ๐Ÿ”’ Runs on your device
  • โค’ 0 bytes uploaded
  • โœ“ Free, no sign-up, no watermark
Loading the toolโ€ฆ

How to use Subnet Calculator

  1. Type an IPv4 address with /prefix or a subnet mask.
  2. Read the network, broadcast, host range and masks.
  3. To subnet, pick a new prefix under Split into smaller subnets.
  4. Copy any value, or download the subnet list as CSV.

Is it private?

Yes. Subnet Calculator runs entirely in your web browser: what you type into it is never sent to Nolo or anyone else, and the page's security policy only allows it to talk to nolotools.com. The site sends only two small things: the words typed in the optional search box, to find a tool, and, the first time you use a tool on a page, that tool's name for an anonymous daily count of tool use (nothing about you, your files or what you typed). Nothing is stored either: close the page and it is gone. How Nolo works.

Questions and answers

Is my network data sent to a server?

No. Everything runs in your browser and your network data never leaves your device. The page is not allowed to talk to any other site, so it is safe to use with real data and secrets.

Why are there 2 fewer usable hosts than addresses?

In a normal subnet the first address names the network and the last is the broadcast address, so neither can be given to a device. A /26 has 64 addresses and 62 usable hosts.

What about /31 and /32?

A /31 has two addresses and both are usable on point-to-point links (RFC 3021), with no broadcast. A /32 is a single address, used for loopbacks and host routes.

What is a wildcard mask?

The inverse of the subnet mask (255.255.255.192 becomes 0.0.0.63). Cisco ACLs and OSPF configurations use it.

Does it support IPv6?

Not yet. This calculator handles IPv4 only.

Can I enter an address that is not the network address?

Yes. 192.168.1.70/26 shows the network it belongs to, 192.168.1.64/26, and notes that your address is a host inside it.