Cálculo CIDR IPv4 e IPv6 /649 min de leituraAtualizado em
Calculadora de Sub-redes IPv4 e IPv6: Guia de Arquitetura de Redes CIDR
Entenda máscaras de rede binárias, calcule endereços de rede e broadcast e gerencie prefixos IPv6 /64.
W
Equipe de Engenharia WEBioDD•100% No Navegador & Zero-Trust
Pontos Principais
- Um endereço IPv4 possui 32 bits divididos em 4 octetos; o prefixo CIDR define a porção fixa de rede.
- O endereço de rede tem todos os bits de host em 0; o de broadcast tem todos os bits de host em 1.
- O número de hosts utilizáveis é calculado pela fórmula 2^(32 - CIDR) - 2.
- IPv6 utiliza endereços de 128 bits, sendo o prefixo /64 o padrão universal para sub-redes de usuário.
100% In-Browser & Local Execution
Calcular Sub-redes e Intervalos CIDR
Obtenha instantaneamente máscaras de sub-rede, endereços de broadcast, capacidade de hosts e notação binária.
- IPv4 CIDR prefixes /8 to /32
- Network & broadcast address math
- Usable IP host range calculator
- Binary bitwise mask visualizer
01.Binary Arithmetic & Bitwise Masking in IPv4 Networks
An IPv4 address consists of 32 binary bits. Subnet masks (e.g., 255.255.255.0 or /24) perform a bitwise logical AND with the IP address to isolate the Network ID from the Host ID. For example, 192.168.1.55 AND 255.255.255.0 yields the network address 192.168.1.0.
02.Calculating Usable Hosts, Wildcard Masks & Ranges
For a given prefix length N, the host bit count is H = 32 - N. Total addresses equal 2^H, while usable host addresses equal 2^H - 2. The Wildcard Mask is the bitwise inverse of the subnet mask (e.g., 0.0.0.255 for /24), commonly used in Cisco ACLs and OSPF configurations.
How to Calculate Subnets and IP Ranges
Step-by-step subnet calculation workflow.
1
Enter IP Address
Type your target IPv4 address (e.g., 10.0.0.1 or 192.168.10.0).
2
Select CIDR Prefix or Mask
Choose the subnet mask from the CIDR dropdown (/8 to /32).
3
Inspect Network Coordinates
Review the calculated Network Address, Broadcast Address, and Subnet Mask.
4
Check Usable Host Range
View the exact first usable IP, last usable IP, and total assignable host count.
Frequently Asked Questions
The first address is reserved as the Network ID (all host bits 0), and the last address is reserved as the Broadcast address (all host bits 1).