15 in Binary
15 in binary is 1111. It takes 4 bits to write, and as a full byte it is 00001111.
How to convert 15 to binary
Divide by 2, write down the remainder, and repeat with the quotient until it reaches 0. The remainders, read from the last row up to the first, spell out 1111.
| Division | Quotient | Remainder |
|---|---|---|
| 15 ÷ 2 | 7 | 1 |
| 7 ÷ 2 | 3 | 1 |
| 3 ÷ 2 | 1 | 1 |
| 1 ÷ 2 | 0 | 1 |
Check it the other way
To verify, read 1111 left to right, giving each digit its place value and adding up the places that hold a 1.
| Bit | Place value | Contributes |
|---|---|---|
| 1 | 23 = 8 | 8 |
| 1 | 22 = 4 | 4 |
| 1 | 21 = 2 | 2 |
| 1 | 20 = 1 | 1 |
Adding the contributions: 8 + 4 + 2 + 1 = 15. The conversion checks out.
15 in every base
| Format | Value |
|---|---|
| Binary | 1111 |
| Decimal | 15 |
| Hexadecimal | F |
| Octal | 17 |
| As a byte (8-bit) | 00001111 |
Worth knowing about 15
Fifteen is the largest value a single hex digit can hold, F, and the largest four bits can hold, 1111, which is why the two systems pair so naturally.
Convert another number
- Binary
- Hex
- Octal
Nearby numbers
Or browse the full table at numbers in binary.
FAQ
What is 15 in binary?
15 in binary is 1111. Each digit's place is worth double the one to its right, starting from 1. Add up the places holding a 1 and you get 15 back. As a full 8-bit byte it is written 00001111, the same value padded with leading zeros.
How many bits does 15 need?
15 needs 4 bits in binary: 1111. A number needs one more bit each time it crosses a power of two, which is why the counts climb slowly. Stored in a computer it usually occupies a full 8-bit byte anyway, written 00001111 with zeros filling the front.
What is 15 in hex?
15 in hexadecimal is F. Hex is base 16, so every hex digit stands for exactly four binary digits, which makes it a compact way to write the same value. In octal, base 8, 15 becomes 17. All three are just different spellings of the number 15.