Subnet Calculator
Calculate IPv4 subnet details from an IP address and CIDR prefix. Get network/broadcast addresses, host range, wildcard mask, binary breakdown, and split subnets visually.
Subnet Calculator
Calculate network details from an IP address and subnet mask or CIDR notation.
| Field | Octet 1 | Octet 2 | Octet 3 | Octet 4 | Decimal |
|---|---|---|---|---|---|
| IP Address | 11000000 | 10101000 | 00000001 | 00000000 | 192.168.1.0 |
| Subnet Mask | 11111111 | 11111111 | 11111111 | 00000000 | 255.255.255.0 |
| Network | 11000000 | 10101000 | 00000001 | 00000000 | 192.168.1.0 |
| Broadcast | 11000000 | 10101000 | 00000001 | 11111111 | 192.168.1.255 |
Subnet Splitter
Split 192.168.1.0/24 into smaller subnets:
| # | Network | Range | Broadcast | Hosts |
|---|---|---|---|---|
| 1 | 192.168.1.0/25 | 192.168.1.1 - 192.168.1.126 | 192.168.1.127 | 126 |
| 2 | 192.168.1.128/25 | 192.168.1.129 - 192.168.1.254 | 192.168.1.255 | 126 |
Common Private Ranges
What is a Subnet Calculator?
A subnet calculator takes an IPv4 address and a subnet mask (or CIDR prefix length) and computes the full network details: network address, broadcast address, usable host range, wildcard mask, and more. It is essential for network engineers, sysadmins, and anyone studying for Cisco CCNA, CompTIA Network+, or similar certifications.
Key Features
- Full Subnet Details: Network address, broadcast, first/last host, total addresses, usable hosts, IP class, and type (private/public/loopback).
- Binary Breakdown: See every address in binary, octet by octet, with a visual mask showing network vs host bits.
- Subnet Splitter: Divide a network into smaller subnets by choosing a longer prefix. See all resulting subnets with their ranges.
- CIDR Support: Enter addresses in CIDR notation (e.g. 192.168.1.0/24) or select the prefix from a dropdown.
- Common Presets: One-click presets for RFC 1918 private ranges, loopback, and link-local networks.
- IPv6 Mapped: Shows the IPv4-mapped IPv6 address and hex notation.
How to use the Subnet Calculator
- Enter an IPv4 address (e.g. 192.168.1.0) or paste a CIDR block (e.g. 10.0.0.0/16).
- Select the subnet prefix length from the dropdown or quick-select buttons.
- Click Calculate to see all network details, binary breakdown, and mask visualization.
- Use the Subnet Splitter to divide the network into smaller subnets.
Understanding CIDR Notation
CIDR (Classless Inter-Domain Routing) notation appends a prefix length to an IP address, like 192.168.1.0/24. The prefix length indicates how many leading bits of the address identify the network. A /24 means 24 network bits and 8 host bits, giving 256 total addresses (254 usable hosts).
Related
Free forever, no ads, no tracking. Support the project