IP Subnet Calculator
Work out a subnet completely from an IP address and CIDR prefix: network address, broadcast address, subnet mask, wildcard mask, first and last usable hosts, total and usable host counts, address class and whether the range is private.
- 100% Free
- No Registration
- Works in Your Browser
This tool's workspace loads here.
How to Use
- Type the IP address, optionally with /prefix attached.
- Set the CIDR prefix if you typed the address alone.
- Read the full subnet table.
- Use the first/last usable hosts when assigning addresses.
About This Tool
Work out a subnet completely from an IP address and CIDR prefix: network address, broadcast address, subnet mask, wildcard mask, first and last usable hosts, total and usable host counts, address class and whether the range is private. The /31 and /32 edge cases are handled the way real networks treat them.
Frequently Asked Questions
What is CIDR notation?
The /24 after an address is the prefix length — how many of the 32 bits are the network part. /24 leaves 8 bits (256 addresses) for hosts.
Why does a /24 have 254 usable hosts, not 256?
Two addresses are reserved: the network address (all host bits 0) and the broadcast address (all host bits 1).
Is anything uploaded?
No. The maths happens in your browser.