CIDR Calculator
Calculate subnet masks, network addresses, host ranges, wildcard masks, and more—instantly, with interactive binary visualization.
Enter CIDR notation (192.168.1.0/24), IP only (192.168.1.0), or subnet mask (255.255.255.0)
Binary Visualization
Classification
Binary Breakdown
Subnet Table
All subnets within the current network
| Network | First Host | Usable | CIDR |
|---|
Network Tools
Advanced tools for network engineers
Host Requirement Calculator
Calculate the minimum CIDR prefix needed for a given number of hosts.
Subnet Mask Lookup
Complete reference table from /1 to /32.
| CIDR | Mask | Hosts |
|---|
Compare Two CIDRs
Check overlap, containment, and relationship between two subnets.
Supernet Calculator
Find the smallest summary route for multiple CIDRs.
Subnet Splitter
Split a network into equal-sized subnets.
VLSM Calculator
Variable Length Subnet Masking - allocate subnets based on host requirements.
IPv6 Calculator
Calculate IPv6 addresses, prefixes, and conversions
IPv6 Calculator
Calculate network details for any IPv6 address.
IPv4 ↔ IPv6 Converter
Convert between IPv4 and IPv6 (mapped and compatible formats).
Cloud Networking Tools
AWS, Azure, and GCP subnet planning tools
AWS VPC Planner
Plan VPC subnets across Availability Zones.
Azure VNet Planner
Plan Azure Virtual Network subnets.
GCP VPC Planner
Plan Google Cloud VPC subnets.
Network Planner
Design network segments with automatic overlap detection
Network Segments
Define your network segments and their host requirements.
ACL Generator
Generate ACL rules for Cisco, iptables, AWS, Azure, and Terraform.
Terraform Generator
Generate Terraform variables and subnet configurations.
Learn & Practice
Master subnetting with practice modes, quizzes, and interview questions
Subnetting Practice
Random subnetting questions with timer and score tracking.
Subnetting Quiz
Test your knowledge with timed quizzes.
Interview Questions
100 networking interview questions with answers.
Bulk CIDR Calculator
Calculate hundreds of CIDRs at once. Download results as CSV.
History
No history yet
Favorites
No favorites yet. Click the star icon on history items to save them.
Educational Mode
Learn how CIDR and subnetting work
CIDR & Subnetting Explained
What is CIDR?
CIDR (Classless Inter-Domain Routing) is a method for allocating IP addresses and routing IP packets. It replaced the old classful network architecture (Class A, B, C) with a flexible prefix-length system.
CIDR Notation
Written as an IP address followed by a slash and a number (e.g., 192.168.1.0/24). The number after the slash is the prefix length, indicating how many bits are used for the network portion.
Network vs Host Bits
An IPv4 address is 32 bits. The prefix length divides these into network bits (identify the network) and host bits (identify devices on that network). For /24, the first 24 bits are network, the last 8 bits are host.
Subnet Mask
The subnet mask is a 32-bit number where network bits are set to 1 and host bits to 0. For /24, the mask is 255.255.255.0.
Network Address
The first address in a subnet where all host bits are 0. Used to identify the network itself and cannot be assigned to a device.
Broadcast Address
The last address in a subnet where all host bits are 1. Used to send packets to all devices on the network and cannot be assigned to a device.
Usable Hosts
The addresses between the network and broadcast addresses that can be assigned to devices. Calculated as 2^(32-prefix) - 2.
Wildcard Mask
The inverse of the subnet mask. Network bits are 0, host bits are 1. Used in ACLs and routing protocols like OSPF.
Examples
Networking Cheat Sheets
Quick reference for common networking information
Private IP Ranges
Special Addresses
Quick CIDR Table
RFC References
Address Allocation for Private Internets
Classless Inter-domain Routing (CIDR)
Documentation Address Blocks
TCP/IP Classes
Reserved Ranges
Why Choose Our CIDR Calculator?
Our CIDR calculator is the most comprehensive and accurate IP subnet calculator available online. Whether you need a subnet CIDR calculator for simple network calculations or an advanced IPv6 CIDR calculator for next-generation networking, this tool has you covered. It is a free online IP CIDR calculator that provides instant, accurate results for network engineers, IT professionals, and students.
As an all-in-one network calculator, it handles everything from CIDR calculator IPv4 subnetting to CIDR calculator for IP range calculations. Our tool also functions as a robust netmask CIDR calculator and subnet mask to CIDR calculator, making it easy to convert between subnet masks and CIDR notation. Unlike other online CIDR calculators, we support VLSM, supernetting, bulk calculation, and interactive binary visualization.
Our advanced IPv6 calculator is a complete IPv6 calculator online tool that can handle any IPv6 address format. Use it as an IPv6 calculator range finder, CIDR IPv6 calculator, or even a binary to IPv6 calculator for converting binary representations. The IPv6 calculator tool also functions as a VLSM IPv6 calculator and compress IPv6 calculator, allowing you to expand or compress any IPv6 address instantly.
For cross-protocol conversions, our IPv4 IPv6 calculator serves as a reliable convert IPv4 to IPv6 calculator and convert IPv6 to IPv4 calculator. Need to handle both protocols? The VLSM IPv4 calculator and ipv6 calculator subnetting features ensure you can plan networks of any scale. The ip address cidr calculator functionality is perfect for quick lookups, while the ip range to cidr calculator feature helps you convert IP ranges to CIDR blocks efficiently.
Key features that make our CIDR calculator subnet tool stand out include interactive binary visualization with network and host bit highlighting, a visual network diagram that color-codes the network and host portions, VLSM calculator with automatic sorting and waste optimization, supernet calculator for route aggregation, subnet splitter to divide networks into equal parts, bulk calculator to handle hundreds of CIDRs at once, network overlap checker, subnet comparison tool, wildcard mask calculator, reverse mask converter, and IP class detection.
Our learning features set us apart from other online tools. The IPv6 calculator suite includes a Vultr IPv6 calculator compatible feature, and the subnetting practice mode helps you master network calculations with random questions, timer, and scoring. The quiz mode tests your knowledge with 10, 20, or unlimited questions, while the interview questions section provides 100 networking questions with answers for exam preparation. Whether you are studying for CCNA, CompTIA Network+, or preparing for a networking interview, this tool is your ultimate study companion.
As a fully responsive online CIDR calculator, it works seamlessly on desktop, tablet, and mobile devices. We use a Vercel-inspired minimal design with beautiful typography, smooth animations, and dark/light mode support. The PWA feature enables offline support, making it a perfect companion for field technicians who need a CIDR calculator offline. With no ads, no sign-ups, and instant results, it is the best CIDR calculator on the internet.
Our cloud networking tools extend functionality for AWS, Azure, and GCP users. Plan VPC subnets across availability zones, design Azure Virtual Networks, and configure Google Cloud VPCs with proper CIDR allocation. The ACL generator creates rules for Cisco IOS, Linux iptables, AWS Security Groups, Azure NSGs, and Terraform configurations. From subnet mask to CIDR calculator to advanced cloud networking, this IP CIDR calculator is the only tool you will ever need for network planning, design, and troubleshooting.