Formula
Network = IP AND mask
Worked example
With these values
- IP address
- 192.168.1.130
- Prefix (CIDR)
- 26
The calculator gives
- Network
- 192.168.1.128
- Broadcast
- 192.168.1.191
- Subnet mask
- 255.255.255.192
- Usable hosts
- 62
These values are only an illustration. Replace them with yours in the form above.
How "Usable hosts" changes with "Prefix (CIDR)"
| Prefix (CIDR) | Usable hosts |
|---|---|
| 13 | 524,286 |
| 21 | 2,046 |
| 26 | 62 |
| 31 | 2 |
| 39 | 1 |
All other values stay as in the example.
How to use this calculator
Change any value: results update as you type. Copy a result with one click, or share a link that keeps all your values.
Questions
How is the result calculated?
The calculator applies this rule: Network = IP AND mask
Is it free?
Yes. It is free, needs no account, and works on phone and desktop.
Are my numbers stored?
Everything runs in your browser. Nothing you type is sent to a server.