IPv4 Subnet Calculator
Enter an IPv4 address and prefix to get the network and broadcast addresses, usable host range, subnet and wildcard masks, and a binary view, then split the block into smaller subnets.
This calculator turns any IPv4 address and CIDR prefix into the numbers you actually need to configure a network. Type an address such as 192.168.10.0/24 and it works out the network address, broadcast address, the first and last usable host, the total and usable host counts, and both the subnet mask and its wildcard inverse.
It also shows the address in binary with a divider marking where the network bits end and the host bits begin, and it can split a block into equal smaller subnets, handy when you are carving a larger allocation into per-rack, per-VLAN, or per-service ranges.
- IP-Adresse
- 192.168.1.1
- Netzwerkadresse
- 192.168.1.0
- Broadcast-Adresse
- 192.168.1.255
- Nutzbarer Host-Bereich
- 192.168.1.1 – 192.168.1.254
- Hosts insgesamt
- 256
- Nutzbare Hosts
- 254
- Subnetzmaske
- 255.255.255.0
- Wildcard-Maske
- 0.0.0.255
- CIDR-Notation
- 192.168.1.0/24
- IP-Typ
- Privat (RFC 1918)
Binäre ID
Weitere Details
- IP-Klasse
- C
- Kurz
- 192.168.1.1/24
- Binäre Subnetzmaske
- 11111111.11111111.11111111.00000000
- Integer-ID
- 3,232,235,777
- Hex-ID
- 0xC0A80101
- in-addr.arpa
- 1.1.168.192.in-addr.arpa
- IPv4-gemappte IPv6
- ::ffff:192.168.1.1
- 6to4-Präfix
- 2002:c0a8:0101::/48
Dieses Netzwerk unterteilen
CIDR-Referenztabelle
Jede IPv4-Präfixlänge mit Subnetzmaske, Wildcard-Maske und Host-Anzahl.
| CIDR | Subnetzmaske | Wildcard | Hosts insgesamt | Nutzbare Hosts |
|---|---|---|---|---|
| /0 | 0.0.0.0 | 255.255.255.255 | 4,294,967,296 | 4,294,967,294 |
| /1 | 128.0.0.0 | 127.255.255.255 | 2,147,483,648 | 2,147,483,646 |
| /2 | 192.0.0.0 | 63.255.255.255 | 1,073,741,824 | 1,073,741,822 |
| /3 | 224.0.0.0 | 31.255.255.255 | 536,870,912 | 536,870,910 |
| /4 | 240.0.0.0 | 15.255.255.255 | 268,435,456 | 268,435,454 |
| /5 | 248.0.0.0 | 7.255.255.255 | 134,217,728 | 134,217,726 |
| /6 | 252.0.0.0 | 3.255.255.255 | 67,108,864 | 67,108,862 |
| /7 | 254.0.0.0 | 1.255.255.255 | 33,554,432 | 33,554,430 |
| /8 | 255.0.0.0 | 0.255.255.255 | 16,777,216 | 16,777,214 |
| /9 | 255.128.0.0 | 0.127.255.255 | 8,388,608 | 8,388,606 |
| /10 | 255.192.0.0 | 0.63.255.255 | 4,194,304 | 4,194,302 |
| /11 | 255.224.0.0 | 0.31.255.255 | 2,097,152 | 2,097,150 |
| /12 | 255.240.0.0 | 0.15.255.255 | 1,048,576 | 1,048,574 |
| /13 | 255.248.0.0 | 0.7.255.255 | 524,288 | 524,286 |
| /14 | 255.252.0.0 | 0.3.255.255 | 262,144 | 262,142 |
| /15 | 255.254.0.0 | 0.1.255.255 | 131,072 | 131,070 |
| /16 | 255.255.0.0 | 0.0.255.255 | 65,536 | 65,534 |
| /17 | 255.255.128.0 | 0.0.127.255 | 32,768 | 32,766 |
| /18 | 255.255.192.0 | 0.0.63.255 | 16,384 | 16,382 |
| /19 | 255.255.224.0 | 0.0.31.255 | 8,192 | 8,190 |
| /20 | 255.255.240.0 | 0.0.15.255 | 4,096 | 4,094 |
| /21 | 255.255.248.0 | 0.0.7.255 | 2,048 | 2,046 |
| /22 | 255.255.252.0 | 0.0.3.255 | 1,024 | 1,022 |
| /23 | 255.255.254.0 | 0.0.1.255 | 512 | 510 |
| /24 | 255.255.255.0 | 0.0.0.255 | 256 | 254 |
| /25 | 255.255.255.128 | 0.0.0.127 | 128 | 126 |
| /26 | 255.255.255.192 | 0.0.0.63 | 64 | 62 |
| /27 | 255.255.255.224 | 0.0.0.31 | 32 | 30 |
| /28 | 255.255.255.240 | 0.0.0.15 | 16 | 14 |
| /29 | 255.255.255.248 | 0.0.0.7 | 8 | 6 |
| /30 | 255.255.255.252 | 0.0.0.3 | 4 | 2 |
| /31 | 255.255.255.254 | 0.0.0.1 | 2 | 2 |
| /32 | 255.255.255.255 | 0.0.0.0 | 1 | 1 |
What is subnetting?
Subnetting is the practice of dividing one IP network into several smaller networks. Instead of putting every device on a single flat range, you borrow bits from the host portion of the address to create additional network segments, each with its own address space.
Teams subnet for a few practical reasons:
- Routing: routers forward between subnets, so segmentation keeps broadcast traffic local and makes routing tables predictable.
- Security: putting databases, management interfaces, and public-facing services on separate subnets lets you enforce firewall policy between them.
- Efficient addressing: right-sizing each subnet to the number of hosts it needs avoids wasting large blocks on small segments.
Understanding CIDR notation
CIDR (Classless Inter-Domain Routing) notation writes a network as an address followed by a slash and a number, such as 10.0.0.0/24. The number is the prefix length: how many leading bits identify the network. Everything after those bits identifies hosts within it.
Because an IPv4 address is 32 bits, the smaller the prefix number, the larger the block. A /24 leaves 8 host bits and covers 256 addresses; a /27 leaves 5 host bits and covers 32; a /16 leaves 16 host bits and covers 65,536. Each step of one in the prefix halves or doubles the block size.
Subnet mask vs. wildcard mask
A subnet mask marks the network bits with 1s and the host bits with 0s. For a /24 that is 255.255.255.0. The first three octets are network, the last is host.
A wildcard mask is the bit-for-bit inverse: 0s where the mask has 1s, 1s where it has 0s. The /24 wildcard is 0.0.0.255. Wildcard masks show up in Cisco-style ACLs and in OSPF network statements, where a 0 bit means "must match" and a 1 bit means "don't care", so the calculator surfaces both so you can copy whichever your platform expects.
Reading the binary view
The binary view expands the address into its 32 bits, grouped into the four octets, with a divider placed at the prefix boundary. Everything to the left of the divider is the network portion and is fixed for every host in the subnet; everything to the right is the host portion and varies from address to address.
Reading it left to right makes the structure obvious: the all-zeros host portion is the network address, the all-ones host portion is the broadcast address, and every combination in between is a usable host. It is the clearest way to see why a /26, for example, splits a /24 into four blocks at the third-from-last host bit.
Häufig gestellte Fragen
A /24 is a network with 24 network bits and 8 host bits, giving 256 total addresses. Its subnet mask is 255.255.255.0. Of those 256 addresses, 254 are usable for hosts because the first (network) and last (broadcast) are reserved. It is the most common size for a single LAN or VLAN.
Weitere Tools
IPv6-Subnetzrechner
Erweitern, komprimieren und analysieren Sie ein beliebiges IPv6-Präfix: Adressbereich, Gesamtzahl der Adressen, Anzahl der /64, Reverse DNS und Präfix-Aufteilung.
Tool öffnenMAC-Adressen-Lookup
Ermitteln Sie den Hersteller hinter jeder MAC-Adresse oder OUI, mit Blockdetails, Erkennung randomisierter MACs, Formatkonvertierungen und Bulk-Lookup.
Tool öffnenLooking Glass
Führen Sie Live-BGP-Routenabfragen, Pings und Traceroutes aus unserem eigenen Netzwerk aus – sehen Sie, wie ein Präfix tatsächlich über das Internet geroutet wird.
Tool öffnenBandbreitenrechner
Rechnen Sie Portgeschwindigkeit in monatlichen Datentransfer um und zurück (Gbps und Mbps in TB pro Monat, mit Auslastung) und sehen Sie, wie sich Abrechnung nach 95. Perzentil, nach Volumen und pauschal vergleichen.
Tool öffnenCIDR-zu-IP-Bereich-Konverter
Erweitern Sie einen CIDR-Block in seine erste und letzte Adresse oder fassen Sie einen beliebigen Start-Ende-IP-Bereich zur kleinsten Menge an CIDR-Blöcken zusammen – beide Richtungen, sofort.
Tool öffnen