Subnet Calculator

Calculate IPv4 subnets, network ranges, and CIDR notation

Share this tool

Report a problem

Describe the problem without including private input or files.

How useful was this tool?

How useful was this tool?

Input & options

Quick presets & examples

Your inputs are never uploaded or stored.

Results

Enter your values to see the result.

About IPv4 Subnet Calculator

Our free IPv4 subnet calculator performs bit-accurate subnet calculations for any IP address and CIDR prefix length. Enter an IP address, select a subnet mask using the interactive CIDR slider or type a dotted-decimal mask, and instantly see the network address, broadcast address, usable host range, wildcard mask, IP class, and binary representations. This is an essential tool for network engineers, system administrators, and anyone working with IP addressing and subnetting.

The calculator uses exact 32-bit binary arithmetic (AND, OR, and NOT on the address and mask), so results are correct for every CIDR prefix from /0 to /32. Network address (IP AND mask), broadcast address (network OR NOT mask), and host counts all update instantly as you type.

Use it to split an office /22 into VLAN subnets, write firewall rules for an address range, drill for the CCNA or CompTIA Network+ certification, or check how many usable hosts fit in a /27 (30). Answers come with binary breakdowns and quick-select buttons for common subnet sizes.

Privacy settings

Choose your preferences for analytics, advertising and personalization. Essential storage keeps features such as your theme and saved tools working.

Essential storage is always enabled.