Subnet Calculator

Compute ⁨CIDR⁩ notation, netmask, broadcast address, and usable host range.

/
Learn more

Input an ⁨IP⁩ address and prefix length; get all derived network information.

Supports both ⁨IPv4⁩ and ⁨IPv6⁩ networks.

  • Plan subnets for network segmentation.
  • Derive netmask and broadcast address from ⁨CIDR⁩.
  • Check usable host count for a given subnet.

How it works

  • Enter an ⁨IP⁩ address and ⁨CIDR⁩ prefix (e.g., 192.168.1.0/24).
  • Tool calculates network, netmask, broadcast, and host ranges.
  • Results display host count and first/last usable addresses.
Example

Input

Output

Feedback