VLSM assigns different subnet sizes inside one IPv4 network. This calculator sorts host requirements from largest to smallest, chooses the smallest traditional subnet that fits each request, aligns every block, and reports the network, mask, broadcast, host range, and unused remainder.
The calculator reserves traditional network and broadcast addresses and therefore uses at least a /30 for a positive host request. It does not infer gateways, VLANs, DHCP reservations, redundancy, growth margin, or point-to-point /31 policy.