免费十六进制转十进制转换器

将十六进制数即时转换为十进制数。

十进制值

255

公式

## How to Convert Hexadecimal to Decimal ### Method Hexadecimal (base-16) uses digits 0-9 and letters A-F (where A=10, B=11, C=12, D=13, E=14, F=15). Enter the numeric value of each hex digit (0-15). **Decimal = d3×4096 + d2×256 + d1×16 + d0×1** For example, hex FF (enter 15, 15): 15×16 + 15×1 = 240 + 15 = 255.

计算示例

Convert hex 00FF to decimal.

  1. 010×4096 + 0×256 + 15×16 + 15×1
  2. 02= 0 + 0 + 240 + 15
  3. 03= 255

常见问题

What is hexadecimal?

Hexadecimal (base-16) uses 16 symbols: 0-9 and A-F. It is widely used in computing to represent binary data compactly, since each hex digit corresponds to exactly 4 binary bits.

Why is hex used in computing?

Hexadecimal provides a compact way to represent binary. One hex digit equals 4 bits, so a byte (8 bits) is exactly 2 hex digits. This makes it easier to read and write binary values.

What do A-F represent in hex?

A=10, B=11, C=12, D=13, E=14, F=15. Enter these numeric values in the input fields.

学习

Metric vs Imperial: A Complete Guide to the Two Measurement Systems

相关计算器