Your lab sheet asks for the decimal equivalent of a binary string, or a datasheet lists a register as 0x3A7 while your spreadsheet wants plain digits — radix conversion is a daily friction point, not a one-time homework trick. The number base converter on Itqan turns one integer into decimal, binary, octal, and hexadecimal at once, with per-card copy buttons, five quick-load presets, auto-convert after typing, and a ten-entry log stored in your browser. This guide is written only for that page: how each base behaves, four walkthroughs with real figures, a preflight checklist, two FAQs, and where your digits actually go.
What the number base converter does
Radix conversion re-labels the same whole number in a different digit alphabet. Decimal 181, binary 10110101, octal 265, and hex B5 all name one quantity. The Itqan page validates digits, parses the value, and renders all four representations in monospace cards with copy icons and an in-page guide modal.
This is not the scientific calculator (arithmetic expressions) nor the text encoder/decoder (Base64 / URL text) — here you translate integer representation only.
Radix reference — four bases in one view
| Name | Radix | Legal digits | Typical encounter |
|---|---|---|---|
| Binary | 2 | 0, 1 | Bit masks, logic diagrams, register dumps |
| Octal | 8 | 0–7 | Unix chmod, legacy minicomputer docs |
| Decimal | 10 | 0–9 (leading − for negatives) | Spreadsheets, sensor readings, everyday counts |
| Hexadecimal | 16 | 0–9, A–F (input case-insensitive) | CSS colours, memory addresses, firmware listings |
Hex output is always uppercase on Itqan (B5, not b5), matching common debugger and datasheet style. Decimal output uses locale-aware thousands separators in the UI (e.g. 6,719); the copy action returns the plain number without commas.
Where a base converter saves time
- Networking labs: Cross-check a subnet-mask octet between decimal and hex before router ACL work.
- Embedded coursework: Turn ADC hex dumps into decimal for voltage scaling on a 3.3 V reference.
- Front-end design: Split CSS hex into 0–255 channels for
rgba()or design tokens. - Digital logic & Linux: Verify exam conversions or read permission bits behind octal
chmod.
Four walkthroughs with real numbers
Walkthrough 1 — Digital logic exam: binary 10110101
Convert 10110101 to decimal. Open the number base converter, paste the string, set Binary (2), and convert. The decimal card shows 181 (128 + 32 + 16 + 4 + 1); octal 265; hex B5. Copy decimal into your answer sheet. The Binary example button loads 1010 (= 10) for a shorter warm-up.
Walkthrough 2 — Embedded lab: ADC register 0x3A7
A 12-bit ADC log shows 0x000003A7. Strip to 3A7, choose Hex (16), convert → decimal 935, binary 1110100111. On a 3.3 V reference, voltage ≈ 935 ÷ 4,095 × 3.3 = 0.753 V. Log 935 in your notebook.
Walkthrough 3 — Web token: CSS colour #1E90FF
Design token #1E90FF needs RGB decimals in Figma. With Hex (16) input, convert 1E → 30, 90 → 144, FF → 255 → rgb(30, 144, 255).
Walkthrough 4 — Sysadmin: chmod 644 on a deploy script
CI shows permissions 644. Enter as Octal (8) → decimal 420, binary 110100100. Triplets 110|100|100 = owner rw-, group r--, others r-- (rw-r--r--). Compare with Octal example 777 (decimal 511, full rwxrwxrwx).
Interface tour
The input field accepts digits (plus A–F for hex); the dropdown sets the source radix — all four outputs always appear together. Submit or pause typing for 500 ms to convert; changing the base recalculates instantly. Five quick-example buttons load 1010, 777, FF, 255, and 1024; Clear input empties the field. Copy icons flash green for one second on success. The question-mark button opens an in-page guide modal; a reference box below history summarises each base in plain language.
Conversion steps on Itqan
- Navigate to number base converter — no account, extension, or install.
- Type or paste the integer; strip
0x,0b, or#colour prefixes first. - Pick the input base that matches how the source material wrote the number.
- Press Convert or rely on auto-convert after you finish typing.
- Read all four cards; copy the representation your target tool expects.
- Scroll to History to revisit earlier values in the same session.
- On a shared machine, hit Clear history before you leave.
Reference table — five inputs worked out
| Input | Base | Decimal | Binary | Octal | Hex |
|---|---|---|---|---|---|
| 10110101 | Binary | 181 | 10110101 | 265 | B5 |
| 3A7 | Hex | 935 | 1110100111 | 1647 | 3A7 |
| 644 | Octal | 420 | 110100100 | 644 | 1A4 |
| 192 | Decimal | 192 | 11000000 | 300 | C0 |
| 1024 | Decimal | 1,024 | 10000000000 | 2000 | 400 |
The decimal 192 row is the last-octet value for a /26 subnet mask (255.255.255.192) — a figure networking students see repeatedly.
Browser history log
Every successful conversion prepends an entry to localStorage under numberConversionHistory. The panel renders the ten most recent rows with timestamp, original input (including base label), and all four outputs. Entries survive a page refresh on the same browser profile but never sync to Itqan servers. Use Clear history on library PCs, coworking desks, or exam halls. Treat the log as a scratch pad, not an archive — copy values you must keep before clearing.
Boundaries worth knowing
- Integers only — fractional values are not valid in binary, octal, or hex input.
- JavaScript safe integer ceiling — values beyond 9,007,199,254,740,991 (253−1) may lose precision; cryptographic-size integers need a big-integer library.
- Negatives — accepted when decimal is the input base; other bases expect unsigned digit strings.
- Not secrecy — turning
FFinto 255 reveals structure; it does not encrypt anything. For text transport encoding, use the text encoder/decoder. - Offline-capable after first load — conversion logic is bundled in the page; cached visits work without network access for the core feature.
Tripwires to avoid
Mismatched input base
1010 is 10 in binary but 1,010 in decimal. Always align the dropdown with the notation in your source.
Illegal digits
Binary rejects 2; octal rejects 8 and 9. The tool shows an alert when validation fails.
Hex confused with Base64
Hex FF is the integer 255. A Base64 chunk also named FF encodes different bytes — use the encoder/decoder for that job.
Colour channels vs full word
Converting 1E90FF as one hex integer yields a 24-bit value (1,994,495 decimal), not three separate RGB channels. Split into pairs when you need 0–255 per channel.
Preflight checklist
- Read the source notation:
0xprefix → hex,0b→ binary, leading zero in Unix man pages → often octal. - Remove decorative prefixes (
0x,#, underscores used as digit separators) before pasting. - Confirm the value is a whole integer, not a floating measurement like 3.14 V.
- For CSS colours, convert two hex digits per channel unless you deliberately need the packed 24-bit integer.
- On shared hardware, schedule a history clear after lab work that includes proprietary register maps.
- Sanity anchors: 8-bit max = 255 =
FF; bit 10 set = 1,024;/26last octet = 192 =C0.
Questions
Does the converter cost anything, and is it usable on a phone?
It is completely free with no registration. The layout stacks vertically on narrow screens — input, base selector, four result cards, quick examples, and history all remain reachable by scroll. Copy icons work on mobile browsers that support the clipboard API (current Chrome, Safari, Firefox, and Edge builds). Open number base converter and start converting immediately.
Are the numbers I type uploaded anywhere?
No. Parsing and radix math execute in your browser through JavaScript. History rows are written only to localStorage on your device. Site-wide cookies for analytics or advertising may still apply as described in our policies — see the privacy footprint section for links.
Parting notes
The Itqan number base converter answers one input with four synchronized representations — decimal, binary, octal, and hex — plus auto-convert, one-click copy, five quick presets, and a ten-row local log. Reach for it when you need to verify a logic-exam binary string, scale an ADC hex reading, unpack RGB channels from a CSS token, or decode an octal chmod value. Match the input base carefully, strip prefixes, run the preflight checklist, and clear history on shared machines. For arithmetic expressions, open the scientific calculator; for Base64 or URL text, use the text encoder/decoder.
Related tools
Privacy footprint
Radix conversion on this page is a local browser operation: digits you enter are parsed and transformed inside the active tab. Itqan’s servers are not in the loop for storing or recomputing those values.
- Conversion routines run on your hardware — there is no upload step for the integers you type.
- The rolling history lives in localStorage until you delete it or wipe site data for this origin.
- No sign-in is required, and the page does not browse files on your disk.
- How cookies are used across the site: Cookie Policy.
- Broader handling of personal data: Privacy Policy.
- Platform safeguards and security practices: Security.
On public terminals, do not leave exam keys, unreleased register maps, or client IP plans in the history panel — tap Clear history before you stand up. For everyday radix checks and coursework verification, open number base converter with confidence.
When homework asks for binary, octal, and hexadecimal side by side, convert from the decimal source once in the number converter, then spot-check each result by converting back. Label your notebook columns clearly so a hexadecimal string never lands in a binary-only answer box. For color values pulled from a mockup, cross-check with the color picker after you convert channel numbers.