Subnet Calculator (IPv4 & IPv6 CIDR)
NEWFree subnet calculator for IPv4 and IPv6: get network, broadcast, host range, usable hosts and wildcard mask from any CIDR, and split networks.
Runs 100% in your browser — your input is never uploaded or stored on our servers.
- Network address
- 192.168.1.0
- Broadcast address
- 192.168.1.255
- First usable host
- 192.168.1.1
- Last usable host
- 192.168.1.254
- Usable hosts
- 254
- Total addresses
- 256
- Subnet mask
- 255.255.255.0 (/24)
- Wildcard mask
- 0.0.0.255
- Class
- C
- Range
- Private network · RFC 1918
Network and broadcast addresses are excluded.
Binary view
Address 11000000.10101000.00000001.00001010 Mask 11111111.11111111.11111111.00000000 Network 11000000.10101000.00000001.00000000 Broadcast 11000000.10101000.00000001.11111111
The first 24 bits are the network part; the remaining 8 bits address hosts.
Quick Examples
Typical inputs and the results this tool produces.
Overview
A subnet calculator turns an IP address and prefix (CIDR) or subnet mask into everything you need to configure a network: the network and broadcast addresses, the first and last usable host, the number of hosts, the wildcard mask used by ACLs and OSPF, and a binary view that shows where the network bits end.
Network engineers, cloud architects sizing VPC subnets and students preparing for CCNA use it to avoid off-by-one mistakes. It also detects private (RFC 1918), CGNAT, loopback, link-local, documentation and multicast ranges, handles /31 point-to-point links and /32 host routes correctly, and can split a network into equal subnets.
For IPv6 it shows the compressed and expanded forms, the network prefix and the exact address count. All math runs in your browser.
Why use this tool?
- No off-by-one errors in host ranges
- Correct /31 and /32 handling
- Split a block into equal subnets instantly
- IPv6 compression and exact host counts
- Runs locally, nothing is uploaded
Features
Full IPv4 breakdown
Network, broadcast, host range, usable hosts, netmask and wildcard mask.
Binary view
Address, mask, network and broadcast shown bit by bit in octets.
Range detection
Class A–E plus private, CGNAT, loopback, link-local, documentation and multicast ranges.
Subnet splitting
Divide a network into N subnets or by a new prefix length, with a copyable list.
IPv6 support
Compressed (RFC 5952) and expanded forms, prefix, last address and exact address count.
Copy results
Copy the whole result block or the subnet list as plain text.
How to Use
Enter an address
Type an IP with a prefix like 10.0.0.5/16, or an IP plus a dotted mask.
Read the results
Network, broadcast, host range and range type update as you type.
Split if needed
Under "Split this network", choose N subnets or a new prefix length.
Copy
Use "Copy results" or "Copy list" to paste into docs or configs.