Privvert - private browser-based file toolsPrivvert

CIDR / Subnet Calculator

Network, broadcast, host range, mask and host count for IPv4 or IPv6.

FamilyIPv4
Address192.168.1.10
Prefix/24
Network192.168.1.0
Broadcast192.168.1.255
Subnet mask255.255.255.0
Wildcard0.0.0.255
First host192.168.1.1
Last host192.168.1.254
Total addresses256
Usable hosts254

About this tool

Compute network details for any IPv4 or IPv6 CIDR block - network and broadcast addresses, host range, subnet mask, wildcard mask and total/usable host count. The right tool for planning subnets, debugging firewall rules, or understanding what a /24 actually contains.

Privvert handles both IPv4 (10.0.0.0/24, 192.168.1.0/16) and IPv6 (2001:db8::/48) CIDR notation. All math runs in your browser.

Features

  • IPv4 and IPv6 support
  • Network, broadcast, first/last host addresses
  • Subnet mask and wildcard mask
  • Total and usable address counts
  • Binary breakdown of network and host bits
  • Browser-only - runs locally
  • Free and unlimited
  • Shows total addresses, usable hosts and the broadcast address

How to use it

  1. Type a CIDR like 10.0.0.0/24 or 2001:db8::/48.
  2. Read the calculated rows.
🔒 100% private

Everything happens inside your browser using JavaScript and WebAssembly. Your files are never uploaded to a server, never stored, and never seen by us.

Frequently asked questions

Why does IPv6 not show 'usable' separately?

IPv6 doesn't reserve network/broadcast addresses the way IPv4 does, so all addresses in a block are usable for hosts. The 'total' and 'usable' counts are the same.

What's the difference between subnet mask and wildcard?

Subnet mask has 1s for the network portion (255.255.255.0 = /24). Wildcard mask is the inverse, with 1s for the host portion (0.0.0.255). ACLs and OSPF use wildcards; everything else uses the mask.

How small can a /31 or /32 be?

/32 is a single host (one address). /31 is two addresses, used for point-to-point links per RFC 3021. Below /30 traditional rules don't reserve network/broadcast addresses.

Can I check if an IP is in a CIDR?

Reverse lookup (is X.X.X.X inside CIDR Y/Z) is on the roadmap. For now, use the network and broadcast columns to compare manually.

What's the difference between /24 and 255.255.255.0?

They're two ways of writing the same subnet mask. CIDR notation (the /24) counts how many leading bits are network bits; dotted-decimal notation spells out the mask as four bytes. The tool shows both for every input.

Does it handle IPv6?

Yes. IPv6 CIDR ranges are parsed the same way - the only practical difference is that even modest IPv6 prefixes contain absurdly large address counts, which the tool displays in scientific notation.