Loading the page...
Preparing tools and content for you. This usually takes a second.
Preparing tools and content for you. This usually takes a second.
Fetching calculator categories and tools for this section.
Free IP subnet calculator for developers, sysadmins, and DevOps teams. Enter an IPv4 address and CIDR prefix to calculate subnet mask, wildcard mask, network address, broadcast address, and usable host range with instant results from our programming calculator tools.
Last updated: April 14, 2026
Need custom networking tools for your platform? Get a Quote
Use a prefix from /0 to /32 (common: /24, /25, /26).
Network
192.168.1.0
Broadcast
192.168.1.255
First Host
192.168.1.1
Last Host
192.168.1.254
Subnet Mask
255.255.255.0
Wildcard Mask
0.0.0.255
Total Addresses
256
Usable Hosts
254
Binary IPv4
11000000.10101000.00000001.00001010
Prefix range
/0 to /32
Supports full IPv4 prefix range used in enterprise and cloud networks.
Mask output
Decimal format
Automatically returns both subnet mask and wildcard mask values.
Host planning
Capacity ready
Plan subnets accurately for VLANs, VPCs, and segmented environments.
Boundary values
Precise output
Uses bitwise math to identify exact network and broadcast addresses.
Address classing
Private vs public
Flags private, public, loopback, and link-local ranges.
Bitwise clarity
8-bit octets
Useful for subnetting practice and troubleshooting mask operations.
For IP 192.168.1.10/24:
Network
192.168.1.0
Broadcast
192.168.1.255
This subnet calculator performs IPv4 bitwise math to compute network boundaries and host ranges from CIDR input. It is designed for practical day-to-day engineering tasks and fits into broader programming and infrastructure workflows.
network = ip AND subnet-maskbroadcast = network OR wildcard-maskusable-hosts = 2^(32 - prefix) - 2host-range = network+1 ... broadcast-1For /31 and /32 prefixes, host rules are special and are handled differently from standard subnets.
Shows mask bits, network ID, and host allocation logic
IPv4 subnetting is based on binary addressing and fixed-width 32-bit integers. CIDR prefixes determine the split between network bits and host bits. This calculator translates those bits into practical decimal values used in routers, firewalls, and cloud network dashboards.
Need more developer tools? Try our cloud cost estimator and API usage cost calculator.
Get Custom Developer Tool for Your PlatformResult: /20 provides 4,096 total addresses and 4,094 usable host IPs.
This subnet is often used to balance route simplicity and moderate host capacity.
Share it with engineers and teams working on network planning
Suggested hashtags: #Networking #DevOps #IPv4 #CIDR #Programming #Calculator