The formulas are used when:
How do you determine the number of subnets from a subnet mask?
A total number of subnets: Using the subnet mask 255.255. 255.248, number value 248 (11111000) indicates that 5 bits are used to identify the subnet. To find the total number of subnets available simply raise 2 to the power of 5 (2^5) and you will find that the result is 32 subnets.
Which is the formula to calculate the number of subnets?
To calculate the number of possible subnets, use the formula 2n, where n equals the number of host bits borrowed. For example, if three host bits are borrowed, then n=3. 23 = 8, so eight subnets are possible if three host bits are borrowed.
Why do you subtract 2 from subnets?
Francesco makes a good point that when you are talking about how many hosts are in a subnet you subtract 2 since most subnets have two addresses that are reserved and can not be used for host addressing. These are the address of the subnet itself and the broadcast address of the subnet.
To know more about subnets:
https://brainly.com/question/29335124
#SPJ4