Helper-KitInternet Tools

Subnet Calculator

Calculate IPv4 subnets from CIDR or netmask: network, broadcast, host range, usable hosts and wildcard mask.

Prefix:
Try:

Example result for 192.168.1.10/24. Type an address above to calculate your own.

192.168.1.0/24254 usable addresses

192.168.1.10 · Private (RFC 1918) · Class C

Network

192.168.1.0/24

Broadcast

192.168.1.255

First usable

192.168.1.1

Last usable

192.168.1.254

Netmask

255.255.255.0

Wildcard

0.0.0.255

Total addresses

256

Hex

0xC0A8010A

Binary · network bits highlighted

IP11000000.10101000.00000001.00001010

Mask11111111.11111111.11111111.00000000

Calculated entirely in your browser. Nothing you type is sent anywhere. /31 and /32 follow the point-to-point and single-host rules (RFC 3021).

About This Tool

Subnet Calculator works out everything about an IPv4 network from an address and a prefix (such as /24) or a netmask (such as 255.255.255.0). Results update as you type: network address, broadcast address, first and last usable host, total and usable hosts, netmask, wildcard mask, address class and whether the range is private or public, plus a binary view. It handles the special cases correctly: /31 point-to-point links (RFC 3021) where both addresses are usable, and /32 single-host routes. Everything is calculated in your browser, so it works offline and nothing is sent anywhere.

Common Use Cases

  • Planning IP ranges for a network
  • Finding the usable host range of a subnet
  • Converting between CIDR and netmask
  • Getting wildcard masks for ACLs and firewall rules
  • Studying for networking certifications

Frequently Asked Questions

What is CIDR notation?

A short way to write a netmask: /24 means the first 24 bits are the network, which equals 255.255.255.0.

Why are 2 addresses not usable?

In most subnets the first address identifies the network and the last is the broadcast address. /31 and /32 are exceptions.

What is a wildcard mask?

The inverse of the netmask, used in Cisco ACLs and some routing configs. /24 has the wildcard 0.0.0.255.

Was this tool helpful?

More in this category