Decimal to Hex converter
Convert decimal (base 10) to hexadecimal (base 16). Free online tool — no sign-up. Clear formulas and worked examples. Runs locally in your browser.
Enter values to convert.
Formulas
Core equations used by this converter.
How to use
Open the converter
Use the interactive panel at the top of the page.
Enter values
Fill in the required fields for this conversion.
Convert and read the result
Use Convert or let the result update automatically.
Example conversions
Common values with formula and result.
603₁₀` → hex
603₁₀` → hex
Division remainders for `603
Division remainders for `603
255₁₀` → hex
255₁₀` → hex
603₁₀
603₁₀
Decimal to Hex converter specification
Version 1.1.0 · Engine tested
- Engine tested 4 published cases
- Named expert review Not performed
- Calculation version 1.1.0
- Definition
- **Decimal (base 10)** — digits 0–9. **Hexadecimal (base 16)** — digits `0–9` and `A–F` where A=10 … F=15. Common for memory addresses, color bytes, and machine words.
- What it calculates
- Convert decimal (base 10) to hexadecimal (base 16). Repeated division by 16 with remainders 0–9,A–F. Worked examples and conversion table.
- Inputs
- Values required by the selected conversion mode
- Outputs
- Converted result in the target unit or format
- Formula
603 ÷ 16²(256) → d₂ = 2, remainder 603 − 512 = 91- Decimal to hex conversion table
Decimal Hex 0 0 9 9 10 A 11 B 12 C 13 D 14 E 15 F 16 10 32 20 50 32 100 64 - Assumptions
- Conversion runs locally in the browser; values are not uploaded.
- Uses the formulas documented on this page.
- Units
- Formula
- Boundary conditions
- Empty or invalid input yields no valid result.
- Out-of-range values may be rejected by the tool runtime.
- Example
- 603₁₀` → hex → 25B₁₆
- Validation cases
- 603₁₀` → hex → 25B₁₆
- Division remainders for `603 → 25B₁₆
- 255₁₀` → hex → FF₁₆
- 603₁₀ → 25B₁₆
- Sources
- CalculatorX converter runtime
- Standard unit / encoding definitions where applicable
- Calculation version
- 1.1.0
Background
Interpretation and common distinctions.
Use the converter tabs to switch direction when available. Results for Decimal to Hex converter update locally in your browser.
Related tools
Frequently asked questions
Key distinctions behind the conversion.
How do you convert using Decimal to Hex converter?
Use 603 ÷ 16²(256) → d₂ = 2, remainder 603 − 512 = 91. Example: 603₁₀` → hex → 25B₁₆.
Can I switch direction?
Open the related reverse converter listed under Related tools.
Does this run online or locally?
Calculation runs locally in your browser. Values are not uploaded.
How precise are the results?
Results follow the formulas on this page. Round to the precision your use case needs.