Skip to content
ENExplore Calculators

Hex IP Converter

Convert an IPv4 or IPv6 address between dotted notation and hexadecimal.

About Hex IP Converter

An IPv4 address's 32 bits can be represented in hexadecimal, either as one 8-digit hex number (e.g. 192.168.1.10 → 0xC0A8010A) or as four 2-digit hex octets separated by dots (C0.A8.01.0A). Hex representations appear in packet captures, DHCP client identifiers, and some legacy Windows/Unix network tools. This converter works in both directions.

Formula

Decimal octet to hex

Each decimal octet (0–255) maps to a 2-digit hex value (00–FF)

octet
One 0–255 segment of the address

Worked example

With the default values below, Hex IP Converter returns Hex (32-bit) of 0xC0A8010A. Change any input above and every figure here is recalculated in your browser.

Inputs used

Conversion Directionone of Decimal IP → Hex, Hex → Decimal IP
Decimal IP → Hex
IPv4 Address
192.168.1.10
Hex Value
C0A8010A

Results

Hex (32-bit)
0xC0A8010A
Hex (Dotted per Octet)
C0.A8.01.0A
Decimal IP
192.168.1.10

Step by step

  1. 1Values used
  2. 2Decimal octet to hex
  3. 3Hex (32-bit)= 0xC0A8010A
  4. 4Hex (Dotted per Octet)= C0.A8.01.0A
  5. 5Decimal IP= 192.168.1.10

Assumptions and limits

  • The result is derived only from the 3 inputs listed above. Anything not among them is not part of the calculation.
  • In particular, this calculator does not take inflation, tax, fees or charges or compounding frequency into account.

How these calculators are built and tested is described on the Methodology page. If a figure looks wrong, please report it.

Frequently Asked Questions

Where are hex IP addresses used?

Hex notation for IPs shows up in packet analyzers like Wireshark, in Windows Registry entries for network adapters, in some router/firewall logs, and when working directly with raw socket or memory-level network data.

What is 192.168.1.10 in hex?

192.168.1.10 converts to 0xC0A8010A as a single 32-bit hex value, or C0.A8.01.0A per-octet.

Can I convert hex back to a decimal IP?

Yes — switch the conversion direction to 'Hex → Decimal IP' and enter the 8-digit hex value (with or without the 0x prefix).

Hex IP Converter – Calculate Hex (32-bit) | Calcrivo