BE AWESOME
Settings
Utility · Online Tool
New — no ratings yet · ⚡ Client-Side · Private

Subnet Calculator

Work out network/broadcast addresses, netmasks, and host counts from an IP + CIDR.

📖 About Subnet Calculator
Tool Guide

This Subnet Calculator takes an IPv4 address and a CIDR prefix and works out everything else you'd otherwise need to calculate by hand: the network address, the broadcast address, the subnet netmask (both in dotted-decimal and binary form), and the total versus usable host counts for that subnet size. It's aimed at network admins, students studying for networking certifications, and anyone configuring a router or firewall who needs to double-check a subnet's boundaries.

Adjusting the CIDR prefix slider recalculates every value instantly, which makes it useful for exploring how subnet size trades off against host capacity — a smaller prefix number means a larger subnet with more usable hosts, and the calculator makes that relationship immediately visible instead of requiring manual binary math for every attempt.

How to Use Subnet Calculator

  1. Type an IPv4 address into the IP Address field (defaults to 192.168.1.1).
  2. Drag the CIDR Prefix slider or type a value directly into the number field beside it — the two stay in sync.
  3. Read the network address, broadcast address, netmask, and wildcard mask, which recalculate instantly as you type.
  4. Check the first/last usable IP and total/usable host counts for that subnet size.
  5. Check the IP class and binary netmask at the bottom of the results panel.

Features

  • ▸ Network address, broadcast address, and netmask calculation
  • ▸ Netmask shown in both dotted-decimal and binary
  • ▸ Total and usable host counts for the subnet
  • ▸ Live recalculation as you adjust the CIDR prefix
Hello!