Decimal to ternary (base 3)
Type a value in dec to get it in base 3 instantly.
100110base 3
That's about the same as a byte. That needs 8 bits to store.
Convert the other way: base 3 to dec
What it means
How big is that?
Whole numbers only. Anything after the decimal point is rounded away.
The math
How to convert dec to base 3
Base b: each digit is worth b times the one to its right. Gray code = n XOR (n ÷ 2); BCD writes each decimal digit as four bits.
Example: 255 dec = 100110 base 3.
Every unit
Your number in every base
Tables
dec to base 3 conversion table
| dec | base 3 |
|---|---|
| 1 dec | 1 base 3 |
| 2 dec | 2 base 3 |
| 4 dec | 11 base 3 |
| 8 dec | 22 base 3 |
| 10 dec | 101 base 3 |
| 15 dec | 120 base 3 |
| 16 dec | 121 base 3 |
| 31 dec | 1011 base 3 |
| 32 dec | 1012 base 3 |
| 64 dec | 2101 base 3 |
| 100 dec | 10201 base 3 |
| 128 dec | 11202 base 3 |
| 255 dec | 100110 base 3 |
| 256 dec | 100111 base 3 |
| 512 dec | 200222 base 3 |
| 1,000 dec | 1101001 base 3 |
| 1,024 dec | 1101221 base 3 |
base 3 to dec conversion table
| base 3 | dec |
|---|---|
| 1 base 3 | 1 dec |
| 2 base 3 | 2 dec |
| 11 base 3 | 4 dec |
| 22 base 3 | 8 dec |
| 101 base 3 | 10 dec |
| 120 base 3 | 15 dec |
| 121 base 3 | 16 dec |
| 1011 base 3 | 31 dec |
| 1012 base 3 | 32 dec |
| 2101 base 3 | 64 dec |
| 10201 base 3 | 100 dec |
| 11202 base 3 | 128 dec |
| 100110 base 3 | 255 dec |
| 100111 base 3 | 256 dec |
| 200222 base 3 | 512 dec |
| 1101001 base 3 | 1,000 dec |
| 1101221 base 3 | 1,024 dec |
Quick answers
Quick answers
- How many base 3 is 1 dec?
- 1 dec is 1 base 3.
- How many base 3 is 10 dec?
- 10 dec is 101 base 3.
- How many base 3 is 255 dec?
- 255 dec is 100110 base 3.
The units
About these units
Decimal (dec)
Base ten, the everyday counting system, using digits 0 to 9.
Ternary (base 3) (base 3)
Base three, digits 0, 1 and 2.
Keep going