Skip to content
Empire IL: cloud solutions for businesses

Free tool · Empire IL

Subnet / CIDR Calculator

Enter a CIDR and get the network address, broadcast address, subnet mask, wildcard mask, usable address range and number of hosts right away. Free, in your browser, no sign-up.

IPv4 Netmask + Wildcard Host range No sign-up
Network address
192.168.1.0
Broadcast address
192.168.1.255
Subnet mask (Netmask)
255.255.255.0
Wildcard
0.0.0.255
Usable address range
192.168.1.1 – 192.168.1.254
Usable addresses
254
Total addresses in range
256
Prefix
/24

Why it's useful

A must-have tool for managing infrastructure

Precise network planning

Quickly calculate address ranges and subnets before allocating them on a server or in the cloud.

Netmask and Wildcard

Get the mask and the wildcard right away for firewall and ACL rules.

For sysadmins and developers

An everyday tool for managing VPS, servers and private cloud environments.

Need a server to plan your network on?

Once you have planned the subnet, you can set up a real environment on fast local infrastructure in Israel. Empire IL offers virtual servers (VPS) and private cloud with full control over the network.

FAQ

Everything you wanted to know

What is a subnet and what is CIDR?

A subnet (subnetwork) is a division of an IP network into smaller segments. CIDR notation (for example 192.168.1.0/24) specifies a network address together with the number of prefix bits (/24 = 256 addresses). The calculator breaks the CIDR down into the network address, the broadcast address, the subnet mask and the usable address range.

How many usable addresses are there in a /24?

A /24 has 256 addresses in total, of which 254 are usable for hosts, because one address is reserved for the network and one for broadcast. A /30 has 4 addresses and 2 usable ones (common for point-to-point links), and in a /31 both addresses are usable according to RFC 3021.

What is a subnet mask (netmask) and what is a wildcard?

A netmask (for example 255.255.255.0) defines which bits of the address belong to the network and which to the host. A wildcard is the bitwise inverse of the mask (0.0.0.255) and is mainly used in ACL rules on network equipment such as Cisco.

Is the calculation done in the browser?

Yes. The entire calculation is done locally in your browser in JavaScript. No address is sent to a server, and the tool is completely free with no sign-up.

How do I calculate the number of addresses in a subnet?

The number of addresses is 2 to the power of (32 minus the prefix). A /24 is 2 to the power of 8, which is 256 addresses. Usable addresses are 2 fewer, because the network and broadcast addresses are reserved. The exceptions are /31 with 2 usable addresses and /32 with one address.

Which prefix should I choose for my number of devices?

A /27 gives 30 usable addresses, a /26 gives 62, a /25 gives 126 and a /24 gives 254. Choose a prefix that leaves room to grow, and remember that the router, servers and printers also use addresses.

Which IP ranges are private?

Under RFC 1918 the private ranges are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. They are used on internal networks and are not routed on the public internet.

How do I split a /24 into four subnets?

Add 2 bits to the prefix to get four /26 networks of 64 addresses each. For 192.168.1.0/24 they start at 192.168.1.0, 192.168.1.64, 192.168.1.128 and 192.168.1.192, and each has 62 usable addresses.

Does the calculator support IPv6?

No. The calculator works with IPv4 addresses in CIDR format, with prefixes from /0 to /32.

Ready to move your business to the cloud?

Open an account in minutes, or talk to an expert who'll tailor the right solution for you.