Skip to main content
Calkulon

Matematik

Subnet Calculator

IP Subnet Calculator

/
🌐

Detailed Guide Coming Soon

We're working on a comprehensive educational guide for the Subnet Calculator in your language. The content below is shown in English.

Vad är Subnet Calculator?

▾

An IP subnet calculator finds network address, broadcast address, usable host range, wildcard mask, and number of hosts from an IP/CIDR input like 192.168.1.0/24.

Calkulon makes complex calculations simple — built for students and everyday problem-solvers.

Formel

▾
f(x)Network address = IP AND subnet mask; Host count = 2^(32−prefix)−2; CIDR = /24 means /24 prefix bits

Variabelbeskrivning

▾
SymbolNamnEnhetBeskrivning
IPIP addressIPv4 dotted decimal—
SMSubnet maskdotted decimal or /prefix—
nNumber of usable hosts——

Hur man Subnet Calculator

▾
  1. 1CIDR /n: first n bits = network; remaining bits = host addresses
  2. 2Network address: all host bits set to 0
  3. 3Broadcast: all host bits set to 1
  4. 4Usable hosts = 2^(32−n) − 2

Lösta exempel

▾
Exempel 1
Givet:10.0.0.0/8
Resultat:Network: 10.0.0.0; Broadcast: 10.255.255.255; Hosts: 10.0.0.1–10.255.255.254 (16,777,214 hosts)

Praktiska tillämpningar

▾
🏗️

Network administration and planning

🔬

IP addressing schemes

📊

VLAN and network segmentation

🏥

Network security and access control

Common Subnet Sizes

▾
CIDRHosts usableSubnet maskUse case
/302255.255.255.252Point-to-point links
/296255.255.255.248Small office
/24254255.255.255.0Standard LAN
/1665,534255.255.0.0Large network
/816.7M255.0.0.0Class A network

Vanliga frågor

▾
Q

What's a subnet mask?

A

Defines network portion of IP (mask 1s) and host portion (mask 0s). /24 = 255.255.255.0.

Q

How many hosts in /24 subnet?

A

2^(32−24)−2 = 2^8−2 = 256−2 = 254 usable addresses (network & broadcast reserved).

Q

What's CIDR notation?

A

/24 means first 24 bits are network. Shorthand for subnet mask. 192.168.1.0/24 is cleaner than /255.255.255.0.

Formula-verified for precision
Reviewed October 2026
Our methodology

Ratings & comments

…

Få mattetips varje vecka

Gå med 12 000+ prenumeranter som får räknartips varje vecka.

🔒
100% Gratis
Ingen registrering
✓
Korrekt
Verifierade formler
⚡
Omedelbar
Resultat direkt
📱
Mobilanpassad
Alla enheter

Inställningar

IntegritetVillkorOm© 2026 Calkulon