01DIGITAL & TECH
Decimal to Binary Calculator
Convert a non-negative integer from decimal to binary and hexadecimal.
Enter your values
Your inputs stay in this browser.ⓘ
Privacy-friendly: your inputs are processed locally in your browser.
Formula
The binary representation is the base-2 representation of the integer.
The binary representation is the base-2 representation of the integer.
How it works
1
Enter a whole non-negative integer.
2
Convert it to base 2.
3
Review binary and hexadecimal forms.
Important notes
This tool expects an integer rather than a decimal fraction.