Subnet Calculator
Turn any IPv4 CIDR block into its network, broadcast, mask and host range.
- Network address
- 192.168.1.0/24
- Netmask
- 255.255.255.0
- Wildcard mask
- 0.0.0.255
- Broadcast address
- 192.168.1.255
- Host range
- 192.168.1.1 – 192.168.1.254
- Usable hosts
- 254
- Total addresses
- 256
About this tool
A subnet defines a contiguous block of IP addresses. CIDR notation (e.g. /24) sets how many leading bits are fixed as the network portion, which in turn determines the netmask, the broadcast address and how many hosts fit in the block.
Enter any IPv4 address with a prefix and this calculator instantly derives the network and broadcast addresses, the subnet and wildcard masks, the usable host range and the total address count — handy when you're allocating proxy IP ranges or planning a network.
Frequently asked questions
It's the CIDR prefix length: the number of leading bits that identify the network. /24 fixes the first 24 bits, leaving 8 bits (256 addresses, 254 usable) for hosts.
The first address in a block is the network identifier and the last is the broadcast address, so neither can be assigned to a host. (For /31 and /32 the usual rules differ.)
More tools
View allIP Address Lookup
Check the geolocation, ISP, organization and ASN of any IP — or your own.
Browser Fingerprint
See what every website can read about your browser, device and identity.
Password Generator
Create strong, random passwords with a live strength meter — all in your browser.
User-Agent Parser
Decode any user-agent string into browser, engine, OS and device type.
IP Address Converter
Convert an IPv4 address between dotted decimal, integer, hex and binary.
Proxy List Formatter
Convert a proxy list between host:port, user:pass@host:port and more.
cURL Command Builder
Build a curl command with a proxy, custom headers, method and body.
Random User-Agent Generator
Generate realistic, up-to-date user-agent strings for desktop and mobile.
JSON Formatter & Validator
Pretty-print, minify and validate JSON with clear error messages.
Base64 Encode / Decode
Encode text to Base64 or decode it back, with full UTF-8 support.
URL Encode / Decode
Percent-encode text for safe use in URLs, or decode it back.
JWT Decoder
Decode a JSON Web Token to inspect its header, payload and expiry.
Unix Timestamp Converter
Convert Unix timestamps to human dates and back, in seconds or milliseconds.
Hash Generator
Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text.
Password Strength Tester
Estimate a password's entropy and how long it would take to crack.
Passphrase Generator
Create memorable, high-entropy passphrases from random words.
UUID & API Key Generator
Generate v4 UUIDs or random API keys in bulk, securely in your browser.