Subnet Mask Calculator

Calculate subnet masks, network addresses, broadcast addresses, and host ranges. Free online subnet calculator with CIDR notation support.

Subnet Calculator

Enter subnet mask (255.255.255.0) or CIDR notation (/24)

How to Use Subnet Calculator

This tool calculates subnet information from IP address and subnet mask or CIDR notation:

  • Network Address: The first address in the subnet
  • Broadcast Address: The last address in the subnet
  • Host Range: Usable IP addresses for devices
  • CIDR Notation: Classless Inter-Domain Routing format

Enter an IP address and subnet mask (e.g., 255.255.255.0) or CIDR notation (e.g., /24) to get detailed subnet information.

Common Subnet Masks

CIDRSubnet MaskWildcard MaskTotal HostsUsable Hosts
/30255.255.255.2520.0.0.342
/29255.255.255.2480.0.0.786
/28255.255.255.2400.0.0.151614
/27255.255.255.2240.0.0.313230
/26255.255.255.1920.0.0.636462
/25255.255.255.1280.0.0.127128126
/24255.255.255.00.0.0.255256254
/16255.255.0.00.0.255.25565,53665,534
/8255.0.0.00.255.255.25516,777,21616,777,214