Back to Developer
IP / CIDR calculator — network & host count

IP / CIDR calculator — network & host count

Crunch an IPv4 CIDR like `192.168.1.10/24` into network address, broadcast, subnet mask, wildcard mask, first/last host, and total host count. Flags private, loopback, and reserved ranges. Everything runs in your browser — perfect for vetting internal network plans without sending them anywhere.

developercalculator

How to use

Enter an IPv4 address in CIDR notation (e.g., `192.168.1.10/24`) to compute the network address, broadcast, subnet mask, wildcard mask, first/last host IP, usable host count, total addresses, and a classification (RFC 1918 private ranges, loopback, link-local, multicast, etc.). If you omit the prefix, the address is treated as `/32`. Use the sample chips for common ranges.

FAQ

Is the IP uploaded?
No. Everything is calculated by JavaScript inside your browser, so even internal network plans stay private.
Is IPv6 supported?
Currently only IPv4. IPv6 has a 128-bit address space that needs a BigInt-based implementation — it may ship as a separate tool if there is demand.
What's the difference between usable hosts and total addresses?
Total is the size of the CIDR range (256 for /24). Usable hosts excludes the network and broadcast addresses (254 for /24). /31 is a special case for point-to-point links where both addresses are usable (2), and /32 is a single-host designation (1).
Can I enter a host IP with a prefix?
Yes. A host-like input such as `192.168.1.10/24` is fine — the tool computes the network address (192.168.1.0) and proceeds.
Is the prefix optional?
Yes. A bare IP like `8.8.8.8` is treated as `/32` (single host).

Related tools

Number base — bin / oct / dec / hex

Number base — bin / oct / dec / hex

Convert between binary, octal, decimal, and hexadecimal in one step. Toggle the input base (Mode) and the other three are computed instantly. Optional 0b / 0o / 0x prefixes and 4-digit grouping. Powered by BigInt for full precision, all inside your browser.

developercalculatorconversion
ZIP Archive Viewer

ZIP Archive Viewer

Drop a ZIP file to inspect its contents without extracting. See total entry count, archive size, compression ratio, archive comment, plus per-entry path, original / compressed size, compression method (Stored / Deflate / Deflate64 / BZIP2 / LZMA / Zstandard), last modified time, CRC32, encryption flag, and directory marker. Runs via a hand-rolled Central Directory parser — entry data is never decompressed and nothing is uploaded.

developerextract
ASCII Art Text — figlet-style banners in multiple fonts

ASCII Art Text — figlet-style banners in multiple fonts

Convert plain text into figlet-style ASCII art banners (e.g. Hello → █▀▀█ ▀▀█ █░░ █░░ █▀▀█). Runs figlet (MIT) entirely in your browser with 10+ popular fonts (Standard / Big / Slant / Block / Ghost / Banner3-D …). Newlines and multi-line input are supported. The result is rendered in a monospaced view; copy it to clipboard or download as a .txt file. Common uses: section headers in source code, separator lines in CI logs, README titles, terminal MOTDs.

developer
Barcode generator — JAN / EAN / UPC / CODE128 / CODE39

Barcode generator — JAN / EAN / UPC / CODE128 / CODE39

Turn numbers or text into 1D barcodes (JAN-13 / EAN-13, JAN-8 / EAN-8, UPC-A, CODE128, CODE39, ITF, Codabar/NW-7, MSI) and export them as PNG or SVG. Fine-tune bar width, height, colors, margin, and whether the human-readable value is printed below. Check digits are validated automatically. Everything is generated inside your browser — the value you enter never leaves your device.

developergenerateimage