Esta página aún no está traducida al español, así que la mostramos en inglés.

Subnet Calculator — IPv4 & IPv6 CIDR

Enter an IP with a prefix (10.0.0.0/22) or a subnet mask (192.168.1.10 255.255.255.0) to get the network, broadcast, usable hosts and binary breakdown — and split it into subnets.

Actualizado el

Tus datos nunca salen de tu ordenador. Todo se procesa localmente en tu navegador.

Cómo usar: Subnet Calculator

  1. Type an address with a prefix (/24) or with a dotted subnet mask.
  2. Read the network, broadcast and usable host range.
  3. Enter a longer prefix under Split into subnets to list every subnet of that size.

How subnetting works

An IPv4 address is 32 bits. The prefix length (the number after the slash in CIDR notation) says how many of those bits identify the network; the rest identify hosts. A /24 leaves 8 host bits: 256 addresses, of which the first is the network address and the last the broadcast address, leaving 254 usable hosts.

CIDR cheat sheet

PrefixSubnet maskAddressesUsable hosts
/8255.0.0.016,777,21616,777,214
/16255.255.0.065,53665,534
/22255.255.252.01,0241,022
/24255.255.255.0256254
/26255.255.255.1926462
/28255.255.255.2401614
/30255.255.255.25242
/31255.255.255.25422 (point-to-point, RFC 3021)
/32255.255.255.25511 (single host)

Private and special ranges

  • 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 — private networks (RFC 1918), not routed on the internet.
  • 100.64.0.0/10 — carrier-grade NAT shared space.
  • 169.254.0.0/16 — link-local, used when DHCP fails.
  • 192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24 — reserved for documentation.

Wildcard masks and cloud networks

A wildcard mask is the inverse of the subnet mask (0.0.0.255 for a /24) and is used in Cisco ACLs and OSPF. When planning AWS VPCs or Azure VNets, remember that the cloud reserves extra addresses: AWS keeps five per subnet (network, router, DNS, future use and broadcast).

IPv6

IPv6 addresses are 128 bits. Networks almost always use a /64 per LAN; ISPs hand out /48 or /56 blocks to customers, giving 65,536 or 256 LANs. Enter an IPv6 CIDR above to see the expanded form and range. Look up which addresses a name resolves to with the DNS lookup, or find your own public IP with What is my IP.

Private IP address ranges

These ranges are reserved for private networks (RFC 1918) and other special uses, so they’re never routed on the public internet. Paste any of them into the calculator above to see their full host range.

RangeCIDRAddressesUsed for
10.0.0.0 – 10.255.255.25510.0.0.0/816,777,216Private networks (RFC 1918) — large companies, cloud VPCs
172.16.0.0 – 172.31.255.255172.16.0.0/121,048,576Private networks (RFC 1918) — Docker’s default bridge uses 172.17.0.0/16
192.168.0.0 – 192.168.255.255192.168.0.0/1665,536Private networks (RFC 1918) — home and office routers
100.64.0.0 – 100.127.255.255100.64.0.0/104,194,304Carrier-grade NAT (RFC 6598), also Tailscale
169.254.0.0 – 169.254.255.255169.254.0.0/1665,536Link-local (automatic addresses when DHCP fails)
127.0.0.0 – 127.255.255.255127.0.0.0/816,777,216Loopback (localhost)
fc00:: – fdff:ffff:…fc00::/7—IPv6 unique local addresses (the IPv6 private range)
fe80:: – febf:ffff:…fe80::/10—IPv6 link-local

To see the public address your network uses on the internet, open What Is My IP.

También se busca como: cidr calculator, ip subnet calculator, subnet mask calculator, ipv4 calculator, ipv6 subnet calculator, network calculator, wildcard mask, private ip ranges.

Herramientas que combinan con: Subnet Calculator

  • WireGuard Config Generator — Set up a WireGuard VPN in minutes.
  • Comprobador de puertos — Comprueba si un servidor acepta conexiones en puertos específicos —web (80/443), correo (25/587/993), SSH, bases de datos o escritorio remoto— y mira cuáles están abiertos, cerrados o filtrados por un cortafuegos.
  • Prueba de ping — Mide la velocidad de respuesta de un servidor: introduce un host y obtén la latencia de ida y vuelta, la fluctuación y los intentos fallidos en varias pruebas de ping, medidos desde nuestro servidor mediante un ping TCP al puerto que elijas.
  • Number Base Converter — Type a number in any base and see it in all the others instantly.

Preguntas frecuentes

What are the private IP address ranges?
The RFC 1918 private ranges are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. Carrier-grade NAT uses 100.64.0.0/10, and the IPv6 equivalent is fc00::/7. The full table is above.
How many hosts are in a /24?
256 addresses, 254 usable: the first is the network address and the last is the broadcast address.
What is the difference between a subnet mask and CIDR?
They express the same thing. 255.255.255.0 has 24 one-bits, so it is written /24 in CIDR notation.
Why does /31 have 2 usable hosts?
RFC 3021 allows /31 networks for point-to-point links, where no network or broadcast address is needed.
What does the wildcard mask mean?
It is the inverted subnet mask, used by Cisco ACLs: 0 bits must match, 1 bits are ignored.
¿Puedo instalar Subnet Calculator como aplicación web y utilizarla sin conexión?
Sí. Subnet Calculator es una aplicación web instalable (PWA): se instala desde el navegador, no se descarga desde una tienda de aplicaciones. Haz clic en «Instalar aplicación» en la parte superior de esta página en Chrome o Edge (Windows, macOS, Linux, ChromeOS) o, en Android, utiliza «Compartir» → «Añadir a la pantalla de inicio» en iPhone y iPad, o «Archivo» → «Añadir al Dock» en Safari 17+ en un Mac. A continuación, se abrirá en su propia ventana con su propio icono y, como se ejecuta íntegramente en tu navegador, seguirá funcionando sin conexión. Firefox en el ordenador de sobremesa no permite instalar aplicaciones web. Cómo funciona la instalación.

Herramientas relacionadas