Skip to main content
IP Range CalculatorPRO
IPv4 Subnetting & RangeInstant Client-Side Tool

Usable Host Count Calculator

Account for applicable address reservations.

Usable Host Count Calculator: inputs and results

Enter an IP address, CIDR prefix, or range. Then check its first and last address below.

Quick presets:

Calculated Boundaries & ParametersReady

Network Address192.168.1.0
Broadcast Address192.168.1.255
First Usable Host192.168.1.1
Last Usable Host192.168.1.254
Subnet Mask255.255.255.0
Wildcard Mask0.0.0.255
Total Addresses256
Usable Host Range254

How Usable Host Count Calculator Works?

This tool works by taking the total address count of a prefix and subtracting the addresses reserved by the selected rule: 2 for standard subnets, 0 for /31 links, and 0 for /32 host routes.

  1. Enter a prefix

    Type a prefix such as /26 or a full block such as 10.1.4.0/22.

  2. Compute the total

    The calculator finds 2^(32 − p). A /26 gives 64.

  3. Subtract reserved addresses

    Standard subnets lose the network and broadcast addresses, leaving 62 for a /26.

  4. Show the efficiency

    The calculator divides usable by total. A /26 reaches 96.9 %, and a /30 reaches 50 %.

Usable Host Count Calculator Formula

The formula is Usable Hosts = 2^(32 − p) − 2 for prefixes /0 to /30.

Standard subnets

Usable = 2^(32−p) − 2

Removes the network and broadcast addresses.

/31 links

Usable = 2

RFC 3021 point-to-point rule.

/32 host

Usable = 1

A single-address prefix.

Address efficiency

Efficiency = Usable ÷ Total × 100 %

Larger subnets lose a smaller share to reservations.

Worked example: /21

Total      = 2^(32−21) = 2,048
Reserved   = 2 (network + broadcast)
Usable     = 2,048 − 2 = 2,046 hosts
Efficiency = 2,046 ÷ 2,048 = 99.90 %

Usable Host Count Calculator Conversion Table

The table compares total addresses, reserved addresses, usable hosts, and efficiency for prefixes /16 to /32.

PrefixTotalReservedUsable HostsEfficiency
/1665,536265,534100.00 %
/1732,768232,76699.99 %
/1816,384216,38299.99 %
/198,19228,19099.98 %
/204,09624,09499.95 %
/212,04822,04699.90 %
/221,02421,02299.80 %
/23512251099.61 %
/24256225499.22 %
/25128212698.44 %
/266426296.88 %
/273223093.75 %
/281621487.50 %
/2982675.00 %
/3042250.00 %
/31202100.00 %
/32101100.00 %

What is Usable Host Count Calculator?

The Usable Host Count Calculator is a tool that returns how many IPv4 addresses in a subnet can be assigned to devices after reserved addresses are removed. A /24 has 256 addresses and 254 usable hosts.

The count depends on the prefix length and on the reservation rule. Standard subnets reserve 2 addresses, RFC 3021 /31 links reserve 0, and a /32 identifies 1 host. Cloud platforms reserve more: Amazon Web Services (AWS) reserves 5 addresses per subnet, which the AWS VPC Subnet Capacity Calculator page covers.

The Usable Host Count Calculator returns the count only, so the number drops directly into capacity spreadsheets, procurement requests, and design reviews.

What are the uses of Usable Host Count Calculator?

There are 5 main uses of the Usable Host Count Calculator, including subnet sizing, waste measurement, and capacity planning.

  • Sizing subnets for device counts

    A floor with 120 devices fits a /25 (126 usable hosts) and overflows a /26 (62 usable hosts).

  • Measuring address waste

    Point-to-point links on /30 prefixes waste 50 % of each block. The efficiency column shows the cost.

  • Planning wireless networks

    Guest Wi-Fi networks need large pools. A /22 gives 1,022 usable hosts for high-density venues.

  • Filling capacity reports

    Capacity dashboards compare used addresses with usable hosts, not with total addresses.

  • Answering exam questions

    Subnetting exams ask "how many hosts per subnet". The calculator returns the exact usable figure.