🌐 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.
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
- Enter an IPv4 address.
- Pick the CIDR prefix.
- 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.