Subnet Calculator
Calculate IPv4 subnet masks, CIDR network & broadcast addresses, usable host IP ranges, wildcard masks, and VLSM subdivisions.
Enter any IPv4 address and CIDR prefix (e.g., 192.168.1.1/24) to instantly calculate the Network Address, Broadcast Address, usable host range (192.168.1.1 – 192.168.1.254), Subnet Mask, Wildcard Mask, binary bitmasks, and VLSM subdivisions.
For CIDR prefix /n, the host portion contains 32 - n bits. Subtracting the Network ID and Broadcast ID yields the assignable host count.
IPv4 & CIDR Configuration
Enter an IP and select the subnet prefix
Detailed Subnet Telemetry
32-Bit Binary Representation
Subnet Division / VLSM Explorer
Subdivide 192.168.1.0/24 into smaller networks
| # | Subnet CIDR | Usable Host Range | Broadcast | Hosts | Action |
|---|---|---|---|---|---|
| 1 | 192.168.1.0/26 | 192.168.1.1 – 192.168.1.62 | 192.168.1.63 | 62 | |
| 2 | 192.168.1.64/26 | 192.168.1.65 – 192.168.1.126 | 192.168.1.127 | 62 | |
| 3 | 192.168.1.128/26 | 192.168.1.129 – 192.168.1.190 | 192.168.1.191 | 62 | |
| 4 | 192.168.1.192/26 | 192.168.1.193 – 192.168.1.254 | 192.168.1.255 | 62 |
Share This Tool
Help your team and fellow developers save time with free, private client-side utilities.
Systems & Security Engineers • Applied Cryptography & High-Performance Web Tools
How to Use Subnet Calculator
Enter IP Address
Type an IPv4 address (e.g. 192.168.1.1 or with prefix 10.0.0.1/24) into the IP input field.
Select Subnet Prefix (CIDR)
Choose a CIDR prefix (/1 to /32) from the dropdown or pick from common presets (Home LAN, AWS VPC, Point-to-Point, Docker).
Analyze Network Telemetry
View calculated Network Address, Broadcast Address, First and Last Usable Host IPs, Total and Usable Host counts, and 32-bit binary representations.
Explore Subnet Divisions
Use the VLSM explorer to divide your network into smaller subnets with custom prefixes and one-click navigation.
Practical Examples & Conversions
192.168.1.50/24
Network: 192.168.1.0 | Broadcast: 192.168.1.255 | Range: 192.168.1.1 – 192.168.1.254 | 254 Usable Hosts
Frequently Asked Questions (PAA)
Related Tools & Converters
Algorithm Visualizer & Multi-Race
Interactive real-time visualization of sorting, pathfinding (A*, Dijkstra), and tree traversals.
In-Browser SQL Studio & SQLite WASM
Execute SQL queries, load schemas, import CSVs, and analyze execution plans client-side via SQLite WASM.
Regex State Machine Visualizer
Interactive AST and DFA/NFA state machine visualizer for regular expressions.
Java Execution Visualizer
Step-by-step Java code visualizer tracking stack frames, heap objects, and variable states.
JSON Formatter & Validator
Format, validate, minify, and inspect JSON with hierarchical tree navigation and syntax highlighting.
JWT Token Inspector & Decoder
Decode and inspect RFC 7519 JSON Web Tokens, headers, payload claims, and expiration timestamps.
Authoritative Standards & Citations
Calculations and algorithms on this page are implemented and verified in strict accordance with the following official technical specifications:
RFC 7519: JSON Web Token (JWT)
Standardized compact, URL-safe means of representing claims to be transferred between two parties.
Web Cryptography API Specification
Standard JavaScript API for performing basic cryptographic operations in web applications.
RFC 4122: A Universally Unique IDentifier (UUID) URN Namespace
Definition of uniform format and generation algorithms for UUIDs.