Skip to content
Calculate.FAST

IP subnet calculator

Inspect an IPv4 or IPv6 CIDR prefix and see its exact network range, masks and address capacity.

IP subnet calculator

Use CIDR for IPv4 or IPv6, for example 192.168.1.10/24 or 2001:db8::1/64.

Checks whether this IPv4 address is a usable gateway in the calculated subnet. It does not select or configure a gateway.

Network
192.168.1.0
Normalized CIDR
192.168.1.10/24
Network
192.168.1.0
Last address
192.168.1.255
Netmask
255.255.255.0
Wildcard mask
0.0.0.255
Conventionally usable hosts
254

Address arithmetic only—no DNS, ownership, reachability, geolocation or network-policy recommendation.

Included

  • Every visible input and selected unit
  • Reconciled intermediate values and result breakdown
  • Reproducible URL state

Not included

  • Address arithmetic only—no DNS, ownership, reachability, geolocation or network-policy recommendation.

What this means

Inspect an IPv4 or IPv6 CIDR prefix and see its exact network range, masks and address capacity.

Address arithmetic only—no DNS, ownership, reachability, geolocation or network-policy recommendation.

Intermediate values are not rounded; only the localized display formats the result.

Formula & worked example

address count = 2^(address bits − prefix length)

192.168.1.10/24

Inputs
32 address bits − 24 prefix bits = 8 host bits
Calculation
2^8 = 256 total addresses; network 192.168.1.0

The range is 192.168.1.0 through 192.168.1.255, with 254 conventionally usable host addresses.

How this calculation works

The calculation follows the formulas, definitions and assumptions explained on this page. The references below support the method and any stated boundaries.

Official sources

Common questions

Is this a measured value?
No. The result is calculated only from your inputs and the formulas described here.
Can I share the exact scenario?
Yes. Every changed setting is stored in the URL, while defaults stay out of the clean route.
What is not included?
Address arithmetic only—no DNS, ownership, reachability, geolocation or network-policy recommendation.

Related calculators