radixflip

What is 38 in binary?

38₁₀ converted to binary is 100110₂. 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.

38₁₀ = 100110₂

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 38 to binary, step by step

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

Number÷ 2QuotientRemainder
382190
19291
9241
4220
2210
1201

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

In short: 38 ÷ 2 = 19 r 0 → 19 ÷ 2 = 9 r 1 → 9 ÷ 2 = 4 r 1 → 4 ÷ 2 = 2 r 0 → 2 ÷ 2 = 1 r 0 → 1 ÷ 2 = 0 r 1 → read bottom-up: 100110₂

Frequently asked questions

How do you write 38 in binary?

Divide 38 by 2 over and over, noting each remainder: 38 ÷ 2 = 19 r0, 19 ÷ 2 = 9 r1, 9 ÷ 2 = 4 r1, 4 ÷ 2 = 2 r0, 2 ÷ 2 = 1 r0, 1 ÷ 2 = 0 r1. Reading the remainders from last to first gives 100110, so 38₁₀ = 100110₂.

How long is 38 in binary?

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

Keep converting

Popular values