Skip to main content

CIDR & Chmod Calculator

Calculate IPv4 CIDR subnets, usable host ranges, and 32-bit binary masks, and convert between Linux chmod octal and symbolic permissions.

Free & Open Source Developer chmod cidr subnet ipcalc
Version 1.0.6 Updated 2026-11-25
Download ZTools to Install Install ZTools, then search for "CIDR & Chmod Calculator" in the Plugin Marketplace

Screenshots

CIDR & Chmod Calculator - Preview 1

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 chmod permissions (keywords such as cidr, 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, or chmod 755 switch 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: Enter copies the usable IP range, ⌘/Ctrl+Enter copies the subnet mask, and ⌘/Ctrl+K lets you copy the network address/CIDR. Permission result rows: Enter copies the chmod command, ⌘/Ctrl+Enter copies the octal value, and ⌘/Ctrl+K lets you copy the symbolic string. Press Enter on the common subnets or common permissions listed below to load them into the calculator.
  • CIDR supports /0 through /32 and defaults to /24 when the prefix is omitted. You can also enter a subnet mask such as 192.168.1.5 255.255.255.0, 192.168.1.5/255.255.255.0, or the hexadecimal mask format from macOS ifconfig (192.168.1.5/0xffffff00); masks must be contiguous. IPv4 addresses must be four decimal octets without leading zeros. /31 is counted as 2 addresses for point-to-point links and /32 represents 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), and ls-style strings with a leading file type character (e.g., drwxr-xr-x, optionally ending with macOS @ / + or Linux . markers), distinguishing s/S and t/T. You can also enter chmod 755 or chmod -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.