EncodeHub.onlineDeveloper Encoding Hub
Master Converter Tool

Decimal to Binary Converter

Convert decimal numbers to binary format instantly. Free, fast base-10 to base-2 converter with step-by-step division steps.

Client-Side Execution
Swap Direction
Privacy Protected
Conversion History

Tool Key Features

Instant Conversion

Sub-millisecond base-2 to base-10 calculation.

Accurate Results

Guaranteed 100% mathematical precision.

Unlimited Usage

Convert as many values as you need for free.

Mobile Friendly

Fully responsive UI on phone, tablet, & desktop.

Copy Result

One-click copy output to clipboard.

Secure Processing

All processing happens locally in your browser.

Free Forever

No paywalls, subscription fees, or hidden costs.

No Registration

Start converting immediately without logging in.

What is Decimal to Binary Converter?

Decimal to binary conversion converts base-10 integers used by humans into base-2 binary values readable by computers and microprocessors. It uses repeated division by 2, keeping track of remainders.

How to Use the Decimal to Binary Converter

  1. Type any positive integer into the input box.
  2. Click Convert to execute the division by 2 algorithm.
  3. Copy the binary result or inspect the division steps.

Live Conversion Examples

Input: 45Output: 101101

45 ÷ 2 = 22 r 1; 22 ÷ 2 = 11 r 0; 11 ÷ 2 = 5 r 1; 5 ÷ 2 = 2 r 1; 2 ÷ 2 = 1 r 0; 1 ÷ 2 = 0 r 1

How the Conversion Works

Binary conversion relies on positional values of powers of 2. Each bit position starting from the right (index 0) has a weight of 2^n:

2^7
128
2^6
64
2^5
32
2^4
16
2^3
8
2^2
4
2^1
2
2^0
1

Conversion Formula

Divide the decimal number by 2 repeatedly until quotient is 0. Read remainders from bottom to top.

Binary to Decimal Conversion Table (0–32)

DecimalBinary (8-bit)Hexadecimal
0000000000x00
1000000010x01
2000000100x02
3000000110x03
4000001000x04
5000001010x05
6000001100x06
7000001110x07
8000010000x08
9000010010x09
10000010100x0A
11000010110x0B
12000011000x0C
13000011010x0D
14000011100x0E
15000011110x0F
16000100000x10
17000100010x11
18000100100x12
19000100110x13
20000101000x14
21000101010x15
22000101100x16
23000101110x17
24000110000x18
25000110010x19
26000110100x1A
27000110110x1B
28000111000x1C
29000111010x1D
30000111100x1E
31000111110x1F
32001000000x20

Frequently Asked Questions

How do you convert decimal to binary manually?

Divide the number by 2 continuously and write down the remainders in reverse order.