Subnet Calculator

Divides an IP network into subnetworks. Calculate information such as network + broadcast address and host range.



When designing networks or coming up with firewall rules, sometimes it's handy to have a subnet calculator around.  This tool helps you figure out netmasks and how many hosts can fit into a subnet.

To use this tool, just put in an IPv4 or IPv6 address and subnet mask (in CIDR notation).

For IPv4 networks, the calculator will return:
  • IP
  • Netmask
  • Wildcard mask (the inverse of the net mask)
  • CIDR notation
  • Network address
  • Usable range
  • Broadcast address
  • Number of usable hosts

For IPv6 networks, the calculator will return:
  • Expanded notation
  • Condensed notation
  • CIDR notation
  • Usable range
  • Number of usable hosts

When to use a subnet calculator
  • Designing a network or adding new equipment - Use the tool to help you figure out how to divide the networks and integrate new and existing network equipment.
  • For practice! - If you're practicing for an exam, you can use the calculator to make sure your subnet calculations are correct.
  • Creating/validating firewall rules - Firewalls often take in CIDR notation. CIDR notation is nice shorthand for describing a block of addresses, but isn't always the most intuitive. You can use the calculator to verify that the hosts you are allowing fall within the usable range.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month

Enjoyed this tool?

Join our community for more IT solutions.

Join Now
Your Tool Here

Have a request or an idea for a tool you would like to see here?

More Tools

  • Useful if you need to troubleshoot a network, or find the origin of an IP address. Gives you information about an IP address or hostname, such as owner information and geographical origin.
  • An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.
  • Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
  • A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.
  • Lets you know if our servers can access a website.  Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.
  • Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.
  • ZipGrep is a utility that can list zip archives of various kinds, including .zip, .war, .ear, .jar and so on. It can also search (to the deepest level of archive nesting) inside the archive for patterns of text without the need to extract the archive's contents.