Why 192.168.1.1 is 3232235777, and 0xC0A80101
People write IPv4 addresses as four numbers with dots because that is easy to read, but a computer stores the address as one 32-bit number. The dots only mark where each of the four bytes begins. Once you see that, every other form of an address is just the same number written in a different base, and converting between them is a matter of arithmetic you can check by hand.
Take 192.168.1.1. Each part is one byte, worth 256 times as much as the byte to its right. So the number is 192 × 256³ + 168 × 256² + 1 × 256 + 1. That is 192 × 16,777,216 = 3,221,225,472, plus 168 × 65,536 = 11,010,048, plus 256, plus 1, for a total of 3,232,235,777. That is the integer a MySQL INET_ATON() call returns and the value many logs and GeoIP databases store.
Hex is even easier, because two hex digits are exactly one byte. 192 is C0, 168 is A8, 1 is 01 and 1 is 01, so the address is 0xC0A80101. Binary spells out the same bytes as eight bits each: 11000000.10101000.00000001.00000001. Paste any of those forms into the box above and you get 192.168.1.1 back, with all the others alongside it.
IPv6 adds one more form. A server listening on IPv6 that receives a connection over IPv4 records the client as an IPv4-mapped address: ::ffff: followed by the IPv4 address. Written with a dotted tail it is ::ffff:192.168.1.1. Written in plain IPv6 hex the last 32 bits split into two groups, c0a8 and 0101, which compress to ::ffff:c0a8:101. Both are the same address, and both are accepted here.
Dotted octal deserves a warning rather than a use. The C function inet_aton(), and tools built on it such as ping, read a part with a leading zero as octal. So 010.0.0.1 is 8.0.0.1, and 0300.0250.0001.0001 is 192.168.1.1. That has been used to slip addresses past filters that only check the decimal form. This converter refuses leading zeros in dotted input for that reason, and shows the octal form only so you can recognise it.
There are limits. This page converts IPv4 addresses; for IPv6 addresses use the IPv6 calculator. Short forms that some old tools accept, such as 127.1 for 127.0.0.1 or a dotted address with only three parts, are refused rather than guessed at, because their meaning depends on the program reading them.