Computer & Networking

Subnet Host Capacity

Calculate usable IPv4 hosts from CIDR prefix.

Result

Formula

Usable hosts = 2^(32-prefix) - 2

How to use it

Enter your values using the units shown, then select Calculate. Review the formula and the worked explanation generated with your result.

Important note

This tool provides an educational estimate. Verify critical medical, engineering, financial, or construction decisions with a qualified professional.