IP Subnet & CIDR Calculator
Calculate subnet details for IPv4 networks. Enter an IP address and CIDR prefix to get network address, broadcast address, host range, subnet mask, and binary breakdown.
IP Address & CIDR
Enter your IPv4 address and subnet prefix
Enter an IP Address
Enter an IPv4 address and CIDR prefix to calculate subnet details including network address, broadcast address, host range, and more.
AI Tech & Dev Assistant (beta)
Educational only • Not professional network advice
Ask things like: "What subnet mask should I use for 100 hosts?", "How do I calculate the broadcast address?", "What's the difference between /24 and /25?", or "Is 10.0.0.1 a public or private IP?".
This AI is experimental and may be inaccurate. Always validate important network configurations with your own testing and qualified network professionals before deploying to production.
Understanding IP Subnetting
Learn the fundamentals of IPv4 subnetting and CIDR notation
What is Subnetting?
Subnetting is the practice of dividing a network into smaller, more manageable pieces called subnets. It allows network administrators to efficiently allocate IP addresses and improve network performance and security.
- •Efficient IP allocation: Assign only the addresses you need
- •Improved security: Isolate network segments
- •Better performance: Reduce broadcast traffic
CIDR Notation Explained
CIDR (Classless Inter-Domain Routing) notation uses a suffix like /24 to indicate how many bits of the IP address are used for the network portion.
192.168.1.0/24
The /24 means the first 24 bits identify the network, leaving 8 bits for host addresses (2^8 - 2 = 254 usable hosts).
Key Subnet Concepts
Network Address
The first address in a subnet, identifies the network itself. Cannot be assigned to hosts.
Broadcast Address
The last address in a subnet, used to send data to all hosts on the network.
Subnet Mask
A 32-bit mask that separates the network portion from the host portion of an IP address.
Private IP Ranges (RFC 1918)
These address ranges are reserved for private networks and are not routable on the public internet:
| Class | Range | CIDR |
|---|---|---|
| A | 10.0.0.0 – 10.255.255.255 | /8 |
| B | 172.16.0.0 – 172.31.255.255 | /12 |
| C | 192.168.0.0 – 192.168.255.255 | /16 |
Frequently Asked Questions
Common questions about IP subnetting and CIDR
Related Tools
Base Converter
Convert between binary, decimal, hexadecimal, and octal number systems
Coming SoonHash Generator
Generate MD5, SHA-1, SHA-256, and other cryptographic hashes
Coming SoonJSON Formatter
Format, validate, and beautify JSON data
Coming SoonPort Reference
Quick reference for common network ports and protocols
Coming SoonMaster Networking & Development Tools
Explore our collection of developer utilities, network calculators, and tech tools
Explore All Tech & Dev Utilities