Subnet Mask Calculator

A subnet mask is a mask that divides the IP address into a network address and a host address. Subnet masks are the same size as the IP address and can be written in dot-decimal notation(ex.

This calculator calculates the subnet mask for IPv4 addresses.


Subnet Mask


IPv4 Address:
. . .

Subnet Mask: