Subnet Calculator
Network, broadcast, host range and mask from CIDR notation.
ShowHide the working
- 1Mask /24 = 255.255.255.0
- 2Network = IP AND mask = 192.168.1.0
- 3Broadcast = network OR ~mask = 192.168.1.255
network = IP AND mask; broadcast = network OR ~maskHow it works
Works out the network and broadcast addresses, host range and usable host count for an IPv4 address in CIDR notation.
Example
192.168.1.10/24 has 254 usable hosts, from .1 to .254.
Runs on this deviceSent to a server: 0 bytes
How it works
- Type in your numbers.
- The answer updates as you type.
- Change any figure to compare. Nothing you enter is sent anywhere.
Network, broadcast, host range and mask from CIDR notation. It is one of the Developer calculators in NWS Kit. There is no sign-up, and the numbers you enter stay on your device.
Questions
Is the Subnet Calculator free to use?
Yes. The Subnet Calculator is completely free, with no account, no sign-up and no usage limits.
Does my data leave my device?
No. The Subnet Calculator runs entirely in your browser. Nothing you type is uploaded, logged or stored on a server.
Can I use the Subnet Calculator on my phone?
Yes. The page works in any modern mobile or desktop browser, and there is nothing to install.
What else is in Developer?
Format, encode and inspect — bases, bitwise math, timestamps and aspect ratios. You can browse the full Developer category for related calculators.