Subnet Calculator

Whether you are a CCNA student or experienced network engineer this IP Subnet calculator tool will make your subnetting life easy.

Please enter IPv4 or IPv6 address and subnet mask in regular decimals format or CIDR notation:

  • Vaild IPv4 or IPv6 address
  • Valid Subnet Mask or CIDR
Subnet Ninja Logo

Calculator Input Examples

IPv4 address:, Netmask quad-dotted notation:
IPv4 address:, CIDR notation:/24
IPv6 address:2001:db8::, Netmask:/64

About The Subnet Calculator Tool

The online tool can be used to calculate prefixes for IPv4 and IPv6 networks from IP address and netmask or CIDR. The Subnet calculator will produce a table with the network address, broadcast address, netmask, CIDR, wildcard mask, number of address in the prefix, first / last host and the address types (Global / Private, Unicast / Multicast, IPv6 link local, and more). For students that practice subnetting we also added the binary representation of the prefix to the ipcalc. The IP calculator tool is designed to be Mobile Friendly so please feel free to bookmark and use it from any device you prefer.