100% free · Runs 100% in your browser · No signup needed
| IP address | |
| Network address | |
| Broadcast address | |
| First usable host | |
| Last usable host | |
| Usable hosts | |
| Subnet mask | |
| Wildcard mask | |
| IP class | |
| Type |
Every device on a network has an IP address, but a raw IP address alone does not tell you where one network ends and another begins. Subnetting is the technique of splitting a larger network into smaller, manageable sub-networks — and the Subnet Calculator by FistHost does all the binary arithmetic for you. Enter any IPv4 address and a CIDR prefix length (like /24), and it instantly reveals the network address, broadcast address, first and last usable hosts, total usable host count, subnet mask, wildcard mask, the IP's class, and whether the address is private or public — plus the mask and IP in binary notation.
Why does subnetting matter? On a real network, you cannot just hand out IP addresses at random. The subnet mask tells every device which part of an address identifies the network and which part identifies the host. Get it wrong and devices cannot talk to each other, or you waste hundreds of addresses you will never use. Network engineers subnet to carve a big address block into right-sized pieces: a /24 for the office LAN (254 usable hosts), a /30 for a point-to-point router link (2 usable hosts), a /16 for an entire campus. The calculator removes the error-prone manual binary work — no more counting bits on paper — and shows every derived value on one clean screen.
CIDR notation (the /24-style number) is simply a compact way of writing the subnet mask: it counts how many leading bits of the 32-bit address are ones. A /24 means 24 network bits and 8 host bits, giving 2^8 = 256 total addresses, of which 254 are usable (the network and broadcast addresses are reserved). The calculator handles the tricky edge cases too: /31 subnets use both addresses as usable hosts per RFC 3021 (used for point-to-point links), and a /32 represents a single host with no usable host range at all — both are displayed with clear explanations instead of confusing zeros.
Designing a network for a new office or project? You will need a website to go with it. FistHost offers web hosting from just $0.99/month with a free domain included — fast, reliable, and simple enough for anyone to launch a site in minutes. Get your network — and your web presence — running with FistHost.
It is CIDR notation: the number of leading bits in the 32-bit address that belong to the network portion. A /24 means 24 network bits and 8 host bits, equivalent to the subnet mask 255.255.255.0, giving 256 total addresses and 254 usable hosts.
254. A /24 has 8 host bits, so 2^8 = 256 total addresses, minus the network address and the broadcast address which are reserved. The calculator shows this instantly for any prefix.
Point-to-point links between two routers. Per RFC 3021, both addresses in a /31 are usable as host addresses — there is no network or broadcast address. It eliminates the waste of a /30 on links that only ever connect two devices.
The bitwise inverse of the subnet mask: where the subnet mask has 1s, the wildcard has 0s and vice versa. For 255.255.255.0 the wildcard is 0.0.0.255. It is used in access-control lists and some routing-protocol configurations to match ranges of addresses.
Classful addressing assigned fixed boundaries (Class A = /8, B = /16, C = /24) which wasted enormous numbers of addresses. CIDR (Classless Inter-Domain Routing) allows any prefix length, so networks can be sized precisely. The calculator works in CIDR but still reports the legacy class for reference.
By convention, the first address identifies the network itself and the last is reserved for broadcast traffic to all hosts. Assigning either to a device causes conflicts and dropped traffic. The calculator's usable-host range always excludes them (except /31 and /32).
Private ranges defined by RFC 1918 are 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 — these are never routed on the public internet and are reused inside organisations. The calculator labels private and loopback addresses automatically.
Pair this with other free network tools: My IP Address to see your current public IP, Domain Into IP to resolve a domain before subnetting it, and Base64 Encoder Decoder for working with binary-style encoded data.
Building a tech blog, a portfolio, or a company site to go with your networking skills? FistHost web hosting starts at only $0.99/month with a free domain included — one-click setups, solid uptime, and pricing that makes sense. Launch your site on FistHost today.
No reviews yet. Be the first to review this tool!
Reviews are protected by captcha and moderated before they appear.