Subnet Calculator
Work out the network, broadcast, host range and mask for any IPv4 subnet, and split it into smaller ones.
Runs in your browser. Nothing leaves this device.
How to use Subnet Calculator
- 1Enter an IP with a prefix, like 192.168.1.10/24, or with a mask.
- 2Read the network, host range, mask and class.
- 3Pick a number to split it into equal subnets.
Questions
Why does a /31 have 2 hosts?
A /31 is used for point-to-point links (RFC 3021), so both addresses are usable. A /32 is a single host.
Can I enter a mask instead of a prefix?
Yes. Type the IP and the mask with a space, like 10.0.0.1 255.255.255.0.
Does it support IPv6?
Not yet. It works with IPv4 only.
Is anything sent to a server?
No. The maths runs in your browser.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- DeveloperBase64 EncoderEncode text or files to Base64 and decode it back, with URL-safe and data URL options.
- DeveloperDiff CheckerCompare two texts and see what was added and removed, line by line or word by word, and download a patch.
- DeveloperHash GeneratorGet the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 of text or any file, and check it against a hash you were given.
- DeveloperJSON FormatterFormat, check and minify JSON, with the exact line of any error.
- DeveloperJWT DecoderRead the header and claims of a JSON Web Token, see when it expires, and check an HMAC signature.
- DeveloperRegex TesterTest JavaScript regular expressions live: every match highlighted, capture groups in a table, and a replace preview.