Subnet Calculator

Subnet calculator for calculating network parameters

💡 Why is this needed? For simple /24 networks this is obvious, but the calculator is useful for:

  • Non-standard masks (/17, /23, /30) - where it's not obvious what network and broadcast are
  • Large networks (/8, /16) - where you need to know the exact range
  • Router configuration - need all parameters at once (wildcard mask, CIDR, class)
  • Correctness verification - make sure the subnet is configured correctly

📝 Usage examples:

192.168.1.100 / 255.255.255.252 → Network: 192.168.1.100, Broadcast: 192.168.1.103 (point-to-point)
10.5.123.50 / 255.255.0.0 → Network: 10.5.0.0, Broadcast: 10.5.255.255 (65K hosts)
192.168.2.50 / 255.255.254.0 → Network: 192.168.2.0, Broadcast: 192.168.3.255 (octet transition)

Input

Enter IP address in format xxx.xxx.xxx.xxx

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

Results

Enter IP address and subnet mask to calculate

Subnet Calculator: Network Subnet Calculator

🌐 Subnet Calculator: Free Online Tool for Calculating Subnet Parameters

Subnet Calculator allows you to calculate subnet parameters from an IP address and subnet mask. This is especially useful for network administrators, system administrators, and DevOps specialists.

🔒 Main Advantage: Accuracy and Convenience

  • 100% Privacy: All calculations are performed locally in your browser
  • CIDR Support: Works with subnet mask and CIDR notation
  • Detailed Information: Complete calculation of all subnet parameters

✨ Key Features

  • Basic Calculator: Determine network address, broadcast address, host range, number of available hosts
  • Range Analysis: Calculate all possible subnets for a given range and mask
  • Network Tests: Check if IP is in subnet, check subnet intersection
  • Config Generation: Auto-generate configurations for Cisco IOS, MikroTik RouterOS, Juniper Junos
  • Data Export: Export to CSV and JSON for network documentation
  • Binary & Hex Representation: Display IP addresses in different formats
  • Wildcard Mask: Calculate wildcard mask for ACL
  • CIDR Notation: Support for CIDR notation (/24, /16, etc.)

📋 How to Use

  1. Enter IP Address: Specify IP address in format xxx.xxx.xxx.xxx
  2. Enter Subnet Mask: Specify subnet mask (255.255.255.0) or CIDR (/24)
  3. Click "Calculate": Get detailed subnet information

💡 Use Cases

  • Example 1: IP: 192.168.1.1, Mask: 255.255.255.0 → Network: 192.168.1.0/24
  • Example 2: IP: 10.0.0.1, CIDR: /8 → Network: 10.0.0.0/8
  • Example 3: IP: 172.16.0.1, Mask: 255.255.0.0 → Network: 172.16.0.0/16

🔧 Input Formats

  • IP Address: xxx.xxx.xxx.xxx (e.g., 192.168.1.1)
  • Subnet Mask: xxx.xxx.xxx.xxx (e.g., 255.255.255.0)
  • CIDR: /n (e.g., /24, /16, /8)