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. 255.255.255.0).

This calculator calculates the subnet mask for IPv4 addresses.

 

Subnet Mask

Input

IPv4 Address:
. . .

Subnet Mask:

Output