Skip to the content
Start free

IP Subnet Calculator

Turn a CIDR range into its netmask, first and last address, broadcast and host count. It runs in your browser: nothing you type leaves your device, and there is no sign-up.

  • Free
  • No sign-up
  • Runs in your browser

Loading the tool…

Private: what you type is worked on by this page, on your device. It is never sent to us or anyone else, and we keep nothing.

Open in the URSY app →

Turn a CIDR range into its netmask, first and last address, broadcast and host count. It runs in your browser: nothing you type leaves your device, and there is no sign-up.

What it does #

/31 and /32 special cases handled per RFC, nothing probed.

Useful for:

  • Size a subnet for a VPC or VLAN.
  • Check whether an IP belongs to a range.
  • Explain the missing-two-hosts question once and for all.

How to use it #

  1. Enter address/prefix (e.g. 10.0.0.0/22).
  2. Read mask, network, broadcast, range, hosts.
  3. Note the wildcard mask for ACL syntaxes.
  4. All computed locally — no network was consulted.

Know the limits #

  • Rule-based findings are evidence for human judgement, not a verdict; passing every check guarantees no ranking, citation or delivery outcome.
  • The analysis covers only what you supply, at this moment — live systems, remote state and future behaviour are outside its sight.

Private by design #

What you paste or type is worked on by this page in your own browser. It is not sent to URSY or to anyone else, and nothing is kept after you close the page. We only count that the tool was used, never what you put in it.

Questions #

Why usable hosts = 2ⁿ − 2?

The all-zeros address names the network and all-ones is broadcast — reserved by convention on ordinary subnets. /31 point-to-point links (RFC 3021) and /32 single hosts play by their own rules, which the tool applies.

What is the wildcard mask for?

The bitwise inverse of the netmask — Cisco ACLs and some firewall syntaxes want it. Printed so you never hand-invert octets at 2am.

Words to know #

Page facts checked 23 Nov 2026. Sources: RFC 4632: CIDR

Cite this page: IP Subnet Calculator. URSY. Updated 24 November 2026. https://ursy.com/webmaster-tools/subnet-calculator/ · Section links

All Webmaster Tools → · Every URSY tool →