calculators
CIDR Calculator
Calculate network, broadcast, hosts, and masks for any IPv4 or IPv6 CIDR block.
IPv4 (/0–/32) or IPv6 (/0–/128)
IPv4 192.168.1.0/24
Network address
192.168.1.0
Broadcast address
192.168.1.255
Subnet mask
255.255.255.0
Wildcard mask
0.0.0.255
First host
192.168.1.1
Last host
192.168.1.254
Total addresses
256
Usable hosts
254
Network (hex)
0xc0a80100
Binary breakdown
11000000.10101000.00000001.00000000
Network bits (24) Host bits (8)
//Share this tool
//Related tools
Calculate everything about a CIDR block: network address, broadcast, subnet mask, wildcard, first and last usable host, total addresses, and a visual binary breakdown. Supports IPv4 (/0–/32) and IPv6 (/0–/128).
[x]Features
- -Network, broadcast, mask, wildcard, and host ranges
- -Total and usable address counts
- -Color-coded binary network/host breakdown
- -Full IPv6 support with shorthand expansion
- -Preset buttons for common blocks
>Use Cases
- >Designing a VPC or subnet layout
- >Checking whether an IP is inside a subnet
- >Calculating host capacity before provisioning
- >Converting between CIDR and mask notation