IPv4 subnet & CIDR calculator
Calculate network boundaries, broadcast addresses, usable host ranges, wildcard masks, and RFC 1918/6598 scopes from IPv4 CIDR or dotted subnet masks locally.
Canonical Network
192.168.1.0/24
Class C
Usable Host Range
192.168.1.1
to 192.168.1.254
Usable Hosts
254
256 total IPs
Broadcast Address
192.168.1.255
Private RFC 1918 (192.168.0.0/16)
| Network address | 192.168.1.0 |
|---|---|
| Broadcast address | 192.168.1.255 |
| Subnet mask | 255.255.255.0 (/24) |
| Wildcard mask | 0.0.0.255 |
| Host range | 192.168.1.1 — 192.168.1.254 |
| Binary IPv4 | 11000000.10101000.00000001.00101010 |
| Binary Netmask | 11111111.11111111.11111111.00000000 |
| Scope classification | Private RFC 1918 (192.168.0.0/16) |
Processing runs inside your browser without accounts or server uploads. Modular TypeScript domain logic tested locally.
Report a problem with this toolCIDR & bitmask math
Unsigned 32-bit bitmasks: Network and broadcast addresses compute via exact bitwise AND and OR against a 32-bit contiguous prefix mask.
RFC 3021 /31 links: Point-to-point /31 links expose 2 usable host addresses and /32 host routes expose 1 address rather than subtracting 2.
Scope detection
Reserved blocks: Automatically tags RFC 1918 private networks, RFC 6598 CGNAT (100.64.0.0/10), APIPA link-local, loopback, and multicast prefixes.
Frequently asked questions
- Can I paste a dotted netmask like 192.168.1.5/255.255.255.0?
- Yes. The parser accepts both CIDR prefixes (/0–/32) and contiguous dotted-decimal subnet masks.
Related tools
Browse all toolsNetworking & protocols
CIDR range checker & aggregator
Test whether an IPv4 address belongs to a CIDR block, summarize arbitrary IP ranges into minimal CIDRs, and split subnets.
Networking & protocols
IPv6 compressor & expander
Normalize IPv6 addresses to canonical RFC 5952 compressed form, expand all 32 hex digits, and inspect scope prefixes locally.
Math & statistics
Programmer binary/hex & bitwise
Convert values across decimal, hexadecimal, octal, and binary with 8/16/32-bit two’s-complement views and bitwise operations.