Data storage converter
Convert decimal gigabytes into common decimal and binary storage units.
Calculate address counts and mask information from an IPv4 prefix length.
Calculate address counts and mask information from an IPv4 prefix length.
CIDR prefix length: 24.
Subnet mask: 255.255.255.0 ; Total addresses: 256 ; Traditional usable hosts: 254 .
Usable-host conventions differ for /31 and /32 networks. This tool describes IPv4 only and does not allocate a network address.
Results are rounded for display; calculations use unrounded values. Read our calculation methodology.
Calculate address counts and mask information from an IPv4 prefix length. The displayed figures use the inputs and formula shown on this page.
Use the ipv4 subnet to compare a scenario, check an estimate, or verify a manual calculation.
| Input | What to enter |
|---|---|
| CIDR prefix length | Enter a number of at least 0 and no more than 32. |
Usable-host conventions differ for /31 and /32 networks. This tool describes IPv4 only and does not allocate a network address.
It is exact for the stated mathematical model and entered values. Real-world results can differ when rates, timing, fees, definitions or measurement conditions differ.