IPv4 & IPv6 Subnet Calculator
Calculate exact CIDR network boundaries, subnet and wildcard masks, address counts (BigInt /0 to /128), IPv6 expanded/compressed forms, and range membership offline.
192.168.1.0/24
IPv4/24Scope: RFC 1918 Private (192.168.0.0/16)
- Network Address
- 192.168.1.0
- First Usable Host
- 192.168.1.1
- Last Usable Host
- 192.168.1.254
- Broadcast Address
- 192.168.1.255
- Subnet Mask
- 255.255.255.0
- Wildcard: 0.0.0.255
- Total Addresses
- 256
- Usable hosts: 254
- Binary Breakdown
- 11000000.10101000.00000001.00110010
- Mask bits: 11111111.11111111.11111111.00000000
Range Membership Check
Test whether an IP address lies within 192.168.1.0/24.
IPv4 & IPv6 Subnet Calculator Guide
Calculate network addresses, CIDR prefix masks, usable host ranges, and broadcast addresses.
Overview
The Subnet Calculator computes network boundaries for IPv4 and IPv6 addresses. It outputs network addresses, broadcast addresses, wildcard masks, usable host ranges, total available IP counts, and binary bit masks for network engineering and firewall configuration.
How to Calculate Subnet Ranges
Input an IP address and CIDR prefix (e.g. 192.168.1.0/24 or 10.0.0.1/16) or select a subnet mask from the dropdown.
Inspect the network address, broadcast address, first usable host, last usable host, and total assignable hosts.
View the 32-bit binary breakdown highlighting the boundary between network bits and host bits.
192.168.1.50 / 24
Network: 192.168.1.0 | Broadcast: 192.168.1.255 | Usable Hosts: 192.168.1.1 - 192.168.1.254 (254 hosts)
A /24 prefix allocates 24 bits for the network and 8 bits for hosts, yielding 256 total addresses minus network and broadcast.
- IPv4: /0 through /32 CIDR prefixes with standard dotted-decimal notation.
- IPv6: /0 through /128 CIDR prefixes with compressed and expanded hex representation.
- All bitwise calculations operate purely on mathematical IP logic.
- No packets or ping requests are sent across the network.