Skip to content
ipaddress.ee

Decimal to IP Converter

Paste an integer from a log, a database column or an API and see which address it is.

IPv4 address
192.0.2.10
Hexadecimal
0xc000020a
Per octet
192×256³ + 0×256² + 2×256¹ + 10×256⁰
As IPv4-mapped IPv6
::ffff:192.0.2.10
Range
Fits in 32 bits: an IPv4 address (0 – 4 294 967 295).
Binary
11000000.00000000.00000010.00001010

Look up this address →

An IPv4 address is a 32-bit number; the dotted notation only writes its four bytes separately. To get the integer, multiply each byte by its place value: a × 256³ + b × 256² + c × 256 + d. So 192.0.2.10 is 192 × 16 777 216 + 0 × 65 536 + 2 × 256 + 10 = 3 221 225 994. IPv6 works the same way with 128 bits, which is why its integers have up to 39 digits.

Databases, firewalls and analytics tools often store addresses as integers because a range then becomes a simple numeric comparison. The reverse conversion turns such a number back into the address it represents: any value up to 4 294 967 295 is an IPv4 address; anything larger can only be an IPv6 address. Hexadecimal input (0xC000020A) is accepted too.

Everything is calculated in your browser; nothing you type is sent to our server.

Frequently asked questions

What is the largest IPv4 integer?

4 294 967 295 (2³² − 1), the address 255.255.255.255.

Do browsers accept an IP address written as one number?

Many do for IPv4 (http://3221225994/), but it is unusual and often a sign of an attempt to disguise a link. Write addresses in dotted form.

Why are IPv6 integers so long?

An IPv6 address has 128 bits, so its integer can be as large as 2¹²⁸ − 1, a 39-digit number.