IPv4 Subnet Calculator

Enter an IP address and a CIDR prefix (or pick a netmask). Everything is calculated in your browser.

or netmask

Worked example prefilled: 192.168.1.10/24 → network 192.168.1.0, broadcast 192.168.1.255, usable hosts 192.168.1.1 – 192.168.1.254 (254 hosts). Note: /31 and /32 follow RFC 3021 / single-host rules — usable count is shown accordingly.