Skip to main content
>_devtools

CIDR & Subnet Calculator

Calculate network ranges from CIDR or address and mask input, or find the smallest IPv4 subnet for a host count.

What this does

Calculate IPv4 or IPv6 network details from CIDR notation or an address and mask. Choose Host count to find the smallest IPv4 subnet that can fit a requested number of usable hosts.

Example

192.168.1.130/26
Network: 192.168.1.128/26
Address range: 192.168.1.128 - 192.168.1.191

Limits and behavior

  • Address + mask mode accepts subnet masks and wildcard masks.
  • Host-count mode calculates IPv4 capacity; IPv6 counts are shown as exact powers of two.