IP Address Calculator
Analyze any IPv4 address to reveal its binary, decimal, hex, class, address type (public/private), and CIDR block.
Parameters
Summary Output
Schedule Breakdown
How to Use
Enter any valid IPv4 address and select a CIDR prefix. The calculator instantly shows the binary, decimal, and hexadecimal representations, classifies the IP class (A-E), identifies whether it is private or public, and displays the CIDR block.
Example Calculation
For IP 192.168.1.1 with /24: Binary = 11000000.10101000.00000001.00000001, Decimal = 3,232,235,777, Hex = C0A80101, Class C, Private Address, CIDR Block = 192.168.1.0/24.
Formula
Binary: each octet → 8-bit binary\nDecimal: (O1 × 2²⁴) + (O2 × 2¹⁶) + (O3 × 2⁸) + O4\nHexadecimal: each octet → 2-digit hex\n\nClass A: 1.0.0.0 − 127.255.255.255\nClass B: 128.0.0.0 − 191.255.255.255\nClass C: 192.0.0.0 − 223.255.255.255\nClass D: 224.0.0.0 − 239.255.255.255 (Multicast)\nClass E: 240.0.0.0 − 255.255.255.255 (Reserved)\n\nPrivate Ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16
Frequently Asked Questions
Common questions and answers about the IP Address Calculator.
