Binærkalkulator for å konvertere binær til desimal og desimal til binær. Praktisk for programmering, digital elektronikk, rask kontroll av binære tall og visning av tilsvarende heksadesimal verdi.
This binary converter instantly switches a whole number between decimal, binary, octal, and hexadecimal.
How to convert a number in 3 steps:
- Enter your number into any one of the four fields (decimal, binary, octal, or hex).
- The other three number systems update automatically.
- Copy the result you need with the copy button next to each field.
This page is useful for decimal to binary, binary to decimal, binary to hex, hex to binary, and quick base conversion in programming, electronics, networking, and study.
Indata
Skriv inn en verdi i et valgfritt felt; de andre basene oppdateres automatisk.
Relaterte kalkulatorer
Tallsystemer
Andre konvertere
Eksempel på konvertering
\begin{align}
110_{2} &= 1\times2^{2}+1\times2^{1}+0\times2^{0}=6_{10} \\
\\
6_{10} &= 110_{2}:\\
\end{align}
6 / 2 = 3, resterende 0, (LSB - Least Significant Bit)
3 / 2 = 1, resterende 1
1 / 2 = 0, resterende 1, (MSB - Most Significant Bit)
3 / 2 = 1, resterende 1
1 / 2 = 0, resterende 1, (MSB - Most Significant Bit)
Binær referansetabell
| Desimaltall (positivt) | Binært tall |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 2 | 10 |
| 3 | 11 |
| 4 | 100 |
| 5 | 101 |
| 6 | 110 |
| 7 | 111 |
| 8 | 1000 |
| 9 | 1001 |
| 10 | 1010 |
| Desimaltall (positivt) | Binært tall |
|---|---|
| 11 | 1011 |
| 12 | 1100 |
| 13 | 1101 |
| 14 | 1110 |
| 15 | 1111 |
| 16 | 10000 |
| 32 | 100000 |
| 64 | 1000000 |
| 128 | 10000000 |
| 256 | 100000000 |