CIDR & Chmod Calculator
Calculate IPv4 CIDR subnets, usable host ranges, and 32-bit binary masks, and convert between Linux chmod octal and symbolic permissions.
Screenshots
Key Features
Calculate IPv4 CIDR subnet ranges or convert Linux chmod permissions
chmod / cidr / subnet / ipcalc / netmask / permissions
Overview & Usage Guide
Calculate IPv4 CIDR subnet masks, usable host ranges, and 32-bit binary masks, and convert between Linux chmod octal and symbolic permissions—completely offline.
Usage
- Command: Calculate IPv4 CIDR subnet ranges or convert Linux
chmodpermissions (keywords such ascidr,chmod,subnet,ipcalc,netmask,permissions). - Type directly into the search box and the mode switches automatically based on input: inputs like
755,rwxr-xr-x, orchmod 755switch to permission calculation, while inputs containing.or/switch to CIDR calculation. You can also switch modes on the right side of the search box. - CIDR result rows:
Entercopies the usable IP range,⌘/Ctrl+Entercopies the subnet mask, and⌘/Ctrl+Klets you copy the network address/CIDR. Permission result rows:Entercopies thechmodcommand,⌘/Ctrl+Entercopies the octal value, and⌘/Ctrl+Klets you copy the symbolic string. PressEnteron the common subnets or common permissions listed below to load them into the calculator. - CIDR supports
/0through/32and defaults to/24when the prefix is omitted. You can also enter a subnet mask such as192.168.1.5 255.255.255.0,192.168.1.5/255.255.255.0, or the hexadecimal mask format from macOSifconfig(192.168.1.5/0xffffff00); masks must be contiguous. IPv4 addresses must be four decimal octets without leading zeros./31is counted as 2 addresses for point-to-point links and/32represents a single host, neither having a separate broadcast address. Usable host counts are mathematical values and do not exclude special-purpose addresses within the range. - Displays the address classification (private, loopback, link-local, documentation, multicast, reserved, etc., based on the IANA IPv4 Special-Purpose Address Registry); classification applies only to the entered IP and does not probe reachability.
- Permissions support 3–4 digit octal values (e.g.,
755,4755,1777), 9-character symbolic strings (e.g.,rwxr-xr-x,rwsr-xr-x,rwxrwxrwt), andls-style strings with a leading file type character (e.g.,drwxr-xr-x, optionally ending with macOS@/+or Linux.markers), distinguishings/Sandt/T. You can also enterchmod 755orchmod -R 755, but trailing filenames are not accepted and will report a format error. Replace<file>in the copied command template yourself; the plugin never executes commands. - Warns when world-writable permissions are set. Does not evaluate ACLs, file flags, user identity, or other runtime access controls.
Platforms & Requirements
- Supported: Windows, macOS
Network & Data
- Works offline; all calculations run locally.
Frequently Asked Questions (FAQ)
How do I install and launch "CIDR & Chmod Calculator" in ZTools?
Open the Plugin Marketplace inside ZTools Workbench, search for "CIDR & Chmod Calculator", and install it. Then type its name in the launcher bar to open it.
Is "CIDR & Chmod Calculator" free? Which platforms are supported?
Yes, it is free to install with source code published in the ZTools-extensions repository. Supported platforms: Windows / macOS.