UnitsAll
network Tool

CIDR Calculator

Convert CIDR prefix blocks (/1 to /32) into dotted-decimal subnet masks and total host counts.

CIDR Calculator & Subnet Mask Converter

Convert CIDR notation (`/24`) to dotted decimal subnet masks, wildcard masks, binary & hex representations, usable host ranges, and subnet divisions.

Subnet Prefix / CIDR:/24 (255.255.255.0)
Subnet Mask255.255.255.0CIDR /24
Wildcard Mask0.0.0.255Inverse Bitmask
Usable Hosts254Total: 256
IP Class & TypeClass CPrivate RFC1918

Network Address Breakdown

Network Address:192.168.1.0
Broadcast Address:192.168.1.255
First Usable Host:192.168.1.1
Last Usable Host:192.168.1.254

Binary & Hexadecimal Representations

Subnet Mask Binary

11111111.11111111.11111111.00000000

Network IP Binary

11000000.10101000.00000001.00000000

Hexadecimal Subnet Mask:0xFFFFFF00

Subnet Splitter / Block Divider

Divide /24 into:
Subnet CIDRNetwork IPUsable Host RangeBroadcast IPUsable Hosts
192.168.1.0/26192.168.1.0192.168.1.1 - 192.168.1.62192.168.1.6362
192.168.1.64/26192.168.1.64192.168.1.65 - 192.168.1.126192.168.1.12762
192.168.1.128/26192.168.1.128192.168.1.129 - 192.168.1.190192.168.1.19162
192.168.1.192/26192.168.1.192192.168.1.193 - 192.168.1.254192.168.1.25562
Cisco Router ACL Permit Directive Snippet

How CIDR Calculator Works

Converts CIDR bit length to 32-bit bitmask integers.

Frequently Asked Questions

What is /16 subnet mask?

A /16 prefix equals 255.255.0.0 subnet mask with 65,534 usable hosts.