IP Address/Subnet Calculator
Calculate IPv4/IPv6 subnets, network addresses, and host ranges
How to Use
- Select IPv4 or IPv6 mode
- Enter the IP address in CIDR notation (e.g. 192.168.1.0/24)
- For IPv4, you can also choose a mode to enter the subnet mask separately
- Calculation results are displayed in real-time
- You can copy each result to the clipboard using the "Copy" button
Use Cases
- When verifying subnet ranges and the number of hosts during network design
- When finding the wildcard mask to use in firewall rules
- When checking IPv6 addresses in expanded and compressed formats
- When checking whether an IP address is private or public
Frequently Asked Questions
What is the difference between CIDR and subnet mask? ▼
CIDR (e.g. /24) represents the number of bits in the network portion, while subnet mask (e.g. 255.255.255.0) expresses the same information in dotted decimal notation. They can be converted to each other, such as /24 = 255.255.255.0.
What is a private IP address? ▼
IP addresses in the private address range defined by RFC 1918 (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16). They are not routed on the Internet and are used within a local network.
Is my input data sent to the server? ▼
No, all calculations are performed entirely in the browser. Your input data is never sent externally.
Related Tools
JSON Formatter & Validator
Format, minify, and validate JSON
JSON to Spreadsheet Conversion
Convert JSON data to an Excel-style grid, select cell ranges and copy
Base64 Encode/Decode
Base64 conversion of text and files
URL Encode/Decode
URL encoding conversion
Regex Tester
Real-time regex testing and matching
Text Diff Viewer
Compare and display text differences
Base Converter
Convert numbers between any bases such as binary, octal, decimal, and hexadecimal
Bit Operation Simulator
Visually simulate bitwise operations
SLA Uptime Calculator
Calculate downtime from SLA uptime
Cron Timeline
Visualize crontab execution schedules as timeline, calendar, and Gantt chart
Bloom Filter Simulator
Visually simulate Bloom filter behavior and calculate optimal parameters
systemd Timer Generator
Interactively generate systemd .timer / .service unit files via GUI
UART Baud Rate Calculator
Calculate divisor ratio, error, and register values from clock frequency and target baud rate
PWM/Timer Configuration Calculator
Calculate and reverse-calculate PWM frequency, duty, resolution, and register settings (PSC/ARR/CCR) from clock and prescaler/counter values
Timer Interrupt Period / Clock Divider Calculator
Calculate interrupt period and frequency from clock, prescaler, and count value. Reverse-calculate optimal PSC/ARR from target period
ADC Resolution, LSB, and Voltage Calculator
Calculate LSB voltage, quantization error, dynamic range, code↔voltage conversion, ENOB, and oversampling from resolution and reference voltage