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

Usable IPv4 Host Range Calculator

Apply the selected subnet-use rules.

Usable IPv4 Host Range 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

Key Capabilities

  • •100% Client-Side: Zero telemetry or server latency.
  • •RFC Compliant: Exact 32-bit and 128-bit integer precision.
  • •Quick Copy: Instant access to CIDR, mask, and range bounds.
  • •Cross-Platform: Works on desktop, tablet, and mobile browsers.

How Usable IPv4 Host Range Calculator Works?

This tool works by removing the network address and broadcast address from a subnet and returning the remaining host addresses, with RFC 3021 rules for /31 and host-route rules for /32.

  1. Enter a subnet

    Type a prefix such as 198.51.100.0/23.

  2. Select the rule set

    Prefixes /0 to /30 use the standard rule. A /31 uses the point-to-point rule, and a /32 uses the single-host rule.

  3. Trim the reserved addresses

    The standard rule drops 1 address at each end. The first usable host is network + 1 and the last usable host is broadcast − 1.

  4. Report the host range

    The calculator prints the host range and the usable count, for example 510 hosts for a /23.

Usable IPv4 Host Range Calculator Formula

The formula is First Host = Network + 1 and Last Host = Broadcast − 1 for prefixes /0 to /30.

Standard rule (/0–/30)

Hosts = [Network + 1, Broadcast − 1]

Removes 2 addresses per subnet.

Point-to-point rule (/31)

Hosts = [Network, Network + 1]

RFC 3021 makes both addresses usable.

Host route rule (/32)

Hosts = [IP]

The single address is the host.

Usable count

Usable = 2^(32−p) − 2

Applies to /0 through /30.

Worked example: 198.51.100.0/23

Network    = 198.51.100.0
Broadcast  = 198.51.101.255
First host = 198.51.100.1
Last host  = 198.51.101.254
Usable     = 2^9 − 2 = 510 hosts

Usable IPv4 Host Range Calculator Conversion Table

The table shows the usable host range of 198.51.100.0 at 11 prefix lengths, from /22 to /32, with the rule applied to each row.

PrefixFirst Usable HostLast Usable HostUsable HostsRule
/22198.51.100.1198.51.103.2541,022Total − 2
/23198.51.100.1198.51.101.254510Total − 2
/24198.51.100.1198.51.100.254254Total − 2
/25198.51.100.1198.51.100.126126Total − 2
/26198.51.100.1198.51.100.6262Total − 2
/27198.51.100.1198.51.100.3030Total − 2
/28198.51.100.1198.51.100.1414Total − 2
/29198.51.100.1198.51.100.66Total − 2
/30198.51.100.1198.51.100.22Total − 2
/31198.51.100.0198.51.100.12RFC 3021
/32198.51.100.0198.51.100.01Host route

What is Usable IPv4 Host Range Calculator?

The Usable IPv4 Host Range Calculator is a tool that returns the addresses in an IPv4 subnet that can be assigned to devices. The tool excludes the network address and the broadcast address, which identify the subnet and reach all hosts.

RFC 950 and RFC 1812 reserve the all-zeros and all-ones host values in each subnet. RFC 3021 removes that reservation for /31 point-to-point links, and a /32 prefix describes one host. The Usable IPv4 Host Range Calculator applies the matching rule to each prefix length automatically.

The usable range defines where servers, printers, gateways, and DHCP pools may sit. A /24 such as 192.168.10.0/24 provides 254 usable addresses from .1 to .254.

What are the uses of Usable IPv4 Host Range Calculator?

There are 5 main uses of the Usable IPv4 Host Range Calculator, including static IP assignment, DHCP pool limits, and gateway placement.

  • Assigning static addresses

    Administrators pick server and printer addresses only from the usable range, which prevents conflicts with the network and broadcast addresses.

  • Setting DHCP pool boundaries

    DHCP start and end addresses must fall inside the usable range. The calculator gives the outer limits of the pool.

  • Placing the default gateway

    Most designs put the gateway on the first usable host (.1) or the last usable host (.254 on a /24).

  • Planning point-to-point links

    Router-to-router links on /31 prefixes use both addresses. The calculator confirms the 2 usable endpoints.

  • Validating device configurations

    Configuration audits flag hosts that use a network or broadcast address. The usable range is the reference for those checks.