بائنری / ہیکس / اعشاری تبدیل
بائنري ، آکسٹل ، عشاري اور هيکسا عي سي ميں نمبر بدليں ، بر ے ڈنگ ٹیبل کے ساتھ
آپ کے تاليف کے مطابق نتائج اپڈیٹ کریں.
اس کیلکولیٹر کے بارے میں
A binary, hex and decimal converter shows the same whole number across number bases. Computers ultimately work in binary (base 2), but programmers routinely switch between bases to make values readable: decimal (base 10) for everyday quantities, hexadecimal (base 16) for byte values and memory addresses, and octal (base 8) for things like Unix file permissions. This converter takes a whole number in any of those four bases and shows it in all four at once, along with its bit length. The digits allowed in each base go up to one less than the base — binary uses 0–1, octal 0–7, decimal 0–9 and hex 0–9 then A–F for 10–15 — and the tool rejects digits that are out of range for the base you pick.
As a worked example, the decimal value 255 is FF in hexadecimal, 377 in octal and 11111111 in binary — eight bits all set, i.e. exactly one byte at its maximum. To convert decimal to hex by hand you repeatedly divide by 16 and read the remainders from last to first; the calculator does it instantly and also accepts input prefixed with 0x (hex), 0b (binary) or 0o (octal) and handles negative numbers.
The reason hexadecimal is so common in computing is that each hex digit maps to exactly four binary bits (a nibble), so two hex digits describe one byte with no ambiguity — which is why colour codes like #FF8800, MAC addresses and memory dumps are written in hex. This tool is handy for bit masks, colour values, debugging register contents and any low-level work where you need to see the same number across bases.
بار بار پوچھے گئے سوالات
میں عشاری کو هکسا عيسی میں کیسے تبدیل کر سکتا ہوں؟
Repeatedly divide by 16 and read the remainders from last to first, using A–F for 10–15. Decimal 255 is FF in hex and 11111111 in binary.
هيکسا عشاري کيا ں کمپیوٹنگ ميں استعمال کيا جاتا هے؟
ہر هيکس رقم دقيقاً چار بائنري بٹس ميپ کر تا هے هکس با ئےٹ قيمتوں اور ميمري ايڈرز کو لکھنے کا ایک کمپیکٹ ،پڑھنے والا طريقہ هے -0xFF تمام کا يه با ئےٹ هے
ميں نمبرات 0x, 0b يا 0o کے ساتھ داخل کر سکتا هيں؟
ہاں ، 0x (hex) ، 0b (binary) يا 0o (octal) پريفکس خودکار طور پر ختم کر ديے جا تے هيں ، اس ليے آپ کوڈ سے قيمتوں کو براہ راست چپکا سکتے هيں صرف اس کا يقين کريں کہ آپ نے جو ان پٹ بيز منتخب کريں هيں وه آپ کے داخل کر نے والے ارقام سے ميچتا هے
¾ث¾ئ´آ °إءز ¾ث¾ئ؟ ن
It is how many binary digits the value needs. Decimal 255 is 8 bits (one byte); 256 needs 9 bits. Bit length is useful for choosing data types and checking whether a value fits in a byte, 16-bit word or 32-bit register.
آکٹل کے ليے کیا استعمال کيا جاتا هے؟
آکسل گروپ بتس کو تري میں اور خاص طور پر UNIX فائ لز پرائز (مثلاً 755 يا 644) اور بعض ليجسٹي سسٹم ميں دکھاتا هے ہر آکسل رقم دقيقاً تري با ئنري بيٹس ميں ميپ کر تا هے ، جس طرح ہر هيکس رقم چار ميں ميپ کر تا هے
میں نے کیوں "اس بنیاد کے لئے نامعقول نمبر" حاصل کیا؟
آپ نے جو رقم داخل کي هيں وه منتخب کريں بيس ميں قبول نه هيں مثال طور پر حرف F يا دو ائي نمبر ميں رقم 8 جو صرف 0 اور 1 کو قبول کر تا هے آپ کے قيمت سے ميچنے کے ليے ان پٹ بيس تبديل کريں يا رينج کے باہر رقم کو درست کريں
API - کوڈ سے اس کیلکولیٹر کا استعمال کریں
اس کلکٹر کو مفت JSON انتہا پوائنٹ کے طور پر بلايں - کوئی کي ضرورت نهيں هيں زير فائل کي قيمتوں کو سوالي پارا ميٽرز يا JSON کے طور پر بھیجيں جو کچھ آپ چھوڑتے ہیں وہ وہی دیفالٹ استعمال کرتا ہے جس سے یہ صفحہ پہلے سے بھرا گیا ہے؛ ایک نامعلوم پیرامیٹر 400 ہے، کبھی بھی خاموش صفر نہیں ہوتا. پورے API دوکومنٹ پڑھیں →
آخر
GET https://calculator.free/api/v1/binary-hex/
curl
curl "https://calculator.free/api/v1/binary-hex/?value=255&base=10"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/binary-hex/?" + new URLSearchParams({
"value": "255",
"base": "10"
}));
const data = await r.json();
console.log(data.results);
نتائج صرف عام رہنمائی کے لئے اندازے ہیں، نہ مالی، طبی یا ٹیکس مشورے.