IPv4 / CIDR calculator
How to use
Enter an IPv4 address or CIDR such as 192.168.1.10/24,
or an address plus a prefix or dotted netmask. The page shows the
network, broadcast, usable hosts, and whether another address is in
that range. Nothing is stored or sent anywhere.
About
Calculation is IPv4 only and runs in the browser. A standard prefix
of 0–30 reserves the network and broadcast addresses, so the usable
host count is two less than the number of addresses. A
/31 is treated as a point-to-point link with two usable
addresses (RFC 3021). A /32 is a single host. Octets
must be decimal 0–255 with no leading zeros. The netmask must be a
contiguous prefix; a value such as 255.255.0.255 is
rejected. Address notes cover unspecified, loopback, private
(RFC 1918), link-local, and multicast ranges. Nothing is stored or
sent anywhere.