Home › Tools › Networking › Subnet Mask Converter

Subnet Mask Converter

Convert CIDR prefix to subnet mask, wildcard and host count. Free, private and instant.

About the Subnet Mask Converter

A prefix like /24 is shorthand for a subnet mask such as 255.255.255.0. The wildcard mask is its inverse and is used in some firewall rules.

When to use it

Use it when configuring routers, cloud networks or access lists, and to count the usable hosts in a subnet.

How to use the Subnet Mask Converter

  1. Enter or paste your input in the fields above.
  2. The result updates as you type, or press Run.
  3. Press Copy to copy the output.

Frequently asked questions

Is the Subnet Mask Converter free?

Yes. It is completely free, with no signup and no usage limits.

Is my data uploaded anywhere?

No. Everything runs locally in your browser, so what you type never leaves your device.

Does the Subnet Mask Converter work on mobile?

Yes. The tool is responsive and works on phones, tablets and desktops.

More free tools

IPCIDR / Subnet Calculator

Get network, broadcast, mask and host range from CIDR.

Networking
IPURL Parser

Break a URL into protocol, host, path, query and hash.

Networking
IPIP Address to Binary & Decimal

Convert an IPv4 address to decimal, hex and binary.

Networking
IPHTTP Status Code Lookup

Look up HTTP status codes by number or name.

Networking
IPBrowser & Device Info

See your browser, screen, language and timezone details.

Networking
IPCommon Port Number Lookup

Find which service uses a TCP or UDP port.

Networking
Copied!