🌐 IPv4 Subnet & CIDR Calculator

Enter an IPv4 address and prefix to see its network boundaries and host range.

Network input

Use strict dotted-decimal IPv4 notation and a prefix from 0 to 32. Leading zeroes in octets are not accepted.

Calculated network

Network address / CIDR—
Broadcast address—
Subnet mask—
Usable host range—
Usable host count—
Network address (binary)—

Conventional IPv4 counting excludes network and broadcast addresses for prefixes /0 through /30. A /31 is treated as two usable addresses for point-to-point links; a /32 contains one host. The /0 range is calculated with unsigned 32-bit arithmetic.