Skip to content

CIDR / Subnet Calculator

Calculate network details from CIDR notation. All calculations run entirely in your browser.

CIDR Input
Enter an IP address with prefix length in CIDR notation.
Common Subnet Masks
Quick reference for frequently used prefix lengths.
PrefixSubnet MaskTotal HostsUsable 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
/32255.255.255.25510

About the CIDR / Subnet Calculator — IP Network Calculator

Calculate subnet masks, network addresses, broadcast addresses, and usable host ranges from CIDR notation. Free, client-side IP subnet calculator for network engineers and developers.

Private by design

Everything you type here is processed inside your browser. Nothing is sent to a server, logged or stored, so it is safe to use with real numbers, drafts and anything you would not paste into a hosted tool.

Browse every tool or read the creator guides.

Questions people ask

What is CIDR notation?

CIDR (Classless Inter-Domain Routing) notation combines an IP address with a prefix length (e.g., 192.168.1.0/24) to define a network range. The prefix length indicates how many bits are used for the network portion.

How do I calculate a subnet?

Enter an IP address with CIDR prefix (e.g., 10.0.0.0/16) and the tool instantly calculates the network address, broadcast address, subnet mask, usable host range, and total hosts.

What is the difference between /24 and /16?

A /24 network has 256 total addresses (254 usable hosts), while a /16 network has 65,536 total addresses (65,534 usable hosts). The smaller the prefix number, the larger the network.

Is this subnet calculator free?

Yes. All calculations happen locally in your browser using standard IP math. No data is sent to any server.