Calculator.CL Logo
Calculator.CL Free Online Calculator
Menu
Network Tool

Subnet Mask Calculator

Plan your network with precision. Calculate IP subnet masks, CIDR ranges, and host capacities in seconds.

IPv4
Subnetting
CIDR
To Mask

What is Subnetting?

Subnetting is the practice of dividing a network into two or more smaller networks. It increases routing efficiency, enhances the security of the network, and reduces the size of the broadcast domain.

Common CIDR Prefixes

CIDR Subnet Mask Addresses
/24 255.255.255.0 256 (254 host)
/16 255.255.0.0 65,536
/8 255.0.0.0 16,777,216

Frequently Asked Questions

What is CIDR?

Classless Inter-Domain Routing (CIDR) is a method for allocating IP addresses and IP routing. It replaces the old Class A, B, C system.

Why are 2 addresses subtracted for hosts?

In every subnet, the very first address is the Network Address and the very last is the Broadcast Address. Neither can be assigned to a host.