Network & IP Calculation Tools

Network Address Calculator

Enter an IPv4 address and prefix or subnet mask to calculate the network address with a bitwise AND and view the binary operation.

Accepts every prefix length and verifies that dotted-decimal mask bits are contiguous.

Precisely calculate the network address with IP AND Subnet Mask, and view the three-line binary operation.

Your input is processed only in your browser and is never uploaded to a server.

What this tool does

The Network Address Calculator focuses on the starting address of the subnet containing an IPv4 address. It accepts a CIDR prefix or contiguous subnet mask and never guesses the result by truncating a string or simply changing the last octet to 0.

  • Every intermediate bitwise result is converted back to an unsigned 32-bit value.
  • Prefixes such as /13, /20, and /26 are supported, including boundaries that cross octets or do not align to eight bits.
  • The binary calculation lets you verify every bit of the IP AND Mask operation.

How to use it

  1. Enter an IPv4 address.
  2. Enter a prefix or subnet mask.
  3. Click Calculate Network Address.
  4. View the decimal result and binary AND operation.

How it works

Network Address = IPv4 Address AND Subnet Mask. Network bits where the mask is 1 are preserved, while host bits where it is 0 are cleared; the resulting 32-bit value is then converted back to dotted decimal.

Examples

  • 192.168.1.130/26 → Network Address 192.168.1.128.
  • 172.16.33.7/20 → Network Address 172.16.32.0.
  • 192.168.1.130 with 255.255.255.192 → also produces 192.168.1.128.

Common uses

  • Identify the network address of the subnet containing a host.
  • Learn how to perform a bitwise AND on an IPv4 address and mask.
  • Check whether a network configuration other than /24 is correct.

Privacy

Inputs and results are processed only in local browser memory. Nothing is uploaded, sent to an online API, or stored automatically.

Network Address Calculator Features

Precisely calculate the network address with IP AND Subnet Mask, and view the three-line binary operation. Useful for network planning, configuration checks, and troubleshooting; results can be reviewed and copied immediately.

FAQ

What is a network address?

It is the first address in a subnet. All host bits are 0, and the address identifies the network as a whole.

How is a network address calculated?

Perform a bitwise AND on the 32 bits of the IPv4 address and subnet mask.

What is the difference between a network address and an IP address?

An IP address can identify a specific interface within a network, while the network address identifies the entire subnet containing that interface.

Does the calculation probe the target network?

No. The tool performs local calculations only and sends no ping, DNS, or other requests.

Back to Developer Tools