DangKit

Subnet Calculator

0 uses
4.7/5 (128)

Calculate subnet masks, CIDR, and IP ranges

Processed in your browser
HTTPS encrypted transfer
No data sent to servers

What is Subnet Calculator?

Subnet Calculator computes network address, broadcast address, host range, and CIDR prefix from an IP address and subnet mask.

When to use this tool

  • Planning IP address allocation for a network
  • Determining how many hosts fit in a given subnet
  • Calculating CIDR notation from a subnet mask (or vice versa)
  • Verifying VPC/subnet ranges in cloud infrastructure

How it works

Applies bitwise AND between the IP address and subnet mask to derive the network address. The broadcast address is the network address with all host bits set to 1. Available hosts = 2^(32 - prefix) - 2 (excluding network and broadcast addresses).

Examples

Class C subnet
Input: 192.168.1.100/24
Output: Network: 192.168.1.0 | Broadcast: 192.168.1.255 | Host range: 192.168.1.1โ€“192.168.1.254 | Usable hosts: 254

About Subnet Calculator

Calculate subnet masks, CIDR, and IP ranges It runs entirely in your browser โ€” no files are uploaded to any server, ensuring complete privacy and instant results.

  • โ€ขTest and debug regular expressions
  • โ€ขParse cron expressions in plain English
  • โ€ขFormat SQL, XML, and YAML
  • โ€ขConvert between number bases instantly
Related reading โ†’

Last updated: 2025-01-15

FAQ

Calculate subnet masks, CIDR, and IP ranges

Yes, completely free. No signup required.

Yes. Runs entirely in your browser, no files uploaded.

Yes, works on any device with a modern browser.

No, everything runs in your browser.

Subnet Calculator โ€” Free Online Tool | DangKit