radixflip

What is 45 in binary?

45₁₀ converted to binary is 101101₂. The complete working for this exact number is below — or type a different number into the decimal to binary converter and watch it happen live.

45₁₀ = 101101₂

Try it yourself — instant converter

Only 0–9. Type here — the answer appears instantly, no button to press.
Type a number in any box above.

How to convert 45 to binary, step by step

Keep dividing 45 by 2 and writing down each remainder. The remainders, read in reverse, are the answer.

Number÷ 2QuotientRemainder
452221
222110
11251
5221
2210
1201

Reading the remainder column from the bottom up gives 101101, so 45₁₀ = 101101₂. Check it back: 32 + 8 + 4 + 1 = 45 — the 1 bits add up to 45.

In short: 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 → read bottom-up: 101101₂

Frequently asked questions

How do you write 45 in binary?

Divide 45 by 2 over and over, noting each remainder: 45 ÷ 2 = 22 r1, 22 ÷ 2 = 11 r0, 11 ÷ 2 = 5 r1, 5 ÷ 2 = 2 r1, 2 ÷ 2 = 1 r0, 1 ÷ 2 = 0 r1. Reading the remainders from last to first gives 101101, so 45₁₀ = 101101₂.

How long is 45 in binary?

45 in binary is 101101, which is 6 bits long. It ends in 1 because 45 is odd — the last bit of any binary number tells you odd (1) or even (0).

Keep converting

Popular values