Security & Cryptography100% Client-Side

IPv4 Subnet (CIDR) Calculator

Calculate netmask, broadcast, usable host ranges, wildcard mask, and network classification.

Client-Side Memory Sandbox • Ready

IPv4 Subnet (CIDR) Calculator

Calculate netmask, broadcast, usable host ranges, and network classification

/24
Network Address
192.168.1.0
Broadcast Address
192.168.1.255
Subnet Mask
255.255.255.0
Usable Host Range
192.168.1.1 — 192.168.1.254
Usable Hosts Count
254 hosts
Class & Scope
Class C • RFC 1918 Private
32-Bit Binary Representation
IP Address:11000000.10101000.00000001.00110010
Subnet Mask:11111111.11111111.11111111.00000000

How to Use IPv4 Subnet (CIDR) Calculator

1

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

2. Calculate Network Parameters

Computes network address, broadcast address, subnet mask, wildcard mask, and usable host IP range.

3

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.

Hardware-Level Zero-Knowledge Privacy:

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

CLI Quick Recipe
Bash / Zsh
$ ipcalc 192.168.1.0/24

Calculates network address, broadcast address, netmask, and usable host count for any IPv4 CIDR prefix.

Python 3 (ipaddress)
$ 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.

Offline Mode — Loaded tools run 100% locally