The term subnet mask indicates a 32-bit number that defines how many bits of the IP address of a host describe the network the host belongs to and how many the number of hosts belonging to the same network.
Usually it’s expressed in the form 255.255.255.0 or /24.
In general, 16 and 24-bit subnet masks are used, that is, the first N bits defines the network and the remaining describe single hosts.