Base Converter
Convert Base 10 to any other base between 1 & 75.
Supports fractions & decimals as well.
This script is written in Javascript, which only supports 32-bit floating point numbers. Therefore, the results may not always be entirely accurate.
Base 10 Input:
Example Input:
10
10.1
10 2/3
10.5
10.625
10 2/3
-10 7/8
13 3/11
42
60.1
-60.1
107374182.35
Pi
Output Base:
1 (Unary)
2 (Binary)
3 (Ternary)
4 (Quaternary)
5 (Quinary)
6 (Senary)
7 (Septenary)
8 (Octal)
9 (Nonary)
10 (Decimal)
11 (Undecimal)
12 (Duodecimal)
13 (Tridecimal)
14 (Tetradecimal)
15 (Pentadecimal)
16 (Hexadecimal)
17
18 (Octadecimal)
19
20 (Vigesimal)
21
22
23
24 (Quadrovigesimal)
25
26 (Hexavigesimal)
27 (Septemvigesimal)
28
29
30 (Trigesimal)
31
32 (Duotrigesimal)
33
34
35
36
37
38
39
40 (quadragesimal)
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60 (Sexagesimal)
61
62
63
64 (Quadrosexagesimal)
65
66
67
68
69
70 (Septagesimal)
71
72
73
74
75
Output:
Advanced Options
Base "Alphabet":
Numerals and Letters
RFC 4648 (Base 64)
RFC 4648 (Base 64 URL)
RFC 4648 (Base 32)
RFC 4648 (Base 32 Hex)
RFC 4648 (Base 16)
Unary (Base 1)
Persian (Base 10)
Chinese (Base 10)
Thai (Base 10)
Base "Alphabet":
Output Negative style:
-###.##
(###.##)
{###.##}
Output Decimal style:
None
Decimal
Fraction
Max Integer Length:
Max Decimal Length: