B2 in Decimal
Hexadecimal B2 equals 178 in decimal.
B2 in all number bases
Decimal178
Hexadecimal0xB2
Binary1011 0010
Octal262
Try another value
Edit this value or switch its base. Your changes are calculated in your browser with exact integer arithmetic.
Input base:
Decimal
178Hex
0xB2Binary
0b10110010Octal
0o262How b2 converts from hexadecimal to decimal
Multiply each digit by 16 raised to its position (starting at 0 from the right), then add the results:
B× 161 = 11 × 16 = 176
2× 160 = 2 × 1 = 2
Sum: 178
This tool runs entirely in your browser - nothing you enter is uploaded or stored.