संख्या आधार परिवर्तक: बाइनरी, ऑक्टल, दशमलव और हेक्स

यह परिवर्तक किसी पूर्ण संख्या को एक आधार से दूसरे में बदलता है — बाइनरी, ऑक्टल, दशमलव, हेक्साडेसिमल या 2 से 36 तक कोई भी आधार। यह स्थानीय मान और बार-बार भाग से गणना दिखाता है और वापस बदलकर उत्तर जाँचता है।

केवल पूर्ण संख्याएँ। अक्षर A–Z अंक 10 से 35 हैं।

नतीजा

मान डालें और नतीजा देखने के लिए “गणना करें” दबाएँ।

सूत्र

(dk…d1d0)b=dkbk+⋯+d1b+d0(d_k \ldots d_1 d_0)_b = d_k b^k + \cdots + d_1 b + d_0

Each digit is multiplied by the base raised to the power of its position, starting at 0 on the right.

n÷b=q remainder rn \div b = q \text{ remainder } r

To convert from decimal, divide by the new base again and again; the remainders, read from last to first, are the digits.

यह कैलकुलेटर कैसे इस्तेमाल करें

  1. Type the number. For hexadecimal, use the letters A–F (upper or lower case).
  2. Choose the base it is written in and the base you want.
  3. 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.