IP range calculator

Last update:

Use CIDR notation, such as 2001:db8::/64, or a dotted IPv4 netmask.

Network address
192.168.1.0
Address type
Unicast
Address scope
Private
First address
192.168.1.0
Last address
192.168.1.255
Mask
255.255.255.0
Wildcard mask
0.0.0.255
Broadcast address
192.168.1.255
Addresses in range
256

Enter an IPv4 or IPv6 address with a CIDR prefix. IPv4 also accepts a dotted netmask, for example 192.168.1.10 255.255.255.0.

The first and last addresses include the network and broadcast addresses. IPv6 does not use broadcast addresses, so the calculator shows its inclusive range instead.

Example ​

For 192.168.1.10/24, the network address is 192.168.1.0 and the range ends at 192.168.1.255. A /24 contains 256 total IPv4 addresses, including the network and broadcast addresses.

Common questions ​

How many addresses are in a /26? ​

A /26 has 64 IPv4 addresses. The first and last are the network and broadcast addresses, leaving 62 addresses for hosts on a traditional IPv4 subnet.

Does the calculator support IPv6? ​

Yes. Enter an IPv6 address with a CIDR prefix, such as 2001:db8::1/64. IPv6 has no broadcast address, so the displayed range includes both endpoints.