CIDR Calculator
Work out the address range, netmask and host count of a CIDR block.
What it does
Works out the first and last address, netmask, broadcast address and number of hosts of a CIDR block such as 192.168.1.0/24. Use it when you plan subnets, set firewall rules or configure a cloud network. You get every value in one table.
Related tools
More in Developer Generators
UUID Generator
Make random version 4 UUIDs, one or a thousand at a time.
Password Generator
Make random passwords of any length and character set.
Cron Expression Generator
Build a cron line by picking minutes, hours and days.
Chmod Calculator
Turn Unix permissions into 755-style numbers and rwx letters, and back.
.htaccess Generator
Write redirects, HTTPS rules and caching headers for Apache.
robots.txt Generator
Write a robots.txt file with rules for each crawler and a sitemap line.
Meta Tag Generator
Write the title, description and robots tags of a page.
Test Data Generator
Make rows of fake names, addresses, dates and numbers as CSV or JSON.
CIDR Calculator questions
How do I use the CIDR Calculator?
Enter the values in the fields of the tool and read the result below them.