Character to Decimal Converter
developer · number system
Convert Character to Decimal with a fixed input and output format, step-by-step formulas under the result, and reference tables. Parsing matches the main hub (0b, 0x, leading 0 for octal; one optional . for fractional digits on numeric bases; single character for character mode).
Calculator
From: Character
To: Decimal
Formulas
About Character
Character mode treats exactly one character as its Unicode (UTF-16 code unit) scalar value in the range 0–65535. There is no fractional part in this mode. Control and C1 characters are labeled by name in the output when relevant.
About Decimal
Decimal (base 10) uses digits 0–9; no prefix is required. A single . may separate the fractional part (10⁻¹, 10⁻², …). Values are parsed to a number and re-encoded into the target format; very long fractions are limited by floating-point precision.
How to convert character to decimal
Three steps: symbols → the right math move for this pair → worked examples you can copy on paper. Numeric bases (binary, octal, decimal, hex) also support one radix point and digits after it; character mode stays a single code unit.
Step 1 — Identify the symbols
Input (Character): Exactly one symbol; its numeric code is the value you convert.
Output (Decimal): Ordinary digits 0–9; each position is a power of ten.
- This tool uses the UTF-16 code unit (0–65535 for BMP).
Step 2 — Character → Decimal Code
Look up the numeric code for your character. That integer is the decimal value for the next step.
Step 3 — Worked examples
Two practice values in Character, converted to Decimal using the same rules as Step 2.
Example 1
‘A’ (Character) → Decimal.
Toward decimal
Character 'A'
→ code point (decimal) N₁₀ = 97Verify: A → 97
Example 2
‘*’ (Character) → Decimal.
Toward decimal
Character '*'
→ code point (decimal) N₁₀ = 42Verify: * → 42
Summary
To convert Character to Decimal, the tool first parses your input strictly as character, producing a decimal value. For binary, octal, decimal, and hex, you may include one radix point and fractional digits; character input remains a single code unit with no dot. That value is formatted as decimal using the same rules as the main Number System Converter (prefixes 0b, 0, 0x where applicable; character output uses symbolic names for common controls and requires a whole-number code point). Long fractional expansions are truncated to a fixed digit cap; ordinary floating-point rounding may appear in extreme cases.
Relationship context
Character input maps one code point to an integer, which is then shown in decimal. That integer is the numeric value the character occupies in UTF-16 (BMP code units 0–65535).
Conversion tables
| Character (input) | Decimal (output) |
|---|---|
| — | — |
| U+0030 (0) | 48 |
| U+0031 (1) | 49 |
| U+0041 (A) | 97 |
| U+0061 (a) | 97 |
| U+007E (~) | 126 |
| U+00FF (ÿ) | 255 |
| Character (input) | Decimal (output) |
|---|---|
| U+0100 (Ā) | 257 |
| U+0200 (Ȁ) | 513 |
| U+0400 (Ѐ) | 1104 |
| U+0800 (ࠀ) | 2048 |
| U+1000 (က) | 4096 |
| U+20AC (€) | 8364 |
| U+FFFF () | 65535 |
More number system pairs
Other fixed input/output converters use the same parsing rules as the hub. Open any pair for the same calculator layout and reference tables.
- bin to char (Binary to Character)Fixed input/output · same parsing as hub
- bin to dec (Binary to Decimal)Fixed input/output · same parsing as hub
- bin to hex (Binary to Hexadecimal)Fixed input/output · same parsing as hub
- bin to oct (Binary to Octal)Fixed input/output · same parsing as hub
- char to bin (Character to Binary)Fixed input/output · same parsing as hub
- char to hex (Character to Hexadecimal)Fixed input/output · same parsing as hub
- char to oct (Character to Octal)Fixed input/output · same parsing as hub
- dec to bin (Decimal to Binary)Fixed input/output · same parsing as hub
- dec to char (Decimal to Character)Fixed input/output · same parsing as hub
- dec to hex (Decimal to Hexadecimal)Fixed input/output · same parsing as hub
- dec to oct (Decimal to Octal)Fixed input/output · same parsing as hub
- hex to bin (Hexadecimal to Binary)Fixed input/output · same parsing as hub