# Calcolatore di subnet IPv4

> Calcola rete, maschera e intervallo di indirizzi IPv4.

[Open tool](https://www.toolcabana.com/it/subnet-calculator) · [Rete e web](https://www.toolcabana.com/it/category/network-and-web)

Tool ID: subnet-calculator. Requested language: it. Description language: it. Complete guide translation: yes.

## Overview (en)

The IPv4 subnet calculator takes an address with or without a /prefix and returns the network, first and last address, netmask, broadcast address, total addresses and usable hosts. Without a prefix it uses the CIDR setting, 24 by default. Calculations use exact integer arithmetic, and /31 and /32 networks follow point-to-point and single-host rules.

## Supported tasks (it)

Calcola rete, maschera e intervallo di indirizzi IPv4.

## Steps (it)

1. Digita o incolla il testo di origine, oppure carica un esempio.
2. Modifica le impostazioni di base o apri la modalità avanzata per ottimizzare il risultato.
3. Esamina e copia o scarica il risultato. Metti in pausa i risultati in tempo reale per eseguire manualmente. Origini o singole impostazioni superiori a 20.000 caratteri richiedono un'esecuzione esplicita.

## Settings

- Prefisso CIDR (usato se l'indirizzo non ha /prefisso) (it; key: prefix; type: number); minimum: 0; maximum: 32

## Limitations (it)

Le operazioni di testo accettano in genere fino a 2.000.000 di caratteri. Parser, generatori e formule singoli applicano limiti aggiuntivi mostrati dai relativi controlli.

## Example input

```text
192.168.1.24/24
```

## Privacy and connections (it)

Questa operazione elabora i dati di origine nel tuo browser. Copia e download sono azioni esplicite; l'input di origine non viene salvato in un account né in una cronologia.

## Questions (it)

### How many usable hosts are in a /24 subnet?

A /24 has 256 total addresses and 254 usable hosts, because the network and broadcast addresses are subtracted. The calculator applies that subtraction for every prefix from /0 up to /30.

### How does the subnet calculator handle /31 and /32?

For /31 it reports no broadcast address and counts both addresses as usable, following point-to-point link semantics. A /32 identifies a single host, so total and usable addresses are both 1.

### Can I enter a host address instead of the network address?

Yes. Enter any address in the subnet, such as 192.168.1.24/24, and the calculator masks it to find the network 192.168.1.0/24 and its range. IPv6 input is rejected here; use the IPv6 subnet calculator for those.

### Dove viene elaborato il mio input?

Questa operazione elabora i dati di origine nel tuo browser. Copia e download sono azioni esplicite; l'input di origine non viene salvato in un account né in una cronologia.

### Quali sono i limiti di input?

Le operazioni di testo accettano in genere fino a 2.000.000 di caratteri. Parser, generatori e formule singoli applicano limiti aggiuntivi mostrati dai relativi controlli.

## Related tools

- [IPv6 subnet calculator](https://www.toolcabana.com/it/ipv6-subnet)
- [IP address validator](https://www.toolcabana.com/it/ip-validator)
