IP Subnet Calculator (IPv4 & IPv6)

About this tool

Calculate IPv4 and IPv6 subnet details with our professional IP subnet calculator. Get network ID, subnet mask, broadcast address, host range, and more. Perfect for network engineers and system administrators.

Worked examples and interpretation

Which subnet contains 192.168.1.77/27?

A /27 advances in blocks of 32. The address falls in 192.168.1.64/27, with hosts from .65 through .94 and a broadcast address of .95. Enter the host itself to see how its decimal and hexadecimal forms differ from the network ID.

Why does a /31 have two usable addresses?

On a point-to-point link using RFC 3021, both addresses identify endpoints. For 192.0.2.10/31 the pair is .10 and .11. A /32 identifies a single address, which is common for a loopback interface.

RFC 3021

Tool reference

IP Subnet Calculator

Compute IPv4 / IPv6 subnet details — network, broadcast, host range, and more.

Category
Addressing & IP
Tags
subnet, ipv4, ipv6, planning

Inputs

  • An IPv4 address and mask (CIDR or dotted-decimal)
  • An IPv6 address and prefix length

Outputs

  • Network ID / prefix
  • Subnet mask / prefix length
  • Broadcast address (IPv4)
  • Usable host range
  • Total host count
  • Wildcard mask and address class (IPv4)

Use Cases

  • Planning a new subnet block
  • Validating a customer-supplied range
  • Quick lookup during incident response

Limitations

  • Single subnet per calculation — use VLSM Calculator for splits
  • Pure-browser math, no external lookups

Example Input

192.168.1.0/24

Example Output

Network:        192.168.1.0
Mask:           255.255.255.0  (/24)
Broadcast:      192.168.1.255
Host range:     192.168.1.1 – 192.168.1.254
Host count:     254