🌐 Subnet Calculator — Free Online

Do IPv4 subnet math for any address and /8–/30 prefix: network, mask, broadcast and hosts. Free online subnet calculator with result table, no signup.

Your files stay on your device. This tool processes PDFs locally in your browser whenever the tool supports it — no uploads, no account. Privacy policy

Any IPv4 address plus a /8–/30 prefix becomes network, mask, wildcard, broadcast, host count, and usable range in one table.

How to use subnet calculator

  1. Enter an IPv4 address.
  2. Pick the CIDR prefix.
  3. Read the subnet table.

Features

  • /8–/30 prefixes
  • Network/broadcast/range
  • Usable-host count
  • Inside-subnet check, local

Privacy

This tool runs entirely in your browser. Your files and text stay on your device — nothing is uploaded, and nothing is sent to analytics. Privacy policy

How this tool is tested

This page is the real tool, not a screenshot: it runs locally in your browser and is verified in current Chrome, Edge, Firefox, and Safari before each release. Your input stays on your device for supported tasks.

By Mccowns.com team · Reviewed

Frequently asked questions

How many hosts in a /24?

254 usable (256 addresses minus network and broadcast). Pick /24 above to see the full table.

What is the wildcard mask?

The inverse of the subnet mask, used in ACLs and OSPF. Shown in every result.

Is my IP in this subnet?

The last row verdicts inside/outside for the address you entered.

Related developer tools