Home Wi-Fi: 192.168.1.0/24
Network: 192.168.1.0. Broadcast: 192.168.1.255. Usable hosts: 192.168.1.1 to 192.168.1.254 (254 total). Mask: 255.255.255.0. Most home routers in India use exactly this subnet (or 192.168.0.0/24).
IPv4 subnet calculator. Enter an IP and CIDR (or netmask) to get the network address, broadcast address, usable host range, total/usable hosts and IP class. Used by network admins, students and CCNA/RHCE candidates.
e.g. 192.168.1.10
0-32; e.g. /24 = 255.255.255.0
Network - 192.168.1.0/24
255.255.255.0
Class C, 254 usable hosts
Network
192.168.1.0
Broadcast
192.168.1.255
First usable
192.168.1.1
Last usable
192.168.1.254
Wildcard mask
0.0.0.255
Total hosts
256
一部のコンテンツはまだ英語で表示されます。
IPv4 subnet calculations are foundational for anyone managing networks - system administrators, network engineers, DevOps engineers, security analysts, and students preparing for certifications like Cisco CCNA, CCNP, Red Hat RHCE, AWS networking specialty, or CompTIA Network+. Given an IP and a CIDR prefix, this calculator instantly returns the network address, broadcast, valid host range, host count, classful designation, and binary representations - saving hours of error-prone manual binary arithmetic.
Subnetting is the practice of dividing a larger IP block into smaller blocks (subnets), typically to organise traffic, improve security through segmentation, or efficiently allocate addresses. Understanding CIDR notation (Classless Inter-Domain Routing) is essential - it replaced the older class-A/B/C system in the 1990s because it allowed flexible-size networks. A /24 has 254 usable hosts; /23 has 510; /22 has 1,022; each prefix bit you 'borrow' from the host portion doubles the network size. This calculator handles all CIDR values from /0 (entire IPv4 space) to /32 (single host), including the special /31 and /32 cases used for point-to-point links.
Enter an IPv4 address (e.g. 192.168.1.10).
Enter the CIDR prefix (e.g. 24 for /24).
Read network, broadcast, first/last usable, hosts, class and binary mask.
Bitwise AND of IP with mask gives the network address. OR with the wildcard gives the broadcast. Total hosts = 2^(32-prefix). Usable = total − 2 (subtract network + broadcast). /31 and /32 are special-cased.
Network = IP & Mask Broadcast = Network | (~Mask) Usable hosts = 2^(32 − prefix) − 2
An IPv4 address is 32 bits, typically written as four dotted decimals (e.g. 192.168.1.10 = 11000000.10101000.00000001.00001010 in binary). The CIDR prefix indicates how many high-order bits are the network identifier. /24 means the first 24 bits are network, last 8 are host. The subnet mask in dotted decimal for /24 is 255.255.255.0 - the 1 bits indicate network, 0 bits indicate host.
Network address: bitwise AND of the IP and the mask, which zeros out the host bits. For 192.168.1.10/24, the network is 192.168.1.0. Broadcast address: bitwise OR of the network and the inverted (wildcard) mask, which sets all host bits to 1. For /24, broadcast is 192.168.1.255. Usable host range: network + 1 to broadcast - 1. Total usable = 2^(32-prefix) - 2. Two addresses are reserved per subnet (network and broadcast) except in special cases.
Special cases: /31 (RFC 3021) is a point-to-point link with 2 addresses, both usable (no network or broadcast reserved). /32 is a single host route, no host range. /0 represents the entire IPv4 space. Classful designation (deprecated but still referenced): Class A is 0.0.0.0-127.255.255.255 with default /8, Class B is 128-191 with default /16, Class C is 192-223 with default /24. Private RFC 1918 ranges: 10.0.0.0/8 (Class A private), 172.16.0.0/12 (Class B private), 192.168.0.0/16 (Class C private).
Network: 192.168.1.0. Broadcast: 192.168.1.255. Usable hosts: 192.168.1.1 to 192.168.1.254 (254 total). Mask: 255.255.255.0. Most home routers in India use exactly this subnet (or 192.168.0.0/24).
Network: 10.0.10.32. Broadcast: 10.0.10.63. Usable: 10.0.10.33 to 10.0.10.62 (30 hosts). Mask: 255.255.255.224. Good size for a small department of 20-30 employees.
Network: 203.0.113.0. Broadcast: 203.0.113.3. Usable: 203.0.113.1 and 203.0.113.2 (2 hosts). Mask: 255.255.255.252. Classic /30 layout for router-to-router connections.
Classless Inter-Domain Routing - '/24' means 24 high bits are network, 8 low bits are host. /24 = 254 usable hosts; /16 = 65,534; /8 = 16,777,214.
The first address (all-zero host bits) is the network. The last (all-one host bits) is broadcast. Both are reserved.
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16. Used for LAN; not routable on the public internet.
/30: 4 addresses (2 usable) - typical point-to-point links. /31: 2 addresses (both usable per RFC 3021) - also used for P2P links.
Date math, password generation, QR codes, IP subnets, base64 encoding, dew point, dice rolls, age calculations - none of these are 'big' problems individually, but they are the small frictions that interrupt your day. This tool runs entirely in your browser, has no popup, no chat widget and no tracking inside the calculation, so you can finish the task and move on.
Many tools in the Daily Utilities category complement each other - date difference + day counter + day-of-the-week, or password generator + QR code + base64 encoder. The related-tool grid links them together so you can move between adjacent problems in a click.
The IP Subnet Calculator is part of the Daily Utilities suite on Online Calculator Tools, alongside 6 related calculators. All tools share the same UI patterns, the same privacy-first rendering (nothing is sent to a server), and the same commitment to showing the formula and assumptions behind every result.