Network Tools

Subnet Calculator

Calculate subnet details from an IP address and mask.

Input

Runs as you type · to force a run

Result

Fill in the form — the answer appears here.

How to use the Subnet Calculator

Use this calculator to find the network that contains an IP address when you know its prefix length or IPv4 dotted subnet mask.

  1. Enter the device or interface IP address.
  2. Enter a prefix such as /24 or an IPv4 mask such as 255.255.255.0.
  3. Compare the calculated network, address range, and host range with the device, gateway, DHCP scope, and route configuration.

How to read the result

The IP and mask combine to produce one containing network. Addresses in that range are usually reached through the connected route; other destinations need a more specific route or a gateway.

Example

Input
192.168.1.37 with /24
What to look for
The address belongs to 192.168.1.0/24, whose ordinary IPv4 host range is 192.168.1.1 through 192.168.1.254.

Before you act on the result

Matching arithmetic does not prove that two devices share a VLAN, that a gateway is configured correctly, or that routing and firewall policy permit packets to pass.

Read the Subnet Calculator Guide for the technology overview and troubleshooting steps.

More in Network Tools

  1. DNS Lookup network Look up common DNS records for a domain.
  2. MX Lookup network Check mail exchanger records for a domain.
  3. SPF Checker network Find SPF records and included domains for an email-sending domain.
  4. CIDR Calculator network Break down a CIDR block into network, mask, and usable host range.