Free technology and media calculator
CIDR Calculator
Calculate the number of usable IPv4 host addresses for a CIDR prefix length.
Open the interactive cidr calculator
Free tools and planners
Average CalculatorCalculate the mean, median, and mode of a list of numbers entered in your browser.Percentage CalculatorFind a percentage of a number or calculate percentage change.Loan Payment CalculatorEstimate a fixed-rate loan's monthly payment, total paid, and total interest from the principal, annual rate, and term.
Formula
For prefixes /0 through /30, usable hosts = 2^(32−prefix)−2; /31 has 2 addresses and /32 has 1.
Worked example
A /24 network has 254 traditionally usable host addresses.
Assumptions and limitations
This reports address counts only; it does not validate an IP address or determine a network range.
Keep moving with a practical next step
Browse free calculators, planners, and templates, or explore the blog and business directory. No subscription is required.