ตัวแปลงเลขฐาน

แปลงตัวเลขระหว่างเลขฐานสอง ฐานแปด ฐานสิบ และฐานสิบหก

ทำงานในเบราว์เซอร์ของคุณ ไฟล์ไม่ออกจากอุปกรณ์ ดูวิธีตรวจสอบ

…

วิธีทำ

  1. 1
    กรอกช่อง

    พิมพ์ตัวเลขของคุณหรือเลือกตัวเลือกที่ต้องการ

  2. 2
    ดูผลลัพธ์

    คำตอบอัปเดตทันทีเมื่อคุณเปลี่ยนค่า

  3. 3
    นำไปใช้

    คัดลอกผลลัพธ์หรือจดไว้ ไม่มีอะไรถูกส่งไปที่ใด

About this tool

Type a number and choose the base it is written in. You get the same number in binary, octal, decimal, hexadecimal, base 32 and base 36. Large numbers are handled exactly. Handy for computing, networking and electronics.

When to use it

Convert numbers between binary, octal, decimal and hexadecimal.

Tips

Use prefixes 0b, 0o and 0x in code.

Privacy

Everything runs in your browser, so your data is not uploaded or stored.

ตัวอย่างพร้อมวิธีทำ

With the boxes at their starting values (Number: 255; Written in base: Decimal (10)), the tool shows: Binary: 11111111; Octal: 377; Hexadecimal: FF; Base 32: 7V; Base 36: 73; Decimal: 255. Change any box to see your own numbers. The result updates as you type, and nothing leaves your browser.

เคล็ดลับเพื่อผลลัพธ์ที่ดีที่สุด

ตรวจสอบทุกช่องก่อนเชื่อผลลัพธ์ เพราะตัวเลขที่ผิดเพียงตัวเดียวทำให้คำตอบเปลี่ยนไปทั้งหมด ใช้ตัวเลขที่ตรงจากสลิปเงินเดือน ใบแจ้งหนี้ ใบรับรอง หรือสัญญา และจดวันที่ที่คุณคำนวณไว้ อัตรา เกณฑ์ และกฎเปลี่ยนแปลงเป็นครั้งคราว ดังนั้นสำหรับภาษี ค่าธรรมเนียม และเรื่องกฎหมาย ให้ถือผลลัพธ์เป็นค่าประมาณและตรวจสอบกับแหล่งข้อมูลทางการที่ระบุในหน้านี้ คุณลองได้กี่สถานการณ์ก็ได้ ไม่มีอะไรถูกบันทึกหรือส่ง การรีเฟรชหน้าจะล้างช่องกรอก

สรุปสั้น ๆ

ฝังเครื่องคิดเลขนี้ในเว็บไซต์ของคุณ

คัดลอกโค้ดนี้เพื่อแสดงเครื่องคิดเลขบนหน้าของคุณ มีลิงก์กลับไปยัง shobfree.com

คำถามที่พบบ่อย

Which digits are allowed?

Binary uses 0 and 1. Octal 0 to 7. Hexadecimal 0 to 9 and A to F.

Does it handle negative numbers?

Yes. Put a minus sign in front.

What is hex?

Base 16, using 0 to 9 and A to F.

How do I convert binary?

Each digit is a power of two.

ฟรีทั้งหมดไม่มีค่าใช้จ่าย ไม่ต้องสมัคร
ไฟล์เป็นส่วนตัวทุกอย่างทำงานในเบราว์เซอร์ของคุณ
ใช้ง่ายในภาษาของคุณมีหลายภาษา