🌐

CIDR Calculator — IPv4 Subnet & Network Range Mapper

Calculate subnet ranges, usable host counts, broadcast addresses, and subnet masks from CIDR notation. Shows network and host addresses in both decimal and binary with color-coded bit visualization.

Devops ToolsDevOps & Infrastructure
Loading tool...

How to Use CIDR Calculator — IPv4 Subnet & Network Range Mapper

How to Use the CIDR Subnet Calculator

Step 1: Enter a CIDR Address

Type or paste a CIDR notation address into the input field. The format is:

IP address / prefix length

For example:

  • 192.168.1.0/24 — a typical home or office LAN
  • 10.0.0.0/8 — a large Class A private network
  • 10.10.5.0/27 — a small subnet with 30 usable hosts

Step 2: Read the Results

The results grid shows:

FieldDescription
Network AddressThe first address in the block (not routable to hosts)
Broadcast AddressThe last address (packets sent here reach all hosts)
First Usable HostLowest IP you can assign to a device
Last Usable HostHighest IP you can assign to a device
Subnet MaskDecimal form, e.g. 255.255.255.0 for /24
Wildcard MaskInverse of the subnet mask, used in ACLs
Usable HostsTotal addresses minus network and broadcast
Total IPsFull address count including network and broadcast

Step 3: Read the Binary Visualisation

The binary table shows each address in dotted binary notation. Bits are colour-coded:

  • Indigo (blue) — network bits, set by the prefix length
  • Orange — host bits, available for device addressing

This makes it easy to see why the network address has all host bits set to 0 and the broadcast has all host bits set to 1.

Step 4: Use the Examples

Click any example button to load a common subnet for quick reference:

  • 192.168.1.0/24 — standard 254-host LAN
  • 10.0.0.0/8 — Class A private (16 million hosts)
  • 10.10.5.0/27 — small 30-host subnet
  • 0.0.0.0/0 — the default route (entire IPv4 internet)

Frequently Asked Questions

Most Viewed Tools

📺

Screen Size Converter — Diagonal Dimension Tool

7,889 views

Calculate screen width and height from diagonal size and aspect ratio. Convert between inches and centimeters for displays, TVs, and monitors with instant dimension calculations.

Use Tool →
🖨️

DPI Calculator — Print Resolution Tool

6,139 views

Calculate DPI (dots per inch), image dimensions, and print sizes. Convert between pixels and physical dimensions for printing and displays.

Use Tool →
⏱️

Seconds to Time Converter — HH:MM:SS Formatter

4,392 views

Convert seconds to HH:MM:SS time format instantly with precise calculations and easy-to-read formatting.

Use Tool →
🔐

TOTP Code Generator — 2FA Testing Tool

4,042 views

Generate time-based one-time passwords from a TOTP secret key. Enter your base32 secret, choose a period and digit length, and get the current and next codes with a live countdown timer. Useful for testing and debugging 2FA integrations.

Use Tool →
🔑

Password Entropy Calculator — Crack Time Estimator

4,019 views

Calculate the information-theoretic bit entropy of any password or API key. Detects character set pools automatically, shows the total number of possible combinations, and estimates crack time across five attack scenarios from rate-limited web logins to GPU cracking clusters.

Use Tool →
{}

JSONL Formatter — Line-by-Line Validator

3,883 views

Format, validate, and inspect JSON Lines (JSONL) and NDJSON files. Validates each line individually, reports parse errors by line number, outputs compact JSONL or a pretty-print preview, and lets you download the cleaned file.

Use Tool →
{ }

JSON to Zod — Schema Generator

3,705 views

Generate Zod validation schema code from a JSON sample object. Infers z.string(), z.number(), z.boolean(), z.array(), z.object(), and z.null() types automatically. Handles nested objects, arrays of objects with optional field detection, and outputs copy-ready TypeScript with import and z.infer type alias.

Use Tool →
🔐

TLS Cipher Suite Checker — Strength Analyzer

3,694 views

Check TLS protocol version compatibility and cipher suite strength ratings against current best practices. Supports IANA and OpenSSL cipher names — rates each suite as Strong, Weak, or Deprecated and explains why.

Use Tool →

Related DevOps & Infrastructure Tools

📄

MIME Type Finder — File Extension Lookup

Find MIME type for file extensions instantly. Look up media types for images, videos, documents, and more.

Use Tool →
📋

API Response Formatter — JSON Pretty Printer

Format and beautify API responses for better readability. JSON formatter with minify and prettify options.

Use Tool →
🤖

Robots.txt Generator — Crawler Control Tool

Generate robots.txt file to control search engine crawlers. Create user-agent rules, allow/disallow paths, set crawl delays, and add sitemap URLs. Perfect for managing bot access to your website.

Use Tool →
⏰

Cron Expression Validator — Schedule Checker

Validate cron expressions, get a plain-English explanation of what they mean, and see the next scheduled run times — all in your browser.

Use Tool →
⚙️

.htaccess Validator — Apache Rule Checker

Lint Apache .htaccess files for syntax errors, unclosed block tags, and common misconfigurations. Detects RewriteRule issues, invalid status codes, deprecated access directives, and unclosed IfModule blocks. Free and runs entirely in your browser.

Use Tool →
⚙️

GitHub Actions Validator — Workflow Syntax & CI/CD Security Audit

Validate GitHub Actions workflow YAML for syntax errors, missing required fields, deprecated commands, mutable action refs, outdated action versions, and broken job dependencies. Get per-job results with fix hints in real time.

Use Tool →
🐙

Docker Compose Validator — Multi-Container YAML Syntax & Logic Check

Validate docker-compose.yml syntax, service definitions, networks, volumes, and environment variables. Catches YAML errors, broken depends_on references, missing image/build, invalid restart policies, and more — with context-aware hints.

Use Tool →
🔐

SSL Certificate Decoder — Expiry & SAN Inspector

Decode X.509 SSL/TLS certificates and RSA private keys in your browser. View subject, issuer, SANs, validity dates, key type, serial number, and SHA-256/SHA-1 fingerprints. Optionally check if a certificate and private key match.

Use Tool →

Share Your Feedback

Help us improve this tool by sharing your experience

We will only use this to follow up on your feedback