Skip to main content
WorkUtilities

Subnet Calculator Online Free โ€” CIDR IP Range Tool

Enter a CIDR block to see network details, usable host range, and binary representations.

Runs in your browserFree ยท No signup
Network address192.168.1.0
Broadcast address192.168.1.255
Subnet mask255.255.255.0
Wildcard mask0.0.0.255
Total hosts256
Usable hosts254
First usable192.168.1.1
Last usable192.168.1.254
Network (binary)11000000.10101000.00000001.00000000
Mask (binary)11111111.11111111.11111111.00000000

Mask to CIDR

/24

Quick reference

PrefixSubnet maskTotal hostsUsable hosts
/24255.255.255.0256254
/25255.255.255.128128126
/26255.255.255.1926462
/27255.255.255.2243230
/28255.255.255.2401614
/30255.255.255.25242

About Subnet Calculator

Our free Subnet Calculator computes network address, broadcast address, subnet mask, wildcard mask, total hosts, usable hosts, and IP range from any IPv4 CIDR notation.

Also supports reverse conversion from dotted-decimal subnet mask to CIDR prefix, with binary representations and a quick-reference subnet table.

Essential for network engineers, DevOps professionals, and anyone configuring cloud VPCs, firewalls, and router subnets.

Read the full guide: Subnet calculator guide โ€” CIDR notation and IP ranges explained

When Should You Use Subnet Calculator?

Cloud VPC design

Plan AWS, GCP, or Azure subnet sizes and IP ranges.

Firewall rules

Determine network boundaries for access control lists.

Network troubleshooting

Verify whether an IP falls within a given subnet.

Certification study

Practice subnet math for CCNA and cloud certifications.

Router configuration

Convert between CIDR and dotted-decimal subnet masks.

Frequently Asked Questions

What does /24 mean in an IP address like 192.168.1.0/24?

The /24 is CIDR notation, meaning the first 24 bits identify the network, leaving 8 bits for host addresses. This gives 256 total IP addresses (2^8), with 254 usable after reserving the network and broadcast addresses.

Why are 2 addresses subtracted from the total to get usable hosts?

The first address is the network address (identifies the subnet itself, not assignable to devices), and the last address is the broadcast address (used to send to all devices on the subnet at once) โ€” both are reserved and can't be assigned to individual hosts.

What's the difference between a subnet mask and a CIDR prefix?

They express the same information in different formats. A /24 CIDR prefix is equivalent to a 255.255.255.0 subnet mask โ€” CIDR is more compact and widely used today, while dotted-decimal subnet masks are the older format, still used in some device configuration interfaces.

Which CIDR prefix should I use for a small office network?

/24 (256 addresses, 254 usable) is the most common choice for small networks, providing enough addresses for typical office use while keeping the subnet manageable. For very small segments (like point-to-point links), /30 (4 addresses, 2 usable) is common.

Is subnet calculator free?

Yes. WorkUtilities Subnet Calculator is free with no signup.

Help Us Improve

Your feedback helps us build better tools.