Calculate network information from IP addresses and CIDR notation. Get subnet mask, network address, broadcast address, host range, and binary representation for both IPv4 and IPv6 addresses.
Example: Enter 192.168.1.100/24 to calculate that it belongs to network 192.168.1.0 with 254 usable hosts (192.168.1.1 - 192.168.1.254).
🌐 IP Address Calculator
IPv4 Calculator
Network Address: | - |
Subnet Mask: | - |
Broadcast Address: | - |
First Host: | - |
Last Host: | - |
Total Hosts: | - |
Usable Hosts: | - |
Binary Representation
Subnet Breakdown
IPv6 Calculator
Full Address: | - |
Compressed: | - |
Network Prefix: | - |
Address Type: | - |
📚 Frequently Asked Questions
What is an IP Address?
An IP (Internet Protocol) address is a unique identifier assigned to devices on a network. IPv4 addresses consist of four octets (e.g., 192.168.1.1), while IPv6 addresses use hexadecimal notation (e.g., 2001:db8::1).
What is CIDR Notation?
CIDR (Classless Inter-Domain Routing) notation represents IP addresses and their routing prefix. For example, 192.168.1.0/24 indicates a network with a 24-bit prefix, leaving 8 bits for host addresses (256 total addresses).
How does Subnetting Work?
Subnetting divides a network into smaller networks. The subnet mask determines which portion of an IP address identifies the network and which identifies the host. A /24 subnet has 254 usable host addresses (256 total minus network and broadcast addresses).
IPv4 vs IPv6: What's the Difference?
IPv4 uses 32-bit addresses (4.3 billion total), while IPv6 uses 128-bit addresses (340 undecillion total). IPv6 was created to address IPv4 exhaustion and includes features like simplified headers, better security, and auto-configuration.
What are Private IP Ranges?
Private IP ranges are reserved for local networks: 10.0.0.0/8 (Class A), 172.16.0.0/12 (Class B), and 192.168.0.0/16 (Class C). These addresses are not routable on the public internet.
How to Calculate Subnet Mask?
A subnet mask is calculated by setting the network bits to 1 and host bits to 0. For /24, the first 24 bits are 1s: 11111111.11111111.11111111.00000000 = 255.255.255.0