NetToolForge
← Network Tools🔢 IPv4 ⇄ Decimal · Hex · Binary

IP Address Converter – IPv4 to Decimal

Convert an IPv4 address to a decimal number, hexadecimal, binary, octal or IPv4-mapped IPv6 — or paste any of those to get the dotted address back. The format is detected automatically and every result can be copied with one click.

How to use the IP Address Converter – IPv4 to Decimal

  1. Type an IP address like 192.168.1.1, a decimal number like 3232235777, a hex value (0x…) or binary.
  2. Every format is shown at once — press ⧉ to copy the one you need.
  3. Check the address class, type (private or public) and reverse DNS name shown under the results.

How to convert an IPv4 address to a decimal number

How to convert a decimal number back to an IP address

Common IP addresses as numbers

Where each format is used

Frequently asked questions

How do I convert an IP address to a decimal number?

Multiply the octets by their place values and add them: a × 16,777,216 + b × 65,536 + c × 256 + d. For example 192.168.1.1 = 3,232,235,777.

How do I convert a decimal number back to an IP address?

Paste the number into the converter and the dotted address appears. By hand, divide by 16,777,216, then 65,536, then 256, and use the whole parts as the octets.

What is the largest IPv4 address as a number?

255.255.255.255, which is 4,294,967,295. That is 2 to the power of 32 minus 1, the largest value a 32-bit number can hold.

Why do databases store IP addresses as integers?

A single number takes less space than text and makes it fast to sort addresses and check whether an IP falls inside a range, which is how IP location lookups work.

What is an IPv4-mapped IPv6 address?

::ffff: followed by the IPv4 address, used by dual-stack systems that handle IPv4 and IPv6 together.

What is the reverse DNS name?

The octets in reverse order plus .in-addr.arpa, for example 1.1.168.192.in-addr.arpa. It is used for PTR lookups.

Is anything sent to a server?

No. All calculations run in your browser on your own device.