Splitting 10.0.0.0/16 for four teams, and 192.168.10.0/24 for 50 devices each
Say you are given 10.0.0.0/16 and need one network for each of four teams. A /16 has 16 bits for devices, which is 65,536 addresses. Four pieces need two more network bits, because two bits can count 00, 01, 10 and 11. So each piece is a /18, with 14 device bits and 16,384 addresses, of which 16,382 can go to devices.
The pieces are found by counting in steps of the piece size. In the third number of the address, a /18 covers 64 values (2 to the power of the 6 device bits left in that octet), so the four networks are 10.0.0.0/18, 10.0.64.0/18, 10.0.128.0/18 and 10.0.192.0/18. The first runs from 10.0.0.0 to 10.0.63.255, the next starts at 10.0.64.0, and so on with no gaps and no overlap. Type 10.0.0.0/16 and 4 above and that is the list you get.
Now size by devices instead. You have 192.168.10.0/24 and each subnet must hold 50 devices. A subnet also spends one address on its network address and one on broadcast, so 50 devices need 52 addresses. The next power of two up is 64, which is 6 device bits, so each subnet is a /26 with 62 usable hosts. A /24 holds four of them: 192.168.10.0/26, 192.168.10.64/26, 192.168.10.128/26 and 192.168.10.192/26. Had you asked for 63 devices, you would need 65 addresses, which rounds up to 128, a /25, and only two would fit.
Asking for a count that is not a power of two shows the rounding. Five subnets from that same /24 need three bits, since two bits only count to four. Three bits make eight /27s of 32 addresses each, 30 usable. The splitter shows all eight. Nothing stops you using five of them and leaving three free, which is usually wise anyway.
The limits are the honest ones of IPv4 subnetting. Equal pieces only come in powers of two. Pieces of different sizes, called variable length subnet masking, are made by splitting one of the pieces again, which this page does if you feed a piece back in. The host counts are for an ordinary network; AWS and Azure reserve five addresses in every subnet and Google Cloud four, so a cloud /26 holds 59 or 60 machines, not 62. And the listing stops at 256 rows to keep the page quick; a /8 split into /24s has 65,536 of them, and the summary says so.