IPv4 intelligence, made visible

See the network inside the numbers.

A free subnet calculator and CIDR visualizer that turns IPv4 ranges, masks, host counts and binary boundaries into something you can understand at a glance.

NO LOGINNO BACKENDINSTANT RESULTS32-BIT VISUALIZER
IPv4 / VISUAL ENGINE LOCAL COMPUTE
IP addressVALID
Network / host boundary24 : 8
/0drag the boundary/32
1234567891011121314151617181920212223242526272829303132
Network bitsHost bits
256TOTAL ADDRESSES
192.168.1.0/24
Network address192.168.1.0
Broadcast address192.168.1.255
Usable host range192.168.1.1 — 192.168.1.254
Subnet mask255.255.255.0
Wildcard mask0.0.0.255
Usable hosts254
/8 16,777,216 addresses/16 65,536 addresses/24 256 addresses/28 16 addresses/30 4 addresses/32 1 address/8 16,777,216 addresses/16 65,536 addresses/24 256 addresses/28 16 addresses/30 4 addresses/32 1 address
Why it feels different

Subnetting without the spreadsheet feeling.

Most subnet calculators are technically correct but visually flat: enter an IP address, press a button, then decode a dense table. Clear Subnet Calculator is designed around the idea that subnetting is spatial. A CIDR prefix divides a 32-bit address into a network portion and a host portion, so the interface makes that boundary visible instead of hiding it behind notation.

Drag the prefix from /0 through /32 and the bit field changes with it. The address-space visual contracts as the subnet becomes more specific. Network address, broadcast address, usable range, subnet mask, wildcard mask and host counts update together. This makes the calculator useful both when you already understand subnetting and when you are learning it.

01 / BITS

Live binary boundary

See exactly which of the 32 IPv4 bits belong to the network and which remain for hosts.

02 / RANGE

Address space, visualized

Watch the network tighten as the prefix length grows instead of reading CIDR as an abstract suffix.

03 / SPEED

Instant local compute

No form submissions or server round trips. Every calculation happens immediately in your browser.

Subnet calculator explained

What the numbers actually mean.

If you searched for a subnet calculator, IP subnet calculator, online subnet calculator, subnet calculator CIDR, visual subnet calculator, IPv4 subnet calculator, network subnet calculator or IP address subnet calculator, the core task is the same: turn an IP address and network prefix into an exact, verifiable address block. Clear Subnet Calculator combines that calculation with a live visual model so you can both get the answer and understand why it is correct. For IPv6, use the dedicated IPv6 subnet calculator.

An IPv4 address contains 32 binary bits. CIDR notation tells you how many of those bits identify the network. In 192.168.1.42/24, the “/24” means the first 24 bits describe the network and the remaining 8 bits describe addresses inside that network. Because 8 host bits can represent 2⁸ combinations, the subnet contains 256 total IPv4 addresses.

The network address is the first address in the subnet. For 192.168.1.42/24, that is 192.168.1.0. The broadcast address is traditionally the final address, 192.168.1.255. In a conventional /24 LAN, usable host addresses therefore run from 192.168.1.1 through 192.168.1.254, giving 254 usable hosts.

A subnet mask is another representation of the same prefix boundary. A /24 corresponds to 255.255.255.0, while /25 corresponds to 255.255.255.128 and /26 corresponds to 255.255.255.192. The wildcard mask is the bitwise inverse of the subnet mask, so a /24 has wildcard mask 0.0.0.255.

Smaller CIDR numbers describe larger address blocks. A /16 contains 65,536 addresses, whereas a /28 contains only 16. Increasing the prefix length by one divides an address block in half. Moving from /24 to /25 creates two blocks of 128 addresses; moving from /24 to /26 creates four blocks of 64 addresses.

This visual calculator is useful for network engineers checking address plans, developers configuring cloud networks, cybersecurity professionals reviewing ranges, students learning subnetting, and anyone who needs a quick answer without manually converting addresses to binary. Use the dedicated pages for CIDR conversion, subnet masks, IP ranges, network addresses, broadcast addresses and wildcard masks, or open the subnetting cheat sheet when you want a compact reference.

FAQ

Subnetting questions, answered clearly.

What is a subnet calculator?

A subnet calculator takes an IPv4 address and CIDR prefix or subnet mask and calculates the network address, broadcast address, usable host range, subnet mask, wildcard mask, total addresses and usable hosts.

How do I calculate a subnet from CIDR notation?

Enter the IPv4 address and prefix length, such as 192.168.1.42/24. A /24 means 24 bits identify the network and 8 bits remain for host addresses.

How many usable hosts are in a /24 subnet?

A traditional IPv4 /24 contains 256 total addresses and 254 usable host addresses because the network and broadcast addresses are normally reserved.

What is the difference between CIDR and a subnet mask?

CIDR writes the network prefix as a number such as /24. A subnet mask expresses the same boundary in dotted decimal, such as 255.255.255.0.

What is a broadcast address?

The broadcast address is the highest address in a traditional IPv4 subnet. Traffic sent to it is intended for every host on that broadcast domain.

Does this subnet calculator send my IP address anywhere?

No. The calculations run locally in your browser. The IP address you type into the tool is not sent to a calculation server.

What is a 32 subnet?

A /32 prefix contains exactly one IPv4 address because all 32 bits identify the address. It is commonly used for a single-host route, loopback address or an exact IP match rather than a multi-host LAN.

What does a subnet mask of 255.255.255.0 mean?

255.255.255.0 is the dotted-decimal subnet mask for /24. It means 24 bits identify the network and 8 bits remain for addresses inside that subnet, giving 256 total IPv4 addresses.

What is an IP subnet?

An IP subnet is a logical range of IP addresses that share the same network prefix. The prefix or subnet mask determines which bits identify the network and which bits identify addresses inside it.

How to calculate a subnet?

Start with an IP address and CIDR prefix or subnet mask. Apply the mask to find the network address, set all host bits to one to find the broadcast address, and use the remaining host-bit count to calculate the address capacity.

Why use an IP subnet calculator?

An IP subnet calculator avoids manual binary arithmetic and quickly verifies network boundaries, masks, broadcast addresses, usable host ranges and address counts. It is useful when planning networks, firewall rules, cloud VPCs and routes.

How do subnets work?

Subnets divide a larger IP network into smaller address blocks. Increasing the CIDR prefix uses more bits for the network, creating smaller subnets with fewer host addresses.

Does this website have an IPv6 subnet calculator?

Yes. The dedicated IPv6 subnet calculator supports IPv6 addresses and prefix lengths from /0 through /128, with canonical network-prefix and host-bit calculations.