IPv4/IPv6 Subnet Calculator
Calculate subnet information for both IPv4 and IPv6 networks
Subnet Information
Network Address
Broadcast Address
First Usable IP
Last Usable IP
Total Hosts
Usable Hosts
CIDR Notation
IP Class / Type
Binary Representation
Blue bits represent network portion | Green bits represent host portion
About Subnet Calculators
IPv4 uses 32-bit addresses divided into four octets (e.g., 192.168.1.1). Subnet masks determine the network and host portions.
IPv6 uses 128-bit addresses written in hexadecimal (e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334). Prefix lengths (e.g., /64) serve a similar purpose to IPv4 subnet masks.
This calculator supports both protocols and provides comprehensive subnet information for network planning and troubleshooting.
🧮 IPv4/IPv6 Subnet Calculator – Professional IP Network Tool
Calculate subnet information for both IPv4 and IPv6 networks
The IPv4/IPv6 Subnet Calculator is a simple yet powerful tool that helps network administrators, IT professionals, and students calculate subnet details for both IPv4 and IPv6 addresses. Whether you’re planning a network, performing subnetting, or troubleshooting IP configurations, this calculator provides accurate and instant results.
How It Works
For IPv4:
IPv4 addresses use a 32-bit format divided into four octets (e.g., 192.168.1.1). Each subnet mask defines how many bits are used for the network and host portions — for example, 255.255.255.0 or /24.
With this calculator, you can enter an IPv4 address and subnet mask to instantly see details such as:
-
Network address
-
Broadcast address
-
Number of hosts
-
First and last usable IPs
For IPv6:
IPv6 addresses are 128-bit and written in hexadecimal (e.g., 2001:0db8:85a3::8a2e:0370:7334). Instead of a subnet mask, IPv6 uses a prefix length (e.g., /64) to indicate the network portion.
The calculator supports IPv6 subnetting to show:
-
Network prefix
-
Range of available addresses
-
Number of possible subnets and hosts
Key Features
-
Dual support for IPv4 and IPv6
-
Instant subnet calculations
-
Input via IP address and subnet mask / prefix length
-
Easy-to-read results for quick analysis
-
Ideal for network design, education, and IT troubleshooting
Why Use a Subnet Calculator?
Subnetting can be complex, especially when working across different IP versions. A subnet calculator simplifies this process by automatically computing:
-
Network boundaries
-
Host availability
-
Proper address allocation
-
Efficient network segmentation
It’s an essential tool for anyone managing IP networks, routers, or servers.
💡 Example Usage
IPv4 Example:
Input: 192.168.1.1 with subnet mask 255.255.255.0
Output:
-
Network:
192.168.1.0/24 -
Broadcast:
192.168.1.255 -
Host range:
192.168.1.1 – 192.168.1.254 -
Usable hosts:
254
IPv6 Example:
Input: 2001:db8::1 with prefix /64
Output:
-
Network:
2001:db8::/64 -
Number of subnets:
1 -
Total addresses:
18,446,744,073,709,551,616
Enter your IP address and subnet mask or prefix length, then click Calculate to get instant results.
Simplify your network management with the IPv4/IPv6 Subnet Calculator today!
⭐ Rate this