Skip to main content
KalkuNet

CIDR to IP Range Converter — Network, Broadcast and Host Count

Expand any /0–/32 CIDR notation into network, broadcast & total host count.

Runs in your browserNetwork · Subnetting, CIDR & Network Maths
InputNetworkUsable hostsBroadcastTotal addressesUsableMask
192.168.10.0/24192.168.10.0192.168.10.1 – 192.168.10.254192.168.10.255256254255.255.255.0
10.20.0.0/2210.20.0.010.20.0.1 – 10.20.3.25410.20.3.2551,0241,022255.255.252.0
172.16.5.130/26host bits set — treated as 172.16.5.128/26172.16.5.128172.16.5.129 – 172.16.5.190172.16.5.1916462255.255.255.192
100.64.0.0/31100.64.0.0100.64.0.0 – 100.64.0.1—22255.255.255.254
203.0.113.7/32203.0.113.7203.0.113.7 – 203.0.113.7—11255.255.255.255
2001:db8:abcd::/482001:db8:abcd::2001:db8:abcd::1 – 2001:db8:abcd:ffff:ffff:ffff:ffff:ffff—2^802^79—

When to use the CIDR Block to First–Last Usable IP Range Converter

  • Every key number at once

    Every block shows its network address, usable host range, broadcast, total addresses, host count and subnet mask, so DHCP or firewall settings need no manual maths. Enter many blocks at once, one per line, then copy or download the result as text.

  • The right /31 and /32 rules

    A /31 for point-to-point links uses both addresses per RFC 3021, and a /32 is a single host. Older calculators often wrongly report zero hosts for both.

  • IPv4 and IPv6

    IPv6 blocks such as 2001:db8:abcd::/48 are computed too, with huge address counts written as powers of two so they stay readable.

  • Wrong host bits flagged

    Entries such as 172.16.5.130/26 get a note that host bits are set and are treated as 172.16.5.128/26, a mistake that often breaks ACLs.

Frequently asked questions

How many hosts does a /24 have?

256 addresses in total and 254 hosts, because the network and broadcast addresses are not used by devices.

How is the address count worked out?

The address count is 2 to the power of (32 minus the prefix). For example a /22 holds 2 to the 10th, that is 1,024 addresses.

Does IPv6 have broadcast?

No. IPv6 uses multicast instead, so the broadcast column stays empty. The first address of a subnet is the Subnet-Router anycast address (RFC 4291) and is not given to hosts, except in a /127 or /128.

How do I go from a range to CIDR?

Use the IP Range to CIDR converter to turn a start and end address into a minimal CIDR list.

Is my data sent to a server?

No. Everything is computed in your browser, so your internal addressing plan stays private.

Learn more