IP Subnet Calculator

Calculate subnet information, network address, broadcast address, host range, and convert between CIDR and subnet mask formats with step-by-step solutions.

Your Input

Format: xxx.xxx.xxx.xxx

Format: xxx.xxx.xxx.xxx or /XX

Calculate IP Subnet

Επιλέξτε έναν τύπο υπολογισμού και εισαγάγετε τιμές για να δείτε αποτελέσματα με αναλυτικές λύσεις βήμα προς βήμα.

Πλήρης Οδηγός χρήσης

What is IP Subnet Calculator?

The IP Subnet Calculator is a comprehensive tool for calculating subnet information, network addresses, broadcast addresses, host ranges, and converting between CIDR notation and dotted decimal subnet masks. It helps network administrators, IT professionals, and students understand and configure IP subnets for IPv4 networks. This calculator is essential for network design, troubleshooting, and subnet planning.

Πώς να χρησιμοποιήσετε αυτήν την αριθμομηχανή

  1. Select a calculation type from the dropdown (Subnet Information, Subnet from Hosts Needed, Subnet from Subnets Needed, or Convert Subnet Mask).
  2. Enter the IP address in dotted decimal format (e.g., 192.168.1.1).
  3. Enter the subnet mask in CIDR notation (/XX) or dotted decimal format (xxx.xxx.xxx.xxx).
  4. Κάντε κλικ στο «Υπολογισμός» για να δείτε τα αποτελέσματα.
  5. Review the detailed subnet information, visualizations, and step-by-step solution.
  6. Use Reset to clear inputs and hide results.

Τύποι Υπολογισμού

Subnet Information

Calculate complete subnet information including network address, broadcast address, host range, total hosts, usable hosts, and subnet mask. Most common calculation.

Subnet from Hosts Needed

Calculate the appropriate subnet mask and CIDR notation based on the number of hosts needed. Automatically determines the minimum subnet size.

Subnet from Subnets Needed

Calculate subnet configuration when you need to divide a network into multiple subnets. Determines the new CIDR and subnet mask.

Convert Subnet Mask

Convert between CIDR notation (/XX) and dotted decimal subnet mask format (xxx.xxx.xxx.xxx). Useful for understanding different subnet mask representations.

Key Subnet Formulas

Network Address:

Network Address = IP Address AND Subnet Mask

Broadcast Address:

Broadcast Address = Network Address OR (NOT Subnet Mask)

Total Hosts:

Total Hosts = 2^(32 - CIDR)

Usable Hosts:

Usable Hosts = Total Hosts - 2 (network + broadcast)

Subnet from Hosts:

CIDR = 32 - ⌈log2(Hosts Needed + 2)⌉

Subnet from Subnets:

New CIDR = Original CIDR + ⌈log2(Subnets Needed)⌉

Common CIDR Values

CIDR Subnet Mask Total Hosts Usable Hosts
/24255.255.255.0256254
/25255.255.255.128128126
/26255.255.255.1926462
/27255.255.255.2243230
/28255.255.255.2401614
/29255.255.255.24886
/30255.255.255.25242

Σημαντικές Σημειώσεις

  • This calculator supports IPv4 addresses only (not IPv6).
  • IP addresses must be in dotted decimal format (e.g., 192.168.1.1).
  • Subnet masks can be entered in CIDR notation (/XX) or dotted decimal format (xxx.xxx.xxx.xxx).
  • CIDR notation ranges from /0 to /32, where /32 represents a single host.
  • Usable hosts = Total hosts - 2 (network address and broadcast address are reserved).
  • Network address is the first address in the subnet and cannot be assigned to hosts.
  • Broadcast address is the last address in the subnet and cannot be assigned to hosts.
  • Private IP ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16
  • Τα αποτελέσματα εμφανίζονται με λύσεις βήμα προς βήμα που δείχνουν τη διαδικασία υπολογισμού.

Κοινές Εφαρμογές

  • Network design and subnet planning
  • Troubleshooting network connectivity issues
  • Configuring routers and network devices
  • Understanding IP addressing and subnetting
  • Network security and access control
  • VLAN configuration and management
  • Network documentation and planning

📤 Share This Tool