진법 변환기: 2진수, 8진수, 10진수, 16진수
이 변환기는 정수를 한 진법에서 다른 진법으로 바꿉니다(2진수, 8진수, 10진수, 16진수 또는 2부터 36까지의 어떤 진법이든). 자릿값과 반복 나눗셈으로 계산을 보여 주고 다시 변환해서 답을 확인합니다.
결과
값을 입력하고 계산을 누르면 결과가 표시됩니다.
공식
Each digit is multiplied by the base raised to the power of its position, starting at 0 on the right.
To convert from decimal, divide by the new base again and again; the remainders, read from last to first, are the digits.
이 계산기 사용법
- Type the number. For hexadecimal, use the letters A–F (upper or lower case).
- Choose the base it is written in and the base you want.
- Press Calculate to see the converted number, its decimal value and the working.
풀이 예제
255 in binary
Divide by 2 repeatedly: every remainder is 1, eight times.
Reading the remainders from bottom to top gives 11111111.
Binary 1011 to decimal
1 × 8 + 0 × 4 + 1 × 2 + 1 × 1 = 11.
255 in hexadecimal
255 ÷ 16 = 15 remainder 15, and 15 ÷ 16 = 0 remainder 15.
15 is the digit F, so 255 = FF.
Hexadecimal 1A3 to binary
1A3 = 1 × 256 + 10 × 16 + 3 = 419.
419 in binary is 110100011.
자주 하는 실수
- Reading the remainders from top to bottom; the first remainder is the last (rightmost) digit.
- Starting the place values at 1 instead of 0: the rightmost digit is multiplied by b⁰ = 1.
- Using digits that do not exist in the base, such as 2 in binary or G in hexadecimal.
자주 묻는 질문
How do you convert decimal to binary?
Divide by 2 and write down the remainder; repeat with the quotient until it is 0. Read the remainders from the last to the first. 13 → 1101.
How do you convert binary to decimal?
Multiply each digit by its place value (1, 2, 4, 8, … from the right) and add: 1011 = 8 + 0 + 2 + 1 = 11.
What are the letters in hexadecimal?
Hexadecimal needs 16 digits, so A–F stand for 10–15. FF = 15 × 16 + 15 = 255.