network address calculator

Network Address Calculator

The network address is the canonical first address of a subnet. Enter any IPv4 host address and prefix to find the network it belongs to and see how the network bits produce that result.

network address calculatorfind network addressIP network calculatornetwork subnet calculator
IPv4 / VISUAL ENGINE LOCAL COMPUTE
IP addressVALID
Network / host boundary24 : 8
/0drag the boundary/32
1234567891011121314151617181920212223242526272829303132
Network bitsHost bits
256TOTAL ADDRESSES
192.168.1.0/24
Network address192.168.1.0
Broadcast address192.168.1.255
Usable host range192.168.1.1 — 192.168.1.254
Subnet mask255.255.255.0
Wildcard mask0.0.0.255
Usable hosts254

How to calculate the network address

The network address is found by performing a bitwise AND between the IPv4 address and its subnet mask. Host bits are effectively cleared to zero.

For example, 192.168.1.42/24 belongs to network 192.168.1.0/24. An address such as 10.42.7.9/16 belongs to 10.42.0.0/16.

Binary network-address example

With 192.168.1.42/26, the mask is 255.255.255.192. A /26 creates 64-address blocks in the last octet: 0–63, 64–127, 128–191 and 192–255. Since 42 is in the first block, the network address is 192.168.1.0.

Why the network address matters

Routing entries and subnet definitions normally identify a block by its canonical network address plus prefix. Using a host address instead can be confusing even when software silently normalizes it.

Network address vs default gateway

The network address identifies the subnet itself and is not normally assigned to a host. A default gateway is an actual router interface address inside the usable range, often—but not necessarily—the first or last usable address.

What this calculator shows

The result panel reports the canonical network address, broadcast address, first and last conventional usable addresses, dotted-decimal subnet mask, wildcard mask, total IPv4 address count and usable-host count. The live 32-bit boundary updates with the CIDR prefix, so the relationship between prefix length, block size and address capacity is visible instead of hidden behind a static table.

How to read the result correctly

The calculator normalizes the IP address you enter to the network block that contains it. That means an input such as 192.168.1.42/24 correctly resolves to network 192.168.1.0/24. For prefixes /0 through /30, conventional IPv4 subnetting reserves the first address as the network identifier and the final address as broadcast. /31 and /32 have different practical semantics, so their address counts should not be interpreted with the ordinary “subtract two” rule.

Related subnet tools

You can also use the subnetting cheat sheet for a complete IPv4 prefix reference, browse individual CIDR prefix pages, try the IPv6 subnet calculator, or return to the main visual subnet calculator.

Frequently asked questions

What is a network address?

It is the first, canonical address of an IP subnet, obtained by setting all host bits to zero.

How do I calculate a network address?

Perform a bitwise AND between the IPv4 address and subnet mask.

Is the network address the same as the router address?

No. The network address identifies the subnet; a router or gateway uses an assignable host address within that subnet.