About This Calculator
This calculator helps you analyze IP subnets for both IPv4 and IPv6. For IPv4, you can specify any valid address and subnet mask from /1 to /30. For IPv6, you select the address and prefix length from /1 to /128. It computes network address, usable host range, broadcast address (IPv4), and total number of addresses.
How It Works
Simply enter a valid IP address and choose the desired subnet mask or prefix length. The calculator uses bitwise logic to determine:
- Network Address: base address of the subnet
- Broadcast Address: last address in IPv4 subnet
- Usable Host Range: available IP range for hosts
- Total Hosts or Addresses: total IPs in the subnet
Frequently Asked Questions
What is a subnet mask?
A subnet mask defines the portion of an IPv4 address used for the network, helping split networks into smaller subnets.
What is a prefix length in IPv6?
The prefix length indicates how many bits define the network portion of the IPv6 address. Common values include /64 and /48.
Can I use any IPv4 address with any subnet mask?
Yes, as long as the address and subnet mask combination is valid and within the usable range (typically /1 to /30).
Does this calculator support IPv6 fully?
Yes, it supports expanded IPv6 addresses and any prefix length from /1 to /128, including common blocks like /64 and /128.