How Subnet calculator works
Subnet calculator takes an IPv4 address with a CIDR prefix (like 192.168.1.10/24) and works out every derived fact locally in your browser: the network and broadcast address, the subnet mask and its wildcard form, the first and last usable host, the total and usable address counts, and whether the network falls in a private (RFC 1918) range. Nothing you type is sent anywhere.
The arithmetic is exact 32-bit bitwise math, not an approximation: masks are built from the prefix length, the network address masks off the host bits, and the broadcast address sets them all to one. Point-to-point /31 links (RFC 3021, both addresses usable) and single-host /32 entries are handled as their own special cases rather than forced through the usual "subtract network and broadcast" formula.