IPv4 Subnet (CIDR) Calculator
Calculate netmask, broadcast, usable host ranges, wildcard mask, and network classification.
IPv4 Subnet (CIDR) Calculator
Calculate netmask, broadcast, usable host ranges, and network classification
How to Use IPv4 Subnet (CIDR) Calculator
1. Enter IPv4 Address & Netmask
Input any IPv4 address with CIDR prefix notation (e.g. 192.168.1.0/24) or select a subnet mask.
2. Calculate Network Parameters
Computes network address, broadcast address, subnet mask, wildcard mask, and usable host IP range.
3. Review Subnet Bit Breakdown
Inspect the binary representation of network and host bits to understand subnet allocation clearly.
How This Utility Works
Comprehensive IPv4 network engineering calculator. Computes CIDR prefixes (/0 to /32), network IP, broadcast address, first and last usable host ranges, total usable host count, wildcard masks, and RFC 1918 private vs public scope.
Hashing and cipher transformations run entirely via the standard W3C Web Cryptography API in volatile RAM. Secrets and keys never touch a cloud endpoint.
Frequently Asked Questions
What does a /24 subnet mean?
A /24 subnet has 24 network bits and 8 host bits (255.255.255.0), providing 256 total IP addresses and 254 usable hosts.
Calculate CIDR Subnet Masks & IP Ranges in Shell
Run directly in your terminal without installing external heavy dependencies
$ ipcalc 192.168.1.0/24Calculates network address, broadcast address, netmask, and usable host count for any IPv4 CIDR prefix.
$ python3 -c 'import ipaddress; net = ipaddress.ip_network("10.0.0.0/22"); print("Hosts:", net.num_addresses - 2, "Netmask:", net.netmask)'Built-in Python 3 ipaddress library to inspect subnet properties.