- Calculators
- Ip Subnet Calculator Cidr Network Mask Free
IP Subnet Calculator
Calculate network address, broadcast address, and host range.
IP Address & Subnet
Enter IP address (e.g., 192.168.1.1)
Subnet mask
CIDR /24
Subnet Information
Network Address
192.168.1.0
Broadcast Address
192.168.1.255
First Usable Host
192.168.1.1
Last Usable Host
192.168.1.254
Usable Hosts
254
out of 256 total
Network Class:
C
Wildcard Mask:
0.0.0.255
About This Calculator
The IP Subnet Calculator helps you calculate network information for IP addresses and subnet masks. It determines the network address, broadcast address, usable host range, and number of available hosts for a given IP address and subnet mask.
This calculator is useful for network administrators, IT professionals, and anyone working with IP networking. It supports both subnet mask and CIDR notation, automatically converting between the two formats.
Formula & Calculation Method
IP Subnet Calculations:
Network Address:
Network = IP Address AND Subnet Mask
Broadcast Address:
Broadcast = IP Address OR Wildcard Mask
Wildcard Mask = 255.255.255.255 - Subnet Mask
Host Range:
First Host = Network Address + 1
Last Host = Broadcast Address - 1
Number of Hosts:
Total Hosts = 2^(32 - CIDR)
Usable Hosts = Total Hosts - 2
The network address is calculated using a bitwise AND operation between the IP address and subnet mask. The broadcast address uses a bitwise OR with the wildcard mask. Usable hosts exclude the network and broadcast addresses.
How to Use This Calculator
- Enter IP Address: Input the IP address you want to analyze (e.g., 192.168.1.1).
- Enter Subnet Mask or CIDR: Input either the subnet mask (e.g., 255.255.255.0) or CIDR notation (e.g., /24).
- View Results: See network address, broadcast address, host range, and number of hosts.
- Use Information: Use the calculated values for network configuration and troubleshooting.
Frequently Asked Questions
What is a subnet mask?
A subnet mask is a 32-bit number that divides an IP address into network and host portions. It uses the same format as an IP address (e.g., 255.255.255.0) and determines which part of the IP address identifies the network.
What is CIDR notation?
CIDR (Classless Inter-Domain Routing) notation represents a subnet mask as a slash followed by a number (e.g., /24). The number indicates how many bits are used for the network portion of the address.
What is the difference between network address and broadcast address?
The network address is the first address in a subnet and identifies the network itself. The broadcast address is the last address and is used to send messages to all hosts on the network. Neither can be assigned to a host.
How many usable hosts are in a subnet?
The number of usable hosts is the total number of addresses minus 2 (network address and broadcast address). For example, a /24 subnet has 256 total addresses, but only 254 usable host addresses.
NumCalculators Editorial Team
Multi-disciplinary Expert Team
The NumCalculators Editorial Team consists of subject matter experts across various fields who review and verify the accuracy of our calculators. Each calculator undergoes rigorous testing and validation before publication.