Productive Toolbox

CIDR Calculator

Calculate CIDR notation details including network address, broadcast, subnet mask, wildcard mask, usable hosts, IP range, and binary representation for any IPv4 address instantly.

🌐

IPv4 CIDR Calculator

Enter an IPv4 address with CIDR prefix (e.g. 192.168.1.1/24) to instantly calculate network address, broadcast, host range, and more. We do not collect or store what you enter.

Input

/0/16/32

Press Esc to reset

CIDR Summary

Enter an IP/CIDR to calculate

Quick Presets

Calculation Results

Enter an IP/CIDR address to see results

How to Use the CIDR Calculator

Quick Start Guide

  1. 1Enter the IP and prefix: Type an IPv4 address with its CIDR prefix, such as 192.168.1.1/24, or switch to Manual mode to enter the IP address and subnet mask separately.
  2. 2Adjust the prefix: Use the slider or the quick-select buttons (/8, /16, /24, /28 …) to change the prefix length.
  3. 3Read the results: The network address, broadcast address, usable host range, subnet and wildcard masks, IP class and address type update as you type.
  4. 4Copy, export or share: Copy the summary, download it as TXT or JSON, or share a link that opens the same calculation.

Key Features

  • ✓Real-time CIDR calculation as you type
  • ✓CIDR notation and subnet mask input modes
  • ✓CIDR ↔ subnet mask auto-conversion
  • ✓Quick CIDR preset buttons (/8 to /32)
  • ✓CIDR prefix slider for fast adjustments
  • ✓Binary visualization of IP, mask, and network
  • ✓Private / public / loopback / multicast detection
  • ✓IP class detection (A, B, C, D, E)
  • ✓Shareable URL with ip + cidr parameters
  • ✓Calculation history saved in browser
  • ✓Export results as TXT or JSON
  • ✓Copy full summary to clipboard

Example CIDR Calculations

InputNetworkBroadcastUsable RangeUsable Hosts
192.168.1.1/24192.168.1.0192.168.1.255192.168.1.1 – 192.168.1.254254
10.0.0.1/1610.0.0.010.0.255.25510.0.0.1 – 10.0.255.25465,534
172.16.50.10/28172.16.50.0172.16.50.15172.16.50.1 – 172.16.50.1414
10.10.0.1/3010.10.0.010.10.0.310.10.0.1 – 10.10.0.22
8.8.8.8/248.8.8.08.8.8.2558.8.8.1 – 8.8.8.254254

CIDR & Subnet Mask Reference

CIDRSubnet MaskWildcardTotal AddressesUsable Hosts
/8255.0.0.00.255.255.25516,777,21616,777,214
/16255.255.0.00.0.255.25565,53665,534
/24255.255.255.00.0.0.255256254
/25255.255.255.1280.0.0.127128126
/26255.255.255.1920.0.0.636462
/27255.255.255.2240.0.0.313230
/28255.255.255.2400.0.0.151614
/29255.255.255.2480.0.0.786
/30255.255.255.2520.0.0.342
/31255.255.255.2540.0.0.122 (P2P)
/32255.255.255.2550.0.0.011 (host)

Frequently Asked Questions

What is CIDR notation?

CIDR (Classless Inter-Domain Routing) notation writes an IP address with the length of its network prefix. In 192.168.1.0/24, the first 24 bits identify the network and the remaining 8 bits identify hosts. CIDR replaced the old class A/B/C system so networks can be any size.

How is the network address calculated?

By a bitwise AND of the IP address and the subnet mask. For 192.168.1.25/24 the mask is 255.255.255.0, so the network address is 192.168.1.0.

What is the broadcast address?

The last address in the subnet: the network address with every host bit set to 1 (a bitwise OR with the wildcard mask). A packet sent to it reaches every host on the subnet. For 192.168.1.0/24 it is 192.168.1.255.

How many usable hosts does a /24 have?

A /24 has 2^8 = 256 addresses. The network and broadcast addresses are reserved, leaving 254 usable hosts. In general a prefix from /1 to /30 has 2^(32 − prefix) − 2 usable hosts.

What are /31 and /32 subnets used for?

A /31 has two addresses, both usable, for point-to-point links between routers (RFC 3021). A /32 is a single address, used for loopback interfaces, host routes and firewall rules that match one IP.

What is a wildcard mask?

The bitwise inverse of the subnet mask: it marks the host bits. For /24 (255.255.255.0) the wildcard mask is 0.0.0.255. Cisco access lists and OSPF network statements use wildcard masks.

Does the calculator support IPv6?

No, it works with IPv4 addresses only. IPv6 uses 128-bit addresses and a /64 is the standard subnet size, so IPv4 host counts and broadcast addresses do not apply.

Who Uses CIDR Calculators?

🔧

Network Engineers

Plan IP addressing, VLAN segmentation, and route summarization for enterprise and carrier networks.

☁️

Cloud Engineers

Design VPC CIDR blocks, subnet splits, and security group rules for AWS, Azure, and GCP infrastructure.

🛡️

Security Professionals

Configure firewall ACLs, network segmentation, and zero-trust architecture using CIDR ranges.

🎓

Certification Students

Practice subnetting for CCNA, Network+, AWS Solutions Architect, and other networking certifications.

⚙️

DevOps Engineers

Define Terraform, CloudFormation, and Ansible network configurations with precise CIDR blocks.

🚀

System Administrators

Manage DHCP scopes, static IP assignments, and troubleshoot IP conflicts across server infrastructure.