Skip to main content

คณิตศาสตร์

Base Conversion Calculator

Number Base Converter

🌐

Detailed Guide Coming Soon

We're working on a comprehensive educational guide for the Base Conversion Calculator in your language. The content below is shown in English.

คืออะไร Base Conversion Calculator?

▾

A number base converter converts integers between any base from 2 to 36. Binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16) are the most used in computing.

PrimeCalcPro provides professional-grade tools trusted by businesses and academics.

สูตร

▾
f(x)Base n to decimal: Σ (digit × n^position); Decimal to base n: repeatedly divide by n, collect remainders

คำอธิบายตัวแปร

▾
สัญลักษณ์ชื่อหน่วยคำอธิบาย
nNumber base (2-36)——
dDigit value——
pDigit position (rightmost = 0)——

วิธี Base Conversion Calculator

▾
  1. 1To convert from base n to decimal: each digit × nᵖᵒˢⁱᵗⁱᵒⁿ, sum all
  2. 2Decimal to base n: repeatedly divide by n, collect remainders in reverse
  3. 3Digits above 9 use letters: A=10, B=11... Z=35
  4. 4Hex ↔ Binary: each hex digit = exactly 4 bits

ตัวอย่างที่มีคำตอบ

▾
ตัวอย่าง 1
กำหนดให้:Decimal 42 to binary
ผลลัพธ์:42÷2=21r0; 21÷2=10r1; 10÷2=5r0; 5÷2=2r1; 2÷2=1r0; 1÷2=0r1 → 101010

การประยุกต์ใช้จริง

▾
🏗️

Programming and computer architecture

🔬

Memory address display in debugging

📊

Color codes in web design (#FF00FF)

🏥

Understanding network subnetting

Common Base Conversions

▾
DecimalBinaryHexOctal
101010A12
16100001020
421010102A52
25511111111FF377

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

▾
Q

Why do we use bases other than 10?

A

Computers use binary (base 2) and hexadecimal (base 16) for efficiency. Octal (base 8) was historically used in early computing.

Q

What does hexadecimal stand for?

A

Hexadecimal means 16 (hex- = 6, -decimal = 10). It uses digits 0-9 and letters A-F.

Q

How do I convert hex to binary quickly?

A

Each hex digit equals exactly 4 binary bits. F = 1111, A = 1010, etc.

เอกสารอ้างอิง

Mathematically verified
Reviewed October 2026
Our methodology

รับเคล็ดลับคณิตศาสตร์รายสัปดาห์

เข้าร่วมกับสมาชิก 12,000+ รายที่ได้รับเคล็ดลับเครื่องคิดเลขทุกสัปดาห์

🔒
ฟรี 100%
ไม่ต้องสมัครสมาชิก
✓
แม่นยำ
สูตรที่ยืนยันแล้ว
⚡
ทันที
ผลลัพธ์ขณะพิมพ์
📱
รองรับมือถือ
ทุกอุปกรณ์

การตั้งค่า