Dev Tools
Subnet / CIDR Calculator
The Subnet / CIDR Calculator takes an IPv4 address and a CIDR prefix (like /24) and works out the subnet mask, network address, broadcast address and usable host range.
It's a quick reference for network engineers, sysadmins and students working with IPv4 addressing -- all computed locally in your browser.
How to Use the Subnet / CIDR Calculator
- Open the Subnet / CIDR Calculator.
- Enter an IPv4 address, e.g. 192.168.1.10.
- Enter a CIDR prefix from 0 to 32, e.g. 24.
- Read off the subnet mask, network range and usable host count.
Frequently Asked Questions
How are /31 and /32 handled?
Per RFC 3021, /31 is treated as a 2-host point-to-point link (both addresses usable) and /32 as a single host.
Does this support IPv6?
No, this calculator is for IPv4 addresses only.
Advertisement
Sponsored