Productive Toolbox

Subnet Calculator

Calculate subnet mask, network address, broadcast address, usable host range, CIDR notation, and binary representation for any IPv4 address instantly.

🌐

IPv4 Subnet Calculator

Enter an IPv4 address and CIDR prefix to instantly calculate network details. All calculations run locally in your browser.

Network Details

/1/16/32

Enter mask to auto-convert to CIDR

Press Esc to reset

Result Summary

Enter an IP and CIDR to calculate

Quick Presets

Calculation Results

Enter an IPv4 address to see results

How to Use the Subnet Calculator

Quick Start Guide

  1. 1Enter IPv4 Address: Type any valid IPv4 address (e.g. 192.168.1.10) in the input field.
  2. 2Set CIDR Prefix: Drag the slider or type a subnet mask (e.g. 255.255.255.0) to auto-convert.
  3. 3View Results Instantly: Network address, broadcast, host range and more update in real time.
  4. 4Export or Copy: Copy all results to clipboard, or export as TXT or JSON for documentation.

Key Features

  • Real-time subnet calculations as you type
  • CIDR ↔ subnet mask auto conversion
  • Binary visualization of IP and mask
  • Private / public / loopback IP detection
  • Calculation history saved locally
  • Export results as TXT or JSON
  • Copy all results to clipboard
  • Quick presets for common subnets

Example Subnet Calculations

InputNetworkBroadcastUsable Hosts
192.168.1.10 /24192.168.1.0192.168.1.255254
10.0.0.50 /1610.0.0.010.0.255.25565,534
172.16.10.33 /27172.16.10.32172.16.10.6330
10.10.0.1 /3010.10.0.010.10.0.32
192.168.100.0 /8192.0.0.0192.255.255.25516,777,214

Subnet Mask Reference

CIDRSubnet MaskTotal AddressesUsable Hosts
/8255.0.0.016,777,21616,777,214
/16255.255.0.065,53665,534
/24255.255.255.0256254
/25255.255.255.128128126
/26255.255.255.1926462
/27255.255.255.2243230
/28255.255.255.2401614
/29255.255.255.24886
/30255.255.255.25242

Frequently Asked Questions

What is a subnet calculator?

A subnet calculator is a tool that takes an IPv4 address and CIDR prefix and computes the network address, broadcast address, usable host range, subnet mask, wildcard mask, and number of hosts. It eliminates manual bitwise calculations for network engineers and students.

What is CIDR notation?

CIDR (Classless Inter-Domain Routing) notation represents an IP address and its associated network prefix. For example, 192.168.1.0/24 means the first 24 bits are the network portion, leaving 8 bits for host addresses (256 total, 254 usable).

How is the network address calculated?

The network address is computed by performing a bitwise AND between the IP address and the subnet mask. For 192.168.1.100 with mask 255.255.255.0, the result is 192.168.1.0.

How many usable hosts are in a /24 subnet?

A /24 subnet has 256 total addresses (2^8). Subtracting the network address and broadcast address gives 254 usable hosts.

What is a wildcard mask?

A wildcard mask is the inverse of the subnet mask. It's used in access control lists (ACLs) and routing protocols. For a /24 subnet mask of 255.255.255.0, the wildcard mask is 0.0.0.255.

Who should use this tool?

Network engineers, system administrators, DevOps engineers, cloud engineers, cybersecurity professionals, and students studying for CCNA, Network+, AWS, or Azure certifications.

Who Uses Subnet Calculators?

🔧

Network Engineers

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

☁️

Cloud Engineers

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

🛡️

Security Professionals

Configure firewall rules, ACLs, and network segmentation for zero-trust architecture.

🎓

Certification Learners

Practice subnetting for CCNA, Network+, and cloud certifications with instant feedback.

⚙️

System Admins

Manage DHCP pools, static IP assignments, and troubleshoot IP conflicts efficiently.

🚀

DevOps Engineers

Define infrastructure-as-code network configurations with precision and confidence.