CIDR Calculator
Free online CIDR calculator: enter 192.168.1.0/24 and get the network address, broadcast address, subnet mask, usable IP range and host count instantly. Runs locally, nothing is uploaded.
| Subnet mask | — |
| Wildcard mask | — |
| First usable IP | — |
| Last usable IP | — |
| Usable IP range | — |
| IP class | — |
| Private network? | — |
| Binary subnet mask | — |
| Binary network address | — |
How to use CIDR Calculator
- Type a network in CIDR notation, e.g.
192.168.1.0/24— or try an example button. - Click Calculate (or press Enter).
- Read the network, broadcast, mask and usable range — copy the summary if you need it in a ticket or doc.
Subnetting is just binary arithmetic, but doing it by hand invites mistakes. This calculator splits any IPv4 CIDR block into its network and broadcast addresses, dotted and binary masks, and the exact usable host range — including the /31 and /32 edge cases from RFC 3021. Everything is computed in your browser.
More tools on Dev Toolbox
FAQ
How many usable hosts does a /24 have?
254. A /24 holds 256 addresses, minus the network address and the broadcast address. The formula is 2^(32 − prefix) − 2, except for /31 (2 usable, RFC 3021) and /32 (1 host).
What if I enter a host address like 192.168.1.37/24?
That is fine — the calculator shows the network it belongs to (192.168.1.0/24) and notes that your address is a host inside it.
Does it support IPv6?
Not yet — this tool is IPv4 only. IPv6 CIDR math is on the roadmap; for now it will report an invalid address.