العربية
Back

IP/CIDR subnet calculator: mask, hosts and broadcast instantly, free

Type the address with its prefix such as 192.168.1.0/24 and see the network, mask, wildcard, first and last host, broadcast and address count. IPv6 supported in compressed and expanded forms. All math runs in your browser. This page displays Google ads under our privacy policy.

/24
the most common home prefix: 254 usable hosts
lekando.com
IPv4 · IPv6
both versions in one tool
lekando.com
100%
on your device: nothing sent or stored
lekando.com
instant
results update as you type
lekando.com

Calculate the network

Worked example

For 192.168.1.0/24: mask 255.255.255.0, wildcard 0.0.0.255, first host 192.168.1.1, last host 192.168.1.254, broadcast 192.168.1.255, and 256 addresses in total.

FAQ

What is CIDR notation?

A compact way to write a network: an IP address followed by a slash and the number of fixed bits, like 192.168.1.0/24. The number after the slash sets the network size: the bigger it is, the smaller the network.

How do the mask and wildcard differ?

The mask (255.255.255.0 for example) marks the network part of the address, and the wildcard is its inverse (0.0.0.255), used by some network gear in access lists.

Does it support IPv6?

Yes. Paste an IPv6 address with its prefix like 2001:db8::/32 and it shows the compressed and expanded forms. Host and broadcast details are IPv4-only.

About this tool

Type an address with its prefix such as 192.168.1.0/24 and see the network, mask, wildcard, first and last host, broadcast and address count. IPv4 and IPv6 supported.

https://www.lekando.com/en/tools/subnet-calculator

Free, runs in your browser, no registration.