🌍

Subnet Calculator

Software · 2 inputs · Free

🌍

Subnet Calculator

2 inputs

Parameters

What is this tool?

Subnet Calculator helps developers with encoding, encryption and text processing. Calculates network address, broadcast address, mask, wildcard, first/last usable host, host count, class and private/public status from an IPv4 address and CIDR (192.168.1.10/24) or mask; /31 (RFC 3021) and /32 rules apply.

📘 Common mistakes · Worked example
IP / CIDRSubnet mask (if no CIDR)

Calculates network address, broadcast address, mask, wildcard, first/last usable host, host count, class and private/public status from an IPv4 address and CIDR (192.168.1.10/24) or mask; /31 (RFC 3021) and /32 rules apply.

The result is not exact or binding and is for information only; it is not an official document and cannot be used in official procedures. Confirm it with the competent authority or a professional before acting; no liability is accepted for losses arising from its use.

Last reviewed: · Methodology and sources

How is it calculated?

Calculates network address, broadcast address, mask, wildcard, first/last usable host, host count, class and private/public status from an IPv4 address and CIDR (192.168.1.10/24) or mask; /31 (RFC 3021) and /32 rules apply.

Inputs

ValueUnitExample
IP / CIDR—192.168.1.10/24
Subnet mask (if no CIDR)—

What is this tool?

Subnet Calculator helps developers with encoding, encryption and text processing. Calculates network address, broadcast address, mask, wildcard, first/last usable host, host count, class and private/public status from an IPv4 address and CIDR (192.168.1.10/24) or mask; /31 (RFC 3021) and /32 rules apply.

Common mistakes

  • Assigning the broadcast address to a device. Addresses such as 192.168.1.255 reach every host on the segment and cannot be used as a host address.
  • Confusing the total with the usable hosts. A /24 network has 256 addresses, but only 254 are usable.
  • Mixing up the CIDR and the mask. /24 is the same as 255.255.255.0, while /16 means 255.255.0.0.
  • Taking the network address for the device address. With 192.168.1.10/24 the device is 192.168.1.10 and the network is 192.168.1.0.
  • Ignoring the private ranges. Addresses outside 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 are treated as public.

📘 How to Calculate a Subnet: CIDR, Network and Broadcast →

Sources

Key terms

IP / CIDRSubnet mask (if no CIDR)

Frequently Asked Questions

+Subnet Calculator — how is it calculated?

Calculates network address, broadcast address, mask, wildcard, first/last usable host, host count, class and private/public status from an IPv4 address and CIDR (192.168.1.10/24) or mask; /31 (RFC 3021) and /32 rules apply.

+Which values are required?

IP / CIDR, Subnet mask (if no CIDR).

+Is my data stored?

No. All calculations run in your browser; the values you enter are never sent to or stored on a server. If you press “Save”, the calculation stays only in your own browser and you can delete it at any time.

+Is it free?

Yes, all tools are free and require no sign-up.

Similar tools

Popular Tools

🧮

Free Calculators in One Place

Tax, finance, health, math and more — 500+ tools, all in one place.

Choose your cookie preference to continue

Records the site needs to work (theme, language, favourites) stay in your browser.

This site is free and funded by ads.

With your consent, Google Analytics cookies measure visits and Google AdSense cookies are used to show ads; the data is processed on Google servers abroad.

If you reject, the site works just the same.

Cookie Policy · KVKK notice